]> Shamusworld >> Repos - architektonas/blob - src/forms/widgetpen.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / widgetpen.h
1 #ifndef __WIDGETPEN_H__
2 #define __WIDGETPEN_H__
3
4 #include "ui_widgetpen.h"
5 #include "pen.h"
6
7 class WidgetPen: public QWidget
8 {
9         Q_OBJECT
10
11         public:
12                 WidgetPen(QWidget * parent = 0, Qt::WindowFlags flags = 0);
13                 ~WidgetPen();
14
15                 bool isColorUnchanged();
16                 bool isLineTypeUnchanged();
17                 bool isWidthUnchanged();
18
19         public slots:
20                 void setPen(Pen pen, bool showByLayer, bool showUnchanged, const QString & title);
21                 Pen getPen();
22
23         private:
24                 Ui::WidgetPen ui;
25 };
26
27 #endif  // __WIDGETPEN_H__