![]() |
MAK RTIspy API Documentation for HLA 1516
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2009 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: execConsoleWidget.h,v $ $Revision: 1.4 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00009 #ifndef execConsoleWidget_H_ 00010 #define execConsoleWidget_H_ 00011 00014 00015 #include "rtiMsConfig.h" 00016 #include "consoleWidget.h" 00017 00018 class QLabel; 00019 00025 class DT_DLL_ASSISTANTAPP DtExecConsoleWidget : public DtConsoleWidget 00026 { 00027 Q_OBJECT 00028 00029 public: 00030 00032 DtExecConsoleWidget( QWidget* parent = 0, Qt::WindowFlags f = 0 ); 00033 00035 virtual ~DtExecConsoleWidget(); 00036 00039 virtual void writeText( const QString& st, QColor color = Qt::black ); 00040 00042 virtual void clear(); 00043 00045 virtual unsigned textSize() const; 00046 00048 virtual void setNotifyLevel( MAKRti::DtNotifyLevelType notifyLevel ); 00049 00051 virtual void clearNotifyLevel(); 00052 00053 private: 00054 00056 DtExecConsoleWidget( DtExecConsoleWidget const&); 00057 00059 DtExecConsoleWidget& operator=(DtExecConsoleWidget const&); 00060 00061 signals: 00062 00064 void loadLog(); 00065 00066 protected: 00067 00070 QAction* myLoadAction; 00071 00073 QLabel* myNotifyLevelHeaderLabel; 00074 00076 QLabel* myNotifyLevelLabel; 00077 00079 unsigned myTextSize; 00080 00081 }; 00082 00083 #endif