ToolX 1.11.1 [e3f477f]
A GUI debug tool chain for diagnosing GVA systems
Loading...
Searching...
No Matches
AstuteAboutDialog.h
1//
2// Copyright (c) 2026 Astute Systems PTY LTD
3//
4// Help > About dialog shared by the Astute Qt6 tools: the welcome-page branding
5// block (AstuteWelcomePage.h), a Build table, an optional Licence table (only
6// ldmx, bohemian and gva-designer are licensed), the copyright line and Close.
7//
8// Menu entry and dialog rules: .github/skills/qt6-about-dialog/SKILL.md
9//
10
11#ifndef ASTUTE_ABOUT_DIALOG_H
12#define ASTUTE_ABOUT_DIALOG_H
13
14#include <QColor>
15#include <QDialog>
16#include <QList>
17#include <QString>
18
19#include "AstuteWelcomePage.h"
20
21namespace Astute {
22
24struct AboutRow {
25 QString label;
26 QString value;
27 QColor colour = QColor(0xE0, 0xE0, 0xE0);
28};
29
30class AboutDialog : public QDialog {
31 Q_OBJECT
32
33public:
40 AboutDialog(const QString& product, const QString& logoResource, const QString& description,
41 const BuildInfo& build, const QList<AboutRow>& buildRows, const QList<AboutRow>& licence,
42 QWidget* parent = nullptr);
43
46 static QList<AboutRow> licenceRows();
47};
48
49} // namespace Astute
50
51#endif // ASTUTE_ABOUT_DIALOG_H
static QList< AboutRow > licenceRows()
Definition AstuteAboutDialog.cpp:63
AboutDialog(const QString &product, const QString &logoResource, const QString &description, const BuildInfo &build, const QList< AboutRow > &buildRows, const QList< AboutRow > &licence, QWidget *parent=nullptr)
Definition AstuteAboutDialog.cpp:96
One label/value row of a details table.
Definition AstuteAboutDialog.h:24
QColor colour
Value colour.
Definition AstuteAboutDialog.h:27
Build identity shown under the logo as "Version 10.0.0 (#a1b2c3d)".
Definition AstuteWelcomePage.h:32