Thu, 09 Jun 2022 11:51:42 +0300
remove more dead code
#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; };