]> Shamusworld >> Repos - architektonas/blob - src/forms/widgetpen.h
e6757a64031b34704be306d30d078fd0cc699e1f
[architektonas] / src / forms / widgetpen.h
1 #ifndef __WIDGETPEN_H__
2 #define __WIDGETPEN_H__
3
4 #include "ui_widgetpen.h"
5 #include "rs_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(RS_Pen pen, bool showByLayer, bool showUnchanged, const QString & title);
21                 RS_Pen getPen();
22
23         private:
24                 Ui::WidgetPen ui;
25 };
26
27 #endif  // __WIDGETPEN_H__