You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
686 B
34 lines
686 B
#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
|
|
|