VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtTaskFFLDialog.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtTaskFFLDialog.h,v $ $Revision: 1.2 $ $State: Exp $
00007 ******************************************************************************/
00008 
00011 
00013 
00014 #pragma once
00015 
00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00017 #include <vrfGuiCoreQt/DtBaseTaskSetDialogInterface.h>
00018 
00019 #include <matrix/vlVector.h>
00020 
00021 class QLabel;
00022 class QHBoxLayout;
00023 class QLineEdit;
00024 class QIntValidator;
00025 class QDoubleValidator;
00026 class QGridLayout;
00027 class QGroupBox;
00028 
00029 namespace makVrf
00030 {
00031    class DtLocationEntryWidget;
00032 
00033    class DT_DLL_VRFGUICOREQT DtTaskFFLDialog : public DtBaseTaskSetDialogInterface
00034    {
00035       Q_OBJECT
00036    public:
00037       //CTOR
00038       DtTaskFFLDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
00039 
00040       //DTOR
00041       virtual ~DtTaskFFLDialog();
00042 
00044       virtual DtVector location() const;
00045 
00047       virtual void setLocation(DtVector);
00048 
00049       virtual int numberOfRounds() const;
00050       virtual void setNumberOfRounds(int);
00051 
00053       virtual double heightAboveTerrain() const;
00054 
00056       virtual void setHeightAboveTerrain(double);
00057 
00058    protected:
00059       virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
00060 
00061       virtual void setupStatement(const DtSimStatement* stmt);
00062 
00063    protected:
00064       virtual void sendRequest();
00065 
00066    public:
00067       QWidget*       myCanvas;
00068       QVBoxLayout*   myContentLayout;
00069       DtLocationEntryWidget*  myLocation;
00070 
00071       QGridLayout*   myGridLayout;
00072 
00073       QLabel*        myRoundsLabel;
00074       QLineEdit*     myRounds;
00075       QIntValidator* myRoundsValidator;
00076 
00077       QLabel*        myHeightLabel;
00078       QLineEdit*     myHeight;
00079       QDoubleValidator  *myHeightValidator;
00080    };
00081 
00082    class DT_DLL_VRFGUICOREQT DtTaskFFLDialogCreator : public DtVrfTaskSetDialogCreator
00083    {
00084    public:
00085       virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
00086       virtual bool supportsType(int, const DtSimStatement*) const;
00087    };
00088 }

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)