panel.h
942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef _PANEL_H_
#define _PANEL_H_ 1
#include "settings.h"
#include <qtabwidget.h>
class QComboBox;
class SpinBox;
class CheckBox;
class Panel: public QTabWidget
{
Q_OBJECT
public:
Panel(QWidget * = NULL);
Settings settings() const;
void setSettings(const Settings &);
Q_SIGNALS:
void settingsChanged(const Settings &);
private Q_SLOTS:
void edited();
private:
QWidget *createPlotTab(QWidget *);
QWidget *createCanvasTab(QWidget *);
QWidget *createCurveTab(QWidget *);
SpinBox *d_numPoints;
SpinBox *d_updateInterval;
QComboBox *d_updateType;
QComboBox *d_gridStyle;
CheckBox *d_paintCache;
CheckBox *d_paintOnScreen;
CheckBox *d_immediatePaint;
QComboBox *d_curveType;
CheckBox *d_curveAntialiasing;
CheckBox *d_curveClipping;
CheckBox *d_lineSplitting;
SpinBox *d_curveWidth;
QComboBox *d_curvePen;
CheckBox *d_curveFilled;
};
#endif