9 #include <QtCore/QSettings>
11 #if QT_VERSION >= 0x050000
12 #include <QtWidgets/QLabel>
13 #include <QtWidgets/QMessageBox>
14 #include <QtWidgets/QBoxLayout>
16 #include <QtGui/QLabel>
17 #include <QtGui/QMessageBox>
18 #include <QtGui/QBoxLayout>
21 #include <QtGui/QFont>
39 _value->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
49 resize(settings.
value(
"WindowSize",
size()).toSize());
50 move(settings.
value(
"WindowPosition",pos()).toPoint());
setPointSize(int pointSize)
static void saveData(const QString &filename, result_t::shared_pointer data)
save data to a given file
things written only at end of run H5Dump ProcessorSummary size
ZeroDViewerData * _data
pointer to the 0d data wrapper
void saveData(const QString &filename)
overlaod saving
contains the wrapper of the data for the 0d viewer
setCentralWidget(QWidget *widget)
virtual QStringList dataFileSuffixes() const
suffixes for the data of this viewer
QString type() const
retrieve the type of the data viewer
QLabel * _value
the label that displays the value
virtual void print() const
overload printing
value(const QString &key, const QVariant &defaultValue=QVariant()
contains the viewer for 0d data
ZeroDViewer(QString title, QWidget *parent=0)
constructor
critical(QWidget *parent, const QString &title, const QString &text, StandardButtons buttons=Ok, StandardButton defaultButton=NoButton)
QList< Data * > data()
retrieve the displayed data
beginGroup(const QString &prefix)
virtual ~ZeroDViewer()
destructor