qt_demoe/qwtdemo/examples/refreshtest/panel.h

55 lines
1.0 KiB
C++

#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;
#ifndef QWT_NO_OPENGL
CheckBox *d_openGL;
#endif
QComboBox *d_curveType;
CheckBox *d_curveAntialiasing;
CheckBox *d_curveClipping;
CheckBox *d_curveFiltering;
CheckBox *d_lineSplitting;
SpinBox *d_curveWidth;
QComboBox *d_curvePen;
CheckBox *d_curveFilled;
};
#endif