X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fpenwidget.h;h=4fe0d4749f0f2dc9b8f55b36cc7d5d8075a6c745;hb=cb6b66411cf6a34f7b24b199502958bb12960a0f;hp=7f096d94ab750a0a753675ab49ceaedf27f7b9c9;hpb=4708212b56a0c5645226e728f9a26ee1fd2d027d;p=architektonas diff --git a/src/penwidget.h b/src/penwidget.h index 7f096d9..4fe0d47 100644 --- a/src/penwidget.h +++ b/src/penwidget.h @@ -4,7 +4,6 @@ #include #include "structs.h" - class PenWidget: public QWidget { Q_OBJECT @@ -24,9 +23,8 @@ class PenWidget: public QWidget void HandleBlueSelected(QString); signals: - void WidthSelected(float); - void StyleSelected(int); - void ColorSelected(uint32_t); + void StampSelected(void); + void DropperSelected(void); private: QLineEdit * width; @@ -35,7 +33,13 @@ class PenWidget: public QWidget QLineEdit * blue; QComboBox * style; int r, g, b; + bool programChange; + + public: + QAction * stampAction; + QAction * dropperAction; + QToolButton * tbStamp; + QToolButton * tbDropper; }; #endif // __PENWIDGET_H__ -