#ifndef ABOUTDIALOG_H #define ABOUTDIALOG_H #include #include class AboutDialog : public QDialog { Q_OBJECT public: explicit AboutDialog(QWidget *parent = nullptr); protected: void paintEvent(QPaintEvent *event) override; private: QColor mPrimaryColor; QColor mBgColor; QColor mTextColor; QColor mTextColorMuted; QColor mBorderColor; static constexpr int WIDTH = 380; static constexpr int HEIGHT = 200; }; #endif // ABOUTDIALOG_H