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

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)