2017-12-19 16:13:44 +00:00
|
|
|
|
|
|
|
#ifndef GRAPHOPTIONSWIDGET_H
|
|
|
|
#define GRAPHOPTIONSWIDGET_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QPushButton>
|
|
|
|
#include <memory>
|
|
|
|
|
2019-02-22 16:50:45 +00:00
|
|
|
#include "core/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:
|
2019-03-16 12:41:45 +00:00
|
|
|
explicit GraphOptionsWidget(PreferencesDialog *dialog);
|
2017-12-19 16:13:44 +00:00
|
|
|
~GraphOptionsWidget();
|
|
|
|
private:
|
|
|
|
std::unique_ptr<Ui::GraphOptionsWidget> ui;
|
|
|
|
|
|
|
|
void triggerOptionsChanged();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void updateOptionsFromVars();
|
|
|
|
|
|
|
|
void on_maxColsSpinBox_valueChanged(int value);
|
2018-08-12 16:20:16 +00:00
|
|
|
void on_graphOffsetCheckBox_toggled(bool checked);
|
2020-03-09 20:59:03 +00:00
|
|
|
|
|
|
|
void checkTransparentStateChanged(int checked);
|
|
|
|
void bitmapGraphScaleValueChanged(double value);
|
2020-11-29 14:41:13 +00:00
|
|
|
void checkGraphBlockEntryOffsetChanged(bool checked);
|
2020-06-16 10:43:45 +00:00
|
|
|
void layoutSpacingChanged();
|
2017-12-19 16:13:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //GRAPHOPTIONSWIDGET_H
|