X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fpenwidget.h;h=4fe0d4749f0f2dc9b8f55b36cc7d5d8075a6c745;hb=d9f34cb7917e396a1df805687234d5473d82283b;hp=5809c446731a5e3669826615cf43d9d53a05532c;hpb=bf5a50feb0f84a4627a65c5b82c3ca2d2eefe54b;p=architektonas diff --git a/src/penwidget.h b/src/penwidget.h index 5809c44..4fe0d47 100644 --- a/src/penwidget.h +++ b/src/penwidget.h @@ -4,7 +4,6 @@ #include #include "structs.h" - class PenWidget: public QWidget { Q_OBJECT @@ -22,13 +21,10 @@ class PenWidget: public QWidget void HandleRedSelected(QString); void HandleGreenSelected(QString); void HandleBlueSelected(QString); - void HandleStamp(QAction *); signals: - void WidthSelected(float); - void StyleSelected(int); - void ColorSelected(uint32_t); void StampSelected(void); + void DropperSelected(void); private: QLineEdit * width; @@ -38,7 +34,12 @@ class PenWidget: public QWidget QComboBox * style; int r, g, b; bool programChange; + + public: + QAction * stampAction; + QAction * dropperAction; + QToolButton * tbStamp; + QToolButton * tbDropper; }; #endif // __PENWIDGET_H__ -