32 #ifndef pqOutputWidget_h 33 #define pqOutputWidget_h 38 #include <QScopedPointer> 47 Q_DECLARE_METATYPE(QtMsgType)
78 static void handler(QtMsgType
type,
const QMessageLogContext&,
const QString& msg);
83 static void handlerVTK(QtMsgType
type,
const QString& msg);
86 void message(QtMsgType
type,
const QString& msg);
87 void showMessage(QString msg, QtMsgType
type);
93 void displayMessage(QtMsgType
type,
const QString& msg);
108 typedef QWidget Superclass;
109 Q_PROPERTY(QString settingsKey READ settingsKey WRITE setSettingsKey);
112 pqOutputWidget(QWidget* parent =
nullptr, Qt::WindowFlags f = Qt::WindowFlags());
119 void suppress(
const QStringList& substrs);
126 void setSettingsKey(
const QString& key);
127 const QString& settingsKey()
const;
134 void setFontSize(
int fontSize);
145 bool displayMessage(
const QString& message, QtMsgType type = QtInfoMsg);
150 void showFullMessages(
bool val);
155 void copyToClipboard();
171 void messageDisplayed(
const QString& message,
int type);
177 virtual bool suppress(
const QString& message, QtMsgType type);
182 virtual QString extractSummary(
const QString& message, QtMsgType type);
188 QScopedPointer<pqInternals> Internals;
189 friend class OutputWidgetInternals::OutputWindow;
void VTKPVADAPTORSCTH_EXPORT handler(int sig)
widget to show Qt and VTK messages.