2017-04-29 23:00:32 +02:00
|
|
|
#ifndef BRUSHPENSELECTION_HPP
|
|
|
|
#define BRUSHPENSELECTION_HPP
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <cropeditor/cropscene.hpp>
|
|
|
|
|
2017-05-06 13:21:12 +02:00
|
|
|
namespace Ui {
|
2017-04-29 23:00:32 +02:00
|
|
|
class BrushPenSelection;
|
|
|
|
}
|
|
|
|
|
2017-05-06 13:21:12 +02:00
|
|
|
class BrushPenSelection : public QDialog {
|
2017-05-09 17:26:00 +02:00
|
|
|
Q_OBJECT
|
2017-04-29 23:00:32 +02:00
|
|
|
|
2017-06-14 23:34:58 +02:00
|
|
|
public:
|
2017-05-09 17:26:00 +02:00
|
|
|
explicit BrushPenSelection(CropScene *scene);
|
|
|
|
~BrushPenSelection();
|
2017-04-29 23:00:32 +02:00
|
|
|
|
2017-06-28 22:26:18 +02:00
|
|
|
private slots:
|
|
|
|
void on_alphaSpin_valueChanged(int arg1);
|
2017-06-28 20:46:15 +02:00
|
|
|
void on_radSlider_sliderMoved(int position);
|
|
|
|
void on_radSpinner_valueChanged(double arg1);
|
2017-05-09 17:26:00 +02:00
|
|
|
void on_penColor_clicked(bool);
|
|
|
|
void on_brushColor_clicked(bool);
|
|
|
|
void on_buttonBox_accepted();
|
|
|
|
void on_buttonBox_rejected();
|
|
|
|
void on_widthSlider_sliderMoved(int position);
|
|
|
|
void on_widthSpinner_valueChanged(double arg1);
|
2017-06-28 22:26:18 +02:00
|
|
|
void on_penAlphaSpin_valueChanged(int arg1);
|
2017-04-29 23:00:32 +02:00
|
|
|
|
2017-08-05 21:20:24 +02:00
|
|
|
void on_highlightColor_clicked();
|
|
|
|
|
2017-06-14 23:34:58 +02:00
|
|
|
private:
|
2017-05-09 17:26:00 +02:00
|
|
|
Ui::BrushPenSelection *ui;
|
|
|
|
CropScene *scene;
|
2017-08-05 21:20:24 +02:00
|
|
|
QColor brush, pen, highlight;
|
2017-04-29 23:00:32 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // BRUSHPENSELECTION_HPP
|