VR-Forces 4.0.4 Class Documentation
include/bhave3DGui/bhaveTaskWanderDialog.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: bhaveTaskWanderDialog.h,v $ $Revision: 1.2 $ $State: Exp $
00007 ******************************************************************************/
00008 
00011 
00012 #ifndef bhaveTaskWanderDialog_H_
00013 #define bhaveTaskWanderDialog_H_
00014 
00015 
00016 #include <bhave3DGui/bhave3DGuiDefines.h>
00017 #include "bhave3DGui/bhaveTaskWanderDialogInterface.h"
00018 #include <QtGui/QValidator>
00019 #include "bhave3DGui/ui_bhaveWanderWidgetUi.h"
00020 
00021 class DtBaseFilteredListViewTaskSetDialog;
00022 
00023 namespace BHAVE
00024 {
00025    namespace BHAVE3DGui
00026    {
00030       class DT_DLL_bhave3DGui DtBhaveTaskWanderDialog : public DtBhaveTaskWanderDialogInterface
00031       {
00032          Q_OBJECT
00033 
00034       public:
00035 
00037          DtBhaveTaskWanderDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
00038 
00040          virtual ~DtBhaveTaskWanderDialog();
00041 
00046          virtual bool isWanderTimed(int& hours, int& mins, int& secs) const;
00047 
00049          virtual void setWanderTimed(bool flag, int hours=0, int mins=0, int secs=0);
00050 
00054          virtual bool isWanderRestricted(QString& areaName) const ;
00055 
00057          virtual QString wanderAreaName() const ;
00058 
00060          virtual void setWanderRestricted(const QString& areaName);
00061 
00063          virtual void sendRequest();
00064 
00066          virtual void setupStatement(const DtSimStatement* stmt);
00067 
00069          virtual void slot_onNameChanged(const QString& s);
00070 
00071       protected:
00072 
00074          virtual void initializeSelectionFilters();
00075 
00076       protected:
00077 
00079          virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
00080 
00081       protected:
00082 
00083          Ui_DtBhaveWanderWidgetUi myUiImpl;
00084 
00085       };
00086 
00087 
00090       class DT_DLL_bhave3DGui DtBhaveTaskWanderDialogCreator : public makVrf::DtVrfTaskSetDialogCreator
00091       {
00092       public:
00093 
00094          virtual makVrf::DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
00095 
00096          virtual bool supportsType(int, const DtSimStatement*) const;
00097       };
00098    }
00099 }
00100 
00101 #endif
00102 

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)