MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Signals | Public Member Functions | Protected Attributes | Private Member Functions

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...
 
QLabelmyNotifyLevelHeaderLabel
 The header label for the notify level. More...
 
QLabelmyNotifyLevelLabel
 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...
 
DtExecConsoleWidgetoperator= (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< DtTextAndColorDtTextAndColorList
 
- Protected Member Functions inherited from DtConsoleWidget
virtual void saveToFile ()
 Saves the console output to a file. More...
 

Detailed Description

Provides the GUI for a console which displays the contents of an rtiexec log.

DtExecConsoleWidget is derived from DtConsoleWidget.

Constructor & Destructor Documentation

DtExecConsoleWidget::DtExecConsoleWidget ( QWidget parent = 0,
Qt::WindowFlags  f = 0 
)

Constructor.

virtual DtExecConsoleWidget::~DtExecConsoleWidget ( )
virtual

Destructor.

DtExecConsoleWidget::DtExecConsoleWidget ( DtExecConsoleWidget const &  )
private

Copy constructor not implemented.

Member Function Documentation

virtual void DtExecConsoleWidget::clear ( )
virtual

Clears all of the text from the display.

Reimplemented from DtConsoleWidget.

virtual void DtExecConsoleWidget::clearNotifyLevel ( )
virtual

Clears the displayed notify level.

void DtExecConsoleWidget::loadLog ( )
signal

Emitted when the user requests a load of the full log.

DtExecConsoleWidget& DtExecConsoleWidget::operator= ( DtExecConsoleWidget const &  )
private

Assignment operator not implemented.

virtual void DtExecConsoleWidget::setNotifyLevel ( MAKRti::DtNotifyLevelType  notifyLevel)
virtual

Sets the displayed notify level.

Reimplemented from DtConsoleWidget.

virtual unsigned DtExecConsoleWidget::textSize ( ) const
virtual

Gets the size of the text which has been written to this console.

virtual 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.

Member Data Documentation

QAction* DtExecConsoleWidget::myLoadAction
protected

The tool bar action which loads the most recent rtiexec log entries to the console.

QLabel* DtExecConsoleWidget::myNotifyLevelHeaderLabel
protected

The header label for the notify level.

QLabel* DtExecConsoleWidget::myNotifyLevelLabel
protected

The label that indicates the notify level of the viewed rtiexec.

unsigned DtExecConsoleWidget::myTextSize
protected

Size of the currently displayed (and stored if paused) text in bytes.


The documentation for this class was generated from the following file:

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)