#include <QtWidgets>
#include "structs.h"
-
class PenWidget: public QWidget
{
Q_OBJECT
void HandleBlueSelected(QString);
signals:
- void WidthSelected(float);
- void StyleSelected(int);
- void ColorSelected(uint32_t);
+ void StampSelected(void);
+ void DropperSelected(void);
private:
QLineEdit * width;
QComboBox * style;
int r, g, b;
bool programChange;
+
+ public:
+ QAction * stampAction;
+ QAction * dropperAction;
+ QToolButton * tbStamp;
+ QToolButton * tbDropper;
};
#endif // __PENWIDGET_H__
-