- Custom painting with theme colors - Accent stripe at top - "X" in accent color, "Plor" in text color - Dynamic version from QCoreApplication - Dynamic copyright year - Removed "With Help From" section 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
524 B
C++
29 lines
524 B
C++
#ifndef ABOUTDIALOG_H
|
|
#define ABOUTDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QColor>
|
|
|
|
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
|