cutter/src/dialogs/preferences/GraphOptionsWidget.h

44 lines
908 B
C
Raw Normal View History

#ifndef GRAPHOPTIONSWIDGET_H
#define GRAPHOPTIONSWIDGET_H
#include <QDialog>
#include <QPushButton>
#include <memory>
#include "core/Cutter.h"
class PreferencesDialog;
2018-03-21 20:32:32 +00:00
namespace Ui {
class GraphOptionsWidget;
}
class GraphOptionsWidget : public QDialog
{
Q_OBJECT
public:
2019-03-16 12:41:45 +00:00
explicit GraphOptionsWidget(PreferencesDialog *dialog);
~GraphOptionsWidget();
private:
std::unique_ptr<Ui::GraphOptionsWidget> ui;
void triggerOptionsChanged();
private slots:
void updateOptionsFromVars();
void on_maxColsSpinBox_valueChanged(int value);
void on_minFontSizeSpinBox_valueChanged(int value);
void on_graphOffsetCheckBox_toggled(bool checked);
void checkTransparentStateChanged(int checked);
void bitmapGraphScaleValueChanged(double value);
void checkGraphBlockEntryOffsetChanged(bool checked);
void layoutSpacingChanged();
};
#endif //GRAPHOPTIONSWIDGET_H