33 #ifndef _pqOutputWindowModel_h 34 #define _pqOutputWindowModel_h 36 #include "pqCoreModule.h" 38 #include <QAbstractTableModel> 45 const QString& message) :
64 int rowCount(
const QModelIndex &parent = QModelIndex())
const ;
66 int columnCount(
const QModelIndex &parent = QModelIndex())
const;
68 QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const;
70 virtual Qt::ItemFlags flags(
const QModelIndex & index)
const;
72 virtual bool setData(
const QModelIndex & index,
const QVariant & value,
73 int role = Qt::EditRole);
75 void setView(QTableView* view);
86 void ShowMessages(
bool* show);
89 void expandRow(
int r);
90 void contractRow(
int r);
94 void updateCount(
int messageIndex);
98 void resizeColumnsToContents();
101 const QList<MessageT>& Messages;
107 QScopedPointer<pqInternals> Internals;
110 #endif // !_pqOutputWindowModel_h
This is a model for the pqOutputWindow table that shows collated and abbreviated messages.
MessageT(int type, int count, const QString &location, const QString &message)
ParaViewResources *resource location
ParaView plugins can load gui configuration xmls eg.