VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtSetSectorOfResponsibilityDialog.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtSetSectorOfResponsibilityDialog.h,v $ $Revision: 1.2 $ $State: Exp $
00007 ******************************************************************************/
00008 
00011 
00013 
00014 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00015 #include <vrfGuiCoreQt/DtBaseTaskSetDialogInterface.h>
00016 
00017 class QLabel;
00018 class QHBoxLayout;
00019 class QLineEdit;
00020 class QDoubleValidator;
00021 
00022 namespace makVrf
00023 {
00024    class DT_DLL_VRFGUICOREQT DtSetSectorOfResponsibilityDialog : public DtBaseTaskSetDialogInterface
00025    {
00026       Q_OBJECT
00027    public:
00028       //CTOR
00029       DtSetSectorOfResponsibilityDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
00030 
00031       //DTOR
00032       virtual ~DtSetSectorOfResponsibilityDialog();
00033 
00035       virtual double center() const;
00036 
00038       virtual void setCenter(double);
00039 
00041       virtual double size() const;
00042 
00044       virtual void setSize(double);
00045 
00046    protected:
00047       virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
00048 
00049       virtual void sendRequest();
00050 
00051    protected:
00052       virtual void setupStatement(const DtSimStatement*);
00053 
00054    public:
00055       QWidget*       myCanvas;
00056       QVBoxLayout*   myContentLayout;
00057       QLineEdit*     myCenter;
00058       QLabel*        myCenterLabel;
00059       QLineEdit*     mySize;
00060       QLabel*        mySizeLabel;
00061       QDoubleValidator* myValidator;
00062    };
00063 
00064    class DT_DLL_VRFGUICOREQT DtSetSectorOfResponsibilityDialogCreator : public DtVrfTaskSetDialogCreator
00065    {
00066    public:
00067       virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
00068       bool supportsType(int, const DtSimStatement*) const;
00069    };
00070 }

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)