cutter/src/dialogs/preferences/GraphOptionsWidget.h

39 lines
627 B
C
Raw Normal View History

#ifndef GRAPHOPTIONSWIDGET_H
#define GRAPHOPTIONSWIDGET_H
#include <QDialog>
#include <QPushButton>
#include <memory>
2018-03-04 17:42:02 +00:00
#include "Cutter.h"
class PreferencesDialog;
namespace Ui
{
class GraphOptionsWidget;
}
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