新增qwt源码版本

This commit is contained in:
feiyangqingyun
2019-11-07 10:56:33 +08:00
parent d9b38d7ecd
commit 4746999d0e
377 changed files with 81225 additions and 1 deletions

View File

@@ -0,0 +1,52 @@
#ifndef _PANEL_
#define _PANEL_
#include "settings.h"
#include <qwidget.h>
class QCheckBox;
class QComboBox;
class QSpinBox;
class QLineEdit;
class Panel: public QWidget
{
Q_OBJECT
public:
Panel( QWidget *parent = NULL );
void setSettings( const Settings &);
Settings settings() const;
Q_SIGNALS:
void edited();
private:
struct
{
QCheckBox *checkBox;
QComboBox *positionBox;
} d_legend;
struct
{
QCheckBox *checkBox;
QSpinBox *numColumnsBox;
QComboBox *hAlignmentBox;
QComboBox *vAlignmentBox;
QComboBox *backgroundBox;
QSpinBox *sizeBox;
} d_legendItem;
struct
{
QSpinBox *numCurves;
QLineEdit *title;
} d_curve;
};
#endif