initial upload

This commit is contained in:
2023-11-15 20:54:49 +01:00
parent b90a34c4b4
commit 99dad98ce0
29 changed files with 1277 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#ifndef COLORACTION_H
#define COLORACTION_H
#include <QAction>
#include <QColor>
class ColorAction : public QAction
{
Q_OBJECT
public:
ColorAction(QObject *parent);
const QColor& color() const { return m_color; }
void setColor(const QColor &color);
Q_SIGNALS:
void colorChanged(const QColor &color);
private Q_SLOTS:
void chooseColor();
private:
QColor m_color;
};
#endif // COLORACTION_H