![]() |
MAK RTIspy API Documentation for HLA 1.3
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2008 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: popupDialog.h,v $ $Revision: 1.8 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00009 #ifndef popupDialog_H_ 00010 #define popupDialog_H_ 00011 00014 00015 #include "rtiMsConfig.h" 00016 #include "ui_popupDialogUI.h" 00017 #include <qdialog.h> 00018 00019 class QSystemTrayIcon; 00020 00026 class DT_DLL_ASSISTANTAPP DtAssistantPopupDialog : public QDialog 00027 { 00028 Q_OBJECT 00029 00030 public: 00031 00033 DtAssistantPopupDialog( QWidget* parent = 0, Qt::WindowFlags f=0 ); 00034 00036 virtual ~DtAssistantPopupDialog(); 00037 00039 virtual void setNotification( const QString& notification, 00040 const QString& advancedInfo, const QString& component ); 00041 00042 public slots: 00044 virtual void processFinish( int result ); 00045 00047 virtual void toggleShowAdvancedInfo(); 00048 00049 00050 protected: 00051 00053 Ui::AssistantPopupDialog myUiImpl; 00054 00057 const QSystemTrayIcon* myTrayIcon; 00058 00060 QSize myOriginalSize; 00061 00063 QSize myNoAdvancedSize; 00064 00065 bool myAdvancedGroupBoxShown; 00066 00067 00068 }; 00069 00070 #endif