2017-12-19 16:13:44 +00:00
|
|
|
|
|
|
|
#ifndef GRAPHOPTIONSWIDGET_H
|
|
|
|
#define GRAPHOPTIONSWIDGET_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QPushButton>
|
|
|
|
#include <memory>
|
|
|
|
|
2018-03-04 17:42:02 +00:00
|
|
|
#include "Cutter.h"
|
2017-12-19 16:13:44 +00:00
|
|
|
|
|
|
|
class PreferencesDialog;
|
|
|
|
|
2018-03-21 20:32:32 +00:00
|
|
|
namespace Ui {
|
|
|
|
class GraphOptionsWidget;
|
2017-12-19 16:13:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class GraphOptionsWidget : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit GraphOptionsWidget(PreferencesDialog *dialog, QWidget *parent = nullptr);
|
|
|
|
~GraphOptionsWidget();
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::unique_ptr<Ui::GraphOptionsWidget> ui;
|
|
|
|
|
|
|
|
void triggerOptionsChanged();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void updateOptionsFromVars();
|
|
|
|
|
|
|
|
void on_maxColsSpinBox_valueChanged(int value);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //GRAPHOPTIONSWIDGET_H
|