SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
AboutDialog Class Reference

Two-pane modal: master list of every shipped component (left) + per-component license + metadata detail (right). More...

#include <aboutdialog.h>

Inheritance diagram for AboutDialog:
Collaboration diagram for AboutDialog:

Classes

struct  Component
 One row in the manifest. Public so tests can construct one. More...
 

Public Member Functions

 AboutDialog (QWidget *parent=nullptr)
 
 ~AboutDialog () override
 
const QVector< Component > & components () const
 Returns the list of components currently loaded into the dialog.
 

Static Public Member Functions

static QVector< ComponentparseManifest (const QByteArray &json, QString *errorOut=nullptr)
 Parses a manifest JSON document into a vector of Component rows.
 

Detailed Description

Two-pane modal: master list of every shipped component (left) + per-component license + metadata detail (right).

Constructor & Destructor Documentation

◆ AboutDialog()

AboutDialog::AboutDialog ( QWidget *  parent = nullptr)
explicit

◆ ~AboutDialog()

AboutDialog::~AboutDialog ( )
overridedefault

Member Function Documentation

◆ components()

const QVector< Component > & AboutDialog::components ( ) const
inline

Returns the list of components currently loaded into the dialog.

◆ parseManifest()

QVector< AboutDialog::Component > AboutDialog::parseManifest ( const QByteArray &  json,
QString *  errorOut = nullptr 
)
static

Parses a manifest JSON document into a vector of Component rows.

Parameters
jsonUTF-8 JSON bytes (the schema is documented in the spec).
errorOutoptional human-readable parse error.

The documentation for this class was generated from the following files: