彻底改版2.0

This commit is contained in:
feiyangqingyun
2021-11-17 16:41:30 +08:00
parent a7f4347959
commit ebfd531a91
2622 changed files with 8915 additions and 7263 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