![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: tmOutputAreaWidget.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00009 #ifndef tmOutputAreaWidget_H_ 00010 #define tmOutputAreaWidget_H_ 00011 00014 00016 00017 #include "tmqt/ui_tmOutputAreaWidgetUi.h" 00018 #include "tmqt/baseWindow.h" 00019 00021 class DtOutputAreaWidget: public QWidget 00022 { 00023 Q_OBJECT 00024 00025 public: 00026 00027 DtOutputAreaWidget(QWidget* parent = NULL, const Qt::WindowFlags& flags = 0); 00028 00029 virtual ~DtOutputAreaWidget(); 00030 00031 static DtOutputAreaWidget* create(QWidget* parent = NULL, 00032 const Qt::WindowFlags& flags = 0); 00033 00035 virtual bool init(DtBaseWindow* owner); 00036 00037 virtual bool message(const QString& msg); 00038 00041 void setProcessEvents(bool); 00042 bool processEvents() const; 00043 00044 public: 00045 Ui::outputAreaUi myUiImpl; 00046 bool myProcessEvents; 00047 }; 00048 00049 inline void DtOutputAreaWidget::setProcessEvents(bool b) 00050 { 00051 myProcessEvents = b; 00052 } 00053 00054 inline bool DtOutputAreaWidget::processEvents() const 00055 { 00056 return myProcessEvents; 00057 } 00058 00059 00060 #endif 00061