![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtDisplayConfigEditorInterface.h,v $ $Revision: 1.17 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtDisplayConfigEditorInterface_H_ 00014 #define DtDisplayConfigEditorInterface_H_ 00015 00016 #include <vrvCoreQt/vrvCoreQt.h> 00017 00018 class QPoint; 00019 class QModelIndex; 00020 class QAbstractItemModel; 00021 00022 namespace makVrv 00023 { 00024 00025 class DtDisplayConfiguration; 00026 class DtWindowConfiguration; 00027 class DtChannelConfiguration; 00028 00031 class DT_DLL_VRVCOREQT DtDisplayConfigEditorInterface 00032 { 00033 00034 public : 00035 00036 enum DisplayItemFlags 00037 { 00038 NoFlags = 0x00, 00039 ConnectDisplayEngine = 0x01, 00040 DisconnectDisplayEngine = 0x02, 00041 AddWindow = 0x04, 00042 RemoveWindow = 0x08, 00043 AddChannel = 0x10, 00044 RemoveChannel = 0x20, 00045 LoadDisplayConfig = 0x40, 00046 SaveDisplayConfig = 0x80, 00047 }; 00048 00050 virtual void setItemModel(QAbstractItemModel* ) = 0; 00051 00053 virtual void populatePropertySheet( const DtDisplayConfiguration& dec ) = 0; 00054 00056 virtual void populatePropertySheet( const DtWindowConfiguration& dec ) = 0; 00057 00059 virtual void populatePropertySheet( const DtChannelConfiguration& dec ) = 0; 00060 00062 virtual void clearPropertySheet() = 0; 00063 00065 virtual void displayTreePopupMenu(int itemFlags, const QPoint& pos) = 0; 00066 00068 virtual void enableTheseButtons(int itemFlags) = 0; 00069 00071 virtual void expandSubTree(QModelIndex index) = 0; 00072 00074 virtual QModelIndex selectedModelIndex() = 0; 00075 00077 virtual void observerCreateRequestComplete( const std::string& observerName ) = 0; 00078 00080 virtual void observerCreateRequestFailed( const std::string& observerName ) = 0; 00081 00082 }; 00083 } 00084 00085 #endif 00086