]> Shamusworld >> Repos - architektonas/blobdiff - src/penwidget.h
Fixed click selection and pen functionality.
[architektonas] / src / penwidget.h
index 11dcdcf44b67097a3f5436c8ba1e14ab5f08cdb2..4fe0d4749f0f2dc9b8f55b36cc7d5d8075a6c745 100644 (file)
@@ -4,7 +4,6 @@
 #include <QtWidgets>
 #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;
@@ -36,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__
-