KShare/cropeditor/settings/brushpenselection.hpp
2017-08-05 21:20:24 +02:00

39 lines
928 B
C++

#ifndef BRUSHPENSELECTION_HPP
#define BRUSHPENSELECTION_HPP
#include <QDialog>
#include <cropeditor/cropscene.hpp>
namespace Ui {
class BrushPenSelection;
}
class BrushPenSelection : public QDialog {
Q_OBJECT
public:
explicit BrushPenSelection(CropScene *scene);
~BrushPenSelection();
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);
void on_highlightColor_clicked();
private:
Ui::BrushPenSelection *ui;
CropScene *scene;
QColor brush, pen, highlight;
};
#endif // BRUSHPENSELECTION_HPP