mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-10 05:55:26 +00:00
ab27e09b91
Sometimes it is not necessary to include the whole Cutter.h file Hence, it's been splitted so you can include only what you require E.g. #include "core/CutterCommon.h" to have access to the common types
39 lines
683 B
C++
39 lines
683 B
C++
|
|
#ifndef GRAPHOPTIONSWIDGET_H
|
|
#define GRAPHOPTIONSWIDGET_H
|
|
|
|
#include <QDialog>
|
|
#include <QPushButton>
|
|
#include <memory>
|
|
|
|
#include "core/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);
|
|
void on_graphOffsetCheckBox_toggled(bool checked);
|
|
};
|
|
|
|
|
|
#endif //GRAPHOPTIONSWIDGET_H
|