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-05-09 17:26:00 +02:00
|
|
|
public:
|
|
|
|
explicit BrushPenSelection(CropScene *scene);
|
|
|
|
~BrushPenSelection();
|
2017-04-29 23:00:32 +02:00
|
|
|
|
2017-05-09 17:26:00 +02:00
|
|
|
private slots:
|
|
|
|
void on_penColor_clicked(bool);
|
|
|
|
void on_brushColor_clicked(bool);
|
2017-04-29 23:00:32 +02:00
|
|
|
|
2017-05-09 17:26:00 +02:00
|
|
|
void on_buttonBox_accepted();
|
|
|
|
void on_buttonBox_rejected();
|
2017-04-29 23:00:32 +02:00
|
|
|
|
2017-05-09 17:26:00 +02:00
|
|
|
void on_widthSlider_sliderMoved(int position);
|
|
|
|
void on_widthSpinner_valueChanged(double arg1);
|
2017-04-29 23:00:32 +02:00
|
|
|
|
2017-05-09 17:26:00 +02:00
|
|
|
private:
|
|
|
|
Ui::BrushPenSelection *ui;
|
|
|
|
CropScene *scene;
|
|
|
|
QColor brush, pen;
|
2017-04-29 23:00:32 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // BRUSHPENSELECTION_HPP
|