23class QSortFilterProxyModel;
24class QStandardItemModel;
61 [[nodiscard]]
static QVector<Component>
62 parseManifest(
const QByteArray &json, QString *errorOut =
nullptr);
67 [[nodiscard]]
const QVector<Component> &
components()
const {
return m_components; }
70 void onSelectionChanged();
71 void onSearchTextChanged(
const QString &
text);
73 void onOpenHomepage();
80 void showComponent(
const Component &c);
81 void showApplicationOverview();
83 QVector<Component> m_components;
86 QLabel *m_headerLabel =
nullptr;
87 QPushButton *m_copyEnvButton =
nullptr;
90 QLineEdit *m_searchEdit =
nullptr;
91 QStandardItemModel *m_treeModel =
nullptr;
92 QSortFilterProxyModel *m_treeProxy =
nullptr;
93 QTreeView *m_tree =
nullptr;
96 QLabel *m_nameLabel =
nullptr;
97 QLabel *m_metaLabel =
nullptr;
98 QPlainTextEdit *m_licenseText =
nullptr;
99 QPushButton *m_copyButton =
nullptr;
100 QPushButton *m_homepageButton =
nullptr;
101 QPushButton *m_sourceButton =
nullptr;
103 int m_currentComponent = -1;
Two-pane modal: master list of every shipped component (left) + per-component license + metadata deta...
Definition aboutdialog.h:33
static QVector< Component > parseManifest(const QByteArray &json, QString *errorOut=nullptr)
Parses a manifest JSON document into a vector of Component rows.
Definition aboutdialog.cpp:216
const QVector< Component > & components() const
Returns the list of components currently loaded into the dialog.
Definition aboutdialog.h:67
QVector< int > parent
union-find
Definition pslgminsize.cpp:176
QString text
Definition queryparser.cpp:35
One row in the manifest. Public so tests can construct one.
Definition aboutdialog.h:41
QString sourceUrl
URL to source download (may be empty)
Definition aboutdialog.h:47
QString homepage
URL (may be empty)
Definition aboutdialog.h:46
QString spdx
SPDX license identifier (e.g. "MIT")
Definition aboutdialog.h:48
QString provenance
"vcpkg", "submodule", "in-tree copy", …
Definition aboutdialog.h:49
QString category
e.g. "Geospatial"
Definition aboutdialog.h:42
QString version
e.g. "3.9.2" (may be empty)
Definition aboutdialog.h:44
QString licenseFile
Qt-resource path to verbatim license text.
Definition aboutdialog.h:50
QString role
what it's used for
Definition aboutdialog.h:45
QString name
e.g. "GDAL"
Definition aboutdialog.h:43