VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtTaskMoveToDialog.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtTaskMoveToDialog.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 QRadioButton;
00020 class QGroupBox;
00021 class QHBoxLayout;
00022 
00023 namespace makVrf
00024 {
00025    class DT_DLL_VRFGUICOREQT DtTaskMoveToDialog : public DtBaseFilteredListViewTaskSetDialog
00026    {
00027       Q_OBJECT
00028 
00029    public:
00030       //CTOR
00031       DtTaskMoveToDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
00032 
00033       //DTOR
00034       virtual ~DtTaskMoveToDialog();
00035 
00037       virtual void setPathPlanEnabled(bool);
00038 
00040       virtual void setPlanPath(bool b);
00041 
00043       virtual bool planPath() const;
00044 
00046       virtual void setPlanPathLabel(const QString& label);
00047 
00048    protected:
00049       virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
00050 
00051       virtual void sendRequest();
00052 
00053    protected:
00054       virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
00055 
00056    protected:
00057       virtual void setupStatement(const DtSimStatement*);
00058       virtual void initializeSelectionFilters();
00059 
00060    public:
00061       QGroupBox*     myMovementBox;
00062       QHBoxLayout*   myMovementLayout;
00063       QRadioButton*  myPlanPathMoveButton;
00064       QRadioButton*  myDirectMoveButton;
00065    };
00066 
00067    class DT_DLL_VRFGUICOREQT DtTaskMoveToDialogCreator : public DtVrfTaskSetDialogCreator
00068    {
00069    public:
00070       virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
00071       bool supportsType(int, const DtSimStatement*) const;
00072    };
00073 }

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)