![]() |
MAK RTIspy API Documentation for HLA 1.3
|
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. | |
Public Member Functions | |
| DtExecConsoleWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. | |
| virtual | ~DtExecConsoleWidget () |
| Destructor. | |
| virtual void | writeText (const QString &st, QColor color=Qt::black) |
| Writes the text to the display in the specified color. | |
| virtual void | clear () |
| Clears all of the text from the display. | |
| virtual unsigned | textSize () const |
| Gets the size of the text which has been written to this console. | |
| virtual void | setNotifyLevel (MAKRti::DtNotifyLevelType notifyLevel) |
| Sets the displayed notify level. | |
| virtual void | clearNotifyLevel () |
| Clears the displayed notify level. | |
Protected Attributes | |
| QAction * | myLoadAction |
| The tool bar action which loads the most recent rtiexec log entries to the console. | |
| QLabel * | myNotifyLevelHeaderLabel |
| The header label for the notify level. | |
| QLabel * | myNotifyLevelLabel |
| The label that indicates the notify level of the viewed rtiexec. | |
| unsigned | myTextSize |
| Size of the currently displayed (and stored if paused) text in bytes. | |
Private Member Functions | |
| DtExecConsoleWidget (DtExecConsoleWidget const &) | |
| Copy constructor not implemented. | |
| DtExecConsoleWidget & | operator= (DtExecConsoleWidget const &) |
| Assignment operator not implemented. | |
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.
References connect(), DtRtiLibPath(), loadLog(), DtConsoleWidget::myFrameLayout, myLoadAction, DtConsoleWidget::myNotifyComboBox, myNotifyLevelHeaderLabel, myNotifyLevelLabel, and DtConsoleWidget::myToolBar.
| DtExecConsoleWidget::~DtExecConsoleWidget | ( | ) | [virtual] |
Destructor.
| DtExecConsoleWidget::DtExecConsoleWidget | ( | DtExecConsoleWidget const & | ) | [private] |
Copy constructor not implemented.
| void DtExecConsoleWidget::clear | ( | ) | [virtual] |
Clears all of the text from the display.
Reimplemented from DtConsoleWidget.
References myTextSize.
Referenced by DtRtiNetworkComponentViewDialog::clearConsole().
| void DtExecConsoleWidget::clearNotifyLevel | ( | ) | [virtual] |
Clears the displayed notify level.
References myNotifyLevelLabel.
Referenced by DtRtiNetworkComponentViewDialog::clearConsole().
| void DtExecConsoleWidget::loadLog | ( | ) | [signal] |
Emitted when the user requests a load of the full log.
Referenced by DtExecConsoleWidget().
| DtExecConsoleWidget& DtExecConsoleWidget::operator= | ( | DtExecConsoleWidget const & | ) | [private] |
Assignment operator not implemented.
| void DtExecConsoleWidget::setNotifyLevel | ( | MAKRti::DtNotifyLevelType | notifyLevel | ) | [virtual] |
Sets the displayed notify level.
Reimplemented from DtConsoleWidget.
References myNotifyLevelLabel.
Referenced by DtRtiNetworkComponentViewDialog::updateNotifyLevel().
| unsigned DtExecConsoleWidget::textSize | ( | ) | const [virtual] |
Gets the size of the text which has been written to this console.
References myTextSize.
Referenced by DtRtiNetworkComponentViewDialog::consoleTextSize().
| void DtExecConsoleWidget::writeText | ( | const QString & | st, |
| QColor | color = Qt::black |
||
| ) | [virtual] |
Writes the text to the display in the specified color.
The default is black if no color is specified.
Reimplemented from DtConsoleWidget.
References myTextSize.
Referenced by DtRtiNetworkComponentViewDialog::writeToConsole().
QAction* DtExecConsoleWidget::myLoadAction [protected] |
The tool bar action which loads the most recent rtiexec log entries to the console.
Referenced by DtExecConsoleWidget().
QLabel* DtExecConsoleWidget::myNotifyLevelHeaderLabel [protected] |
The header label for the notify level.
Referenced by DtExecConsoleWidget().
QLabel* DtExecConsoleWidget::myNotifyLevelLabel [protected] |
The label that indicates the notify level of the viewed rtiexec.
Referenced by clearNotifyLevel(), DtExecConsoleWidget(), and setNotifyLevel().
unsigned DtExecConsoleWidget::myTextSize [protected] |
Size of the currently displayed (and stored if paused) text in bytes.
Referenced by clear(), textSize(), and writeText().