31 # if defined LOGWINDOW_EXPORTS || defined LogWindow_EXPORTS
32 # define LOGWINDOW_EXPORT __declspec( dllexport )
34 # define LOGWINDOW_EXPORT __declspec( dllimport )
37 # define LOGWINDOW_EXPORT
45 #include <QStringList>
48 #pragma warning( disable:4251 )
66 All = CopyId | ClearId | SelectAllId | SaveToFileId
75 DisplaySeparator = 0x04,
76 DisplayNoColor = 0x08,
77 DisplayDateTime = DisplayDate | DisplayTime
89 QString banner()
const;
90 QString separator()
const;
92 void setBanner(
const QString& );
93 void setSeparator(
const QString& );
95 void putMessage(
const QString&,
const int = DisplayNormal );
96 virtual void putMessage(
const QString&,
const QColor&,
const int = DisplayNormal );
97 void clear(
const bool =
false );
99 bool saveLog(
const QString& );
101 void setMenuActions(
const int );
102 int menuActions()
const;
104 void handleQtMessages(
bool);
113 void append(
const QString text );
114 void createActions();
115 void updateActions();
116 void qtMessage( QtMsgType,
const QMessageLogContext&,
const QString& );
128 #pragma warning( default:4251 )
#define LOGWINDOW_EXPORT
Definition: LogWindow.h:37
Widget, displaying log messages.
Definition: LogWindow.h:55
QTextEdit * myView
internal view window
Definition: LogWindow.h:119
QString mySeparator
current separator
Definition: LogWindow.h:122
QStringList myHistory
messages history
Definition: LogWindow.h:121
virtual QString popupClientType() const
Get popup client symbolic name, used in popup menu management system.
Definition: LogWindow.h:84
int myBannerSize
current banner's size
Definition: LogWindow.h:123
QMap< int, QAction * > myActions
popup menu actions
Definition: LogWindow.h:124
QString myBanner
current banner
Definition: LogWindow.h:120
For more information see QT documentation.
Definition: SUIT_Application.h:42
Definition: QtxMsgHandler.h:32
virtual void qtMessage(QtMsgType, const QMessageLogContext &, const QString &)