2025-09-05 19:43:31 +00:00
|
|
|
#ifndef ABOUTDIALOG_H
|
|
|
|
|
#define ABOUTDIALOG_H
|
|
|
|
|
|
|
|
|
|
#include <QDialog>
|
2026-01-08 00:37:46 -05:00
|
|
|
#include <QColor>
|
2025-09-05 19:43:31 +00:00
|
|
|
|
|
|
|
|
class AboutDialog : public QDialog
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit AboutDialog(QWidget *parent = nullptr);
|
2026-01-08 00:37:46 -05:00
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
void paintEvent(QPaintEvent *event) override;
|
2025-09-05 19:43:31 +00:00
|
|
|
|
|
|
|
|
private:
|
2026-01-08 00:37:46 -05:00
|
|
|
QColor mPrimaryColor;
|
|
|
|
|
QColor mBgColor;
|
|
|
|
|
QColor mTextColor;
|
|
|
|
|
QColor mTextColorMuted;
|
|
|
|
|
QColor mBorderColor;
|
|
|
|
|
|
|
|
|
|
static constexpr int WIDTH = 380;
|
|
|
|
|
static constexpr int HEIGHT = 200;
|
2025-09-05 19:43:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // ABOUTDIALOG_H
|