23 #include <QDockWidget> 44 inline void setTimestamps(
const bool timestamp)
45 { timestamps = timestamp; }
46 void setTab(QWidget *newWidget);
48 void consoleMessage(
const QString & message);
50 void consoleHTMLMessage(
const QString & message);
58 inline Qt::DockWidgetArea dockDefaultArea()
62 inline void setDockDefaultArea(Qt::DockWidgetArea area)
69 void printError(QString msg);
74 void printWarning(QString msg);
79 void printDebug(QString msg);
84 void printInfo(QString msg);
89 void consoleWasModified();
94 void consoleSwitched(
int index);
107 Qt::DockWidgetArea dockArea;
110 void createActions();
112 void createConnections();
117 #endif // MILXQTCONSOLE This file defines all the defines, aliases and frequently used functions and variables.
QPointer< QTextEdit > logWindow
Log messages window.
#define MILXQT_EXPORT
Define Windows DLL importing.
QDockWidget * dockWidget()
Return the dock widget of the current tabs.
QAction * copyAct
Copy action for text.
QAction * clearAct
clear action for text
A console (tabbed) widget class for displaying information such as logs, terminals and consoles...
bool timestamps
Timestamp messages?
QPointer< QDockWidget > dock
Dock widget.