![]() |
MAK RTIspy API Documentation for HLA Evolved
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2008 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: notifyDialog.h,v $ $Revision: 1.3 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00009 #ifndef notifyDialog_H_ 00010 #define notifyDialog_H_ 00011 00014 00015 #include "rtiMsConfig.h" 00016 #include "ui_notifyDialogUI.h" 00017 #include <qdialog.h> 00018 00019 class QSystemTrayIcon; 00020 00029 class DT_DLL_ASSISTANTAPP DtAssistantNotifyDialog : public QDialog 00030 { 00031 Q_OBJECT 00032 00033 public: 00034 00036 DtAssistantNotifyDialog( QWidget* parent, const QSystemTrayIcon* trayIcon ); 00037 00039 virtual ~DtAssistantNotifyDialog(); 00040 00043 virtual void showNotification( const QString& notification, QColor color ); 00044 00045 public slots: 00046 00049 virtual void fadeDialog(); 00050 00052 virtual void hideDialog(); 00053 00054 signals: 00055 00058 virtual void showHistorySelected(); 00059 00062 virtual void faded(); 00063 00066 virtual void dismissed(); 00067 00068 protected: 00069 00071 virtual void positionDialog(); 00072 00073 protected: 00074 00076 Ui::AssistantNotifyDialog myUiImpl; 00077 00079 QTimer* myTimer; 00080 00083 const QSystemTrayIcon* myTrayIcon; 00084 00086 QSize myOriginalSize; 00087 }; 00088 00089 #endif