KShare/cropeditor/settings/brushpenselection.hpp
2017-04-29 23:00:32 +02:00

37 lines
698 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_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);
private:
Ui::BrushPenSelection *ui;
CropScene *scene;
QColor brush, pen;
};
#endif // BRUSHPENSELECTION_HPP