KShare/cropeditor/settings/brushpenselection.hpp

39 lines
928 B
C++
Raw Normal View History

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 {
Q_OBJECT
2017-04-29 23:00:32 +02:00
2017-06-14 23:34:58 +02:00
public:
explicit BrushPenSelection(CropScene *scene);
~BrushPenSelection();
2017-04-29 23:00:32 +02:00
private slots:
void on_alphaSpin_valueChanged(int arg1);
void on_radSlider_sliderMoved(int position);
void on_radSpinner_valueChanged(double arg1);
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);
void on_penAlphaSpin_valueChanged(int arg1);
2017-04-29 23:00:32 +02:00
void on_highlightColor_clicked();
2017-06-14 23:34:58 +02:00
private:
Ui::BrushPenSelection *ui;
CropScene *scene;
QColor brush, pen, highlight;
2017-04-29 23:00:32 +02:00
};
#endif // BRUSHPENSELECTION_HPP