diff --git a/CMakeLists.txt b/CMakeLists.txt index c43cdc6..c9a7c74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,8 +9,8 @@ set(META_APP_URL "https://github.com/${META_APP_AUTHOR}/${META_PROJECT_NAME}") set(META_APP_DESCRIPTION "Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models") set(META_VERSION_MAJOR 6) -set(META_VERSION_MINOR 5) -set(META_VERSION_PATCH 4) +set(META_VERSION_MINOR 6) +set(META_VERSION_PATCH 0) set(META_APP_VERSION ${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH}) project(${META_PROJECT_NAME}) diff --git a/paletteeditor/colorbutton.h b/paletteeditor/colorbutton.h index 5d31b6d..2fc5940 100644 --- a/paletteeditor/colorbutton.h +++ b/paletteeditor/colorbutton.h @@ -14,6 +14,7 @@ namespace QtUtilities { */ class QT_UTILITIES_EXPORT ColorButton : public QToolButton { Q_OBJECT + Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged) Q_PROPERTY(bool backgroundCheckered READ isBackgroundCheckered WRITE setBackgroundCheckered) public: ColorButton(QWidget *parent = nullptr); diff --git a/paletteeditor/paletteeditor.h b/paletteeditor/paletteeditor.h index 2e04ffa..bf75abe 100644 --- a/paletteeditor/paletteeditor.h +++ b/paletteeditor/paletteeditor.h @@ -28,6 +28,7 @@ class PaletteEditor; */ class QT_UTILITIES_EXPORT PaletteEditor : public QDialog { Q_OBJECT + Q_PROPERTY(QPalette palette READ palette WRITE setPalette) public: PaletteEditor(QWidget *parent); ~PaletteEditor() override;