![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtGlobalPlansDialogInterface.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00013 00014 #pragma once 00015 00016 #include <vrvUtil/signalslib.h> 00017 #include <vrfGuiCoreQt/vrfGuiCoreQt.h> 00018 00019 #include <vector> 00020 #include <vlutil/vlString.h> 00021 00022 class QWidget; 00023 class QString; 00024 00025 namespace makVrf 00026 { 00027 class DT_DLL_VRFGUICOREQT DtGlobalPlansDialogInterface 00028 { 00029 public: 00030 //DTOR 00031 virtual ~DtGlobalPlansDialogInterface(); 00032 00034 virtual QWidget* widget() = 0; 00035 00036 virtual bool itemSelected() const = 0; 00037 00038 virtual void setEditPlanEnabled(bool) = 0; 00039 virtual void setDeletePlanEnabled(bool) = 0; 00040 00041 virtual void clearGlobalPlansList() = 0; 00042 virtual void addGlobalPlan(const QString& planName, const QString& simulationAddress) = 0; 00043 00044 virtual void removeGlobalPlansForBackend(const QString&) = 0; 00045 00048 virtual void removePlansFromBackendNotInList(const std::vector<DtString>&, const QString& addr) = 0; 00049 00050 virtual bool getSelectedGlobalPlan(QString& plan, QString& simulationAddress) const = 0; 00051 00052 virtual bool hasPlanNamed(const QString&) const = 0; 00053 }; 00054 }