![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Provides the GUI for a console which displays the contents of an rtiexec log. More...
Inheritance diagram for DtExecConsoleWidget:
Collaboration diagram for DtExecConsoleWidget:Signals | |
| void | loadLog () |
| Emitted when the user requests a load of the full log. More... | |
Signals inherited from DtConsoleWidget | |
| void | notifyLevelUpdated (MAKRti::DtNotifyLevelType notifyLevel) |
| Signals that the notify level has been updated by the user. More... | |
Public Member Functions | |
| DtExecConsoleWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. More... | |
| virtual | ~DtExecConsoleWidget () |
| Destructor. More... | |
| virtual void | writeText (const QString &st, QColor color=Qt::black) |
| Writes the text to the display in the specified color. More... | |
| virtual void | clear () |
| Clears all of the text from the display. More... | |
| virtual unsigned | textSize () const |
| Gets the size of the text which has been written to this console. More... | |
| virtual void | setNotifyLevel (MAKRti::DtNotifyLevelType notifyLevel) |
| Sets the displayed notify level. More... | |
| virtual void | clearNotifyLevel () |
| Clears the displayed notify level. More... | |
Public Member Functions inherited from DtConsoleWidget | |
| DtConsoleWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. More... | |
| virtual | ~DtConsoleWidget () |
| Destructor. More... | |
| virtual void | setMaximumLines (int max) |
| Sets the maximum number of lines which can be in the buffer. More... | |
| virtual void | setDocument (QTextDocument *document) |
| Sets the given document to be the document of the text edit. More... | |
| virtual void | removeNotifyComboBox () |
| removes the notify level combo box More... | |
| virtual void | showToolBar (bool showBar=true) |
| Shows or hides the tool bar items. More... | |
| virtual void | showClearButton (bool showButton=true) |
| Shows or hides the tool bar items. More... | |
| virtual void | showSaveButton (bool showButton=true) |
| Shows or hides the tool bar items. More... | |
| virtual void | showPauseResumeButton (bool showButton=true) |
| Shows or hides the tool bar items. More... | |
| virtual void | showNotifyLevelBox (bool showBox=true) |
| Shows or hides the tool bar items. More... | |
Protected Attributes | |
| QAction * | myLoadAction |
| The tool bar action which loads the most recent rtiexec log entries to the console. More... | |
| QLabel * | myNotifyLevelHeaderLabel |
| The header label for the notify level. More... | |
| QLabel * | myNotifyLevelLabel |
| The label that indicates the notify level of the viewed rtiexec. More... | |
| unsigned | myTextSize |
| Size of the currently displayed (and stored if paused) text in bytes. More... | |
Protected Attributes inherited from DtConsoleWidget | |
| QToolBar * | myToolBar |
| The tool bar for a console widget. More... | |
| QAction * | myClearAction |
| The tool bar action which clears the console. More... | |
| QAction * | mySaveAction |
| The tool bar action which saves the full log to a file. More... | |
| QAction * | myPauseAction |
| The tool bar action which pauses the console, preventing it from updating and scrolling. More... | |
| QAction * | myResumeAction |
| The tool bar action which resumes the console after it has been paused. More... | |
| QComboBox * | myNotifyComboBox |
| The tool bar combo box which will update the notify level. More... | |
| QTextEdit * | myTextEdit |
| The text edit box which displays the log. More... | |
| QFrame * | myFrame |
| The frame of the widget. More... | |
| QGridLayout * | myLayout |
| The layout of the widget. More... | |
| QGridLayout * | myFrameLayout |
| The layout of the frame. More... | |
| QString | mySavedFile |
| The previously saved file. More... | |
| QLineEdit * | mySearchEdit |
| The search edit box. More... | |
| QPushButton * | mySearchPushButton |
| The search button. More... | |
| QSpacerItem * | mySpacer |
| Spacer item for the grid layout. More... | |
| QShortcut * | mySearchShortcut |
| Search edit shortcut. More... | |
| bool | myIsPaused |
| Indicates if the console is currently paused. More... | |
| DtTextAndColorList | myPauseText |
| Used to store text while pause is on. More... | |
Private Member Functions | |
| DtExecConsoleWidget (DtExecConsoleWidget const &) | |
| Copy constructor not implemented. More... | |
| DtExecConsoleWidget & | operator= (DtExecConsoleWidget const &) |
| Assignment operator not implemented. More... | |
Additional Inherited Members | |
Public Slots inherited from DtConsoleWidget | |
| virtual void | processNotifyComboxBoxUpdate (int level) |
| Catches the notify level combo box update and emits the notifyLevelUpdated signal with the new notifyLevel. More... | |
| virtual void | processSave () |
| Processes the pressing of the save button. More... | |
| virtual void | processPause () |
| Processes the pressing of the pause button. More... | |
| virtual void | processResume () |
| Processes the pressing of the resume button. More... | |
| virtual void | processSearch () |
| Processes the pressing of the search button. More... | |
| virtual void | focusSearchEdit () |
| Focus on the search. More... | |
Protected Types inherited from DtConsoleWidget | |
| typedef std::list< DtTextAndColor > | DtTextAndColorList |
Protected Member Functions inherited from DtConsoleWidget | |
| virtual void | saveToFile () |
| Saves the console output to a file. More... | |
Provides the GUI for a console which displays the contents of an rtiexec log.
DtExecConsoleWidget is derived from DtConsoleWidget.
| DtExecConsoleWidget::DtExecConsoleWidget | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
|
virtual |
Destructor.
|
private |
Copy constructor not implemented.
|
virtual |
Clears all of the text from the display.
Reimplemented from DtConsoleWidget.
|
virtual |
Clears the displayed notify level.
|
signal |
Emitted when the user requests a load of the full log.
|
private |
Assignment operator not implemented.
|
virtual |
Sets the displayed notify level.
Reimplemented from DtConsoleWidget.
|
virtual |
Gets the size of the text which has been written to this console.
|
virtual |
Writes the text to the display in the specified color.
The default is black if no color is specified.
Reimplemented from DtConsoleWidget.
|
protected |
The tool bar action which loads the most recent rtiexec log entries to the console.
|
protected |
The header label for the notify level.
|
protected |
The label that indicates the notify level of the viewed rtiexec.
|
protected |
Size of the currently displayed (and stored if paused) text in bytes.