Sun, 10 Jan 2021 17:26:40 +0200
added translations to dependencies in CMakeLists... maybe that's the source of the trouble with translations getting emptied
#pragma once #include <QPushButton> /** * @brief A button that can be used to select a color */ class ColorButton : public QPushButton { public: ColorButton(const QColor& color = {}, QWidget* parent = nullptr); ColorButton(QWidget* parent = nullptr); QColor selectedColor() const; void setSelectedColor(const QColor& newSelectedColor); private: QColor storedSelectedColor; };