VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtTaskWaitDurationDialog.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtTaskWaitDurationDialog.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 class QGridLayout;
00020 class QSpinBox;
00021 class QLabel;
00022 class QVBoxLayout;
00023 
00024 namespace makVrf
00025 {
00026    class DT_DLL_VRFGUICOREQT DtTaskWaitDurationDialog : public DtBaseTaskSetDialogInterface
00027    {
00028       Q_OBJECT
00029    public:
00030       //CTOR
00031       DtTaskWaitDurationDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
00032 
00033       //DTOR
00034       virtual ~DtTaskWaitDurationDialog();
00035 
00037       virtual double time() const;
00038 
00040       virtual void setTime(double);
00041 
00042    protected:
00043       virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
00044 
00045       virtual void setupStatement(const DtSimStatement* stmt);
00046 
00047    protected:
00048       virtual void sendRequest();
00049 
00050    public:
00051       QWidget*       myCanvas;
00052       QVBoxLayout*   myMainLayout;
00053       QGridLayout*   myGridLayout;
00054       QSpinBox*      mySecondsSpinBox;
00055       QSpinBox*      myHoursSpinBox;
00056       QLabel*        myMinutesLabel;
00057       QSpinBox*      myMinutesSpinBox;
00058       QLabel*        myHoursLabel;
00059       QLabel*        mySecondsLabel;
00060    };
00061 
00062    class DT_DLL_VRFGUICOREQT DtTaskWaitDurationDialogCreator : public DtVrfTaskSetDialogCreator
00063    {
00064    public:
00065       virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
00066       virtual bool supportsType(int, const DtSimStatement*) const;
00067    };
00068 }

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)