X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fpenwidget.h;h=c08d14bba50bd232b4437c1b92f70058a1c9609a;hb=fce575a51ba1f26418869c20e63b9f388e118ab6;hp=11dcdcf44b67097a3f5436c8ba1e14ab5f08cdb2;hpb=acd27aa62a4c78b6aeee523e3145a8aa53f4bcde;p=architektonas diff --git a/src/penwidget.h b/src/penwidget.h index 11dcdcf..c08d14b 100644 --- a/src/penwidget.h +++ b/src/penwidget.h @@ -4,7 +4,6 @@ #include #include "structs.h" - class PenWidget: public QWidget { Q_OBJECT @@ -22,11 +21,15 @@ class PenWidget: public QWidget void HandleRedSelected(QString); void HandleGreenSelected(QString); void HandleBlueSelected(QString); +// void HandleStamp(QAction *); +// void HandleDropper(QAction *); signals: void WidthSelected(float); void StyleSelected(int); void ColorSelected(uint32_t); + void StampSelected(void); + void DropperSelected(void); private: QLineEdit * width; @@ -36,7 +39,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__ -