SMILX
1.01
|
A console (tabbed) widget class for displaying information such as logs, terminals and consoles. More...
#include <milxQtConsole.h>
Public Slots | |
void | setDockDefaultArea (Qt::DockWidgetArea area) |
void | printError (QString msg) |
Error message wrapper for console. | |
void | printWarning (QString msg) |
Warning message wrapper for console. | |
void | printDebug (QString msg) |
Debug message wrapper for console. | |
void | printInfo (QString msg) |
Info message wrapper for console. | |
void | consoleWasModified () |
Change the window title to show that the tab has been modified. | |
void | consoleSwitched (int index) |
Update member for when the tab changes. | |
Public Member Functions | |
milxQtConsole (QWidget *theParent=0) | |
virtual | ~milxQtConsole () |
void | setTimestamps (const bool timestamp) |
void | setTab (QWidget *newWidget) |
void | consoleMessage (const QString &message) |
output message | |
void | consoleHTMLMessage (const QString &message) |
output message as HTML | |
QDockWidget * | dockWidget () |
Return the dock widget of the current tabs. | |
Qt::DockWidgetArea | dockDefaultArea () |
Protected Member Functions | |
void | createActions () |
Create all the actions for the console. | |
void | createConnections () |
Create connections for the console. | |
Protected Attributes | |
bool | timestamps |
Timestamp messages? | |
QAction * | copyAct |
Copy action for text. | |
QAction * | clearAct |
clear action for text | |
QPointer< QTextEdit > | logWindow |
Log messages window. | |
QPointer< QDockWidget > | dock |
Dock widget. | |
Qt::DockWidgetArea | dockArea |
A console (tabbed) widget class for displaying information such as logs, terminals and consoles.
Definition at line 34 of file milxQtConsole.h.
milxQtConsole::milxQtConsole | ( | QWidget * | theParent = 0 | ) |
Default constructor
Definition at line 22 of file milxQtConsole.cpp.
|
virtual |
Default destructor
Definition at line 48 of file milxQtConsole.cpp.