KShare/cropeditor/settings/brushpenselection.hpp

35 lines
686 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
2017-06-14 23:34:58 +02:00
private slots:
void on_penColor_clicked(bool);
void on_brushColor_clicked(bool);
2017-04-29 23:00:32 +02:00
void on_buttonBox_accepted();
void on_buttonBox_rejected();
2017-04-29 23:00:32 +02:00
void on_widthSlider_sliderMoved(int position);
void on_widthSpinner_valueChanged(double arg1);
2017-04-29 23:00:32 +02:00
2017-06-14 23:34:58 +02:00
private:
Ui::BrushPenSelection *ui;
CropScene *scene;
QColor brush, pen;
2017-04-29 23:00:32 +02:00
};
#endif // BRUSHPENSELECTION_HPP