|
SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
|
Professional about dialog for SedSat3 application. More...
#include </home/runner/work/SedSat3/SedSat3/aboutdialog.h>


Public Member Functions | |
| AboutDialog (QWidget *parent=nullptr) | |
| Constructs the about dialog. | |
| ~AboutDialog () override=default | |
| Destructor. | |
| void | setVersion (const QString &version) |
| Sets the application version. | |
| void | setBuildDate (const QString &date) |
| Sets the build date. | |
| void | appendText (const QString &text) |
| Appends additional text to the description area. | |
| void | clearText () |
| Clears all text from the description area. | |
Private Member Functions | |
| void | setupUI () |
| Sets up the dialog UI. | |
| QWidget * | createHeader () |
| Creates the header section with logo and title. | |
| QWidget * | createInfoSection () |
| Creates the information section with version and authors. | |
| QTextBrowser * | createDescriptionSection () |
| Creates the description text browser. | |
| QWidget * | createFooter () |
| Creates the footer with copyright and buttons. | |
Private Attributes | |
| QLabel * | versionLabel |
| QLabel * | buildDateLabel |
| QTextBrowser * | descriptionBrowser |
Professional about dialog for SedSat3 application.
Displays application information including version, authors, description, and copyright information. Built entirely in code without .ui file.
Definition at line 19 of file aboutdialog.h.
|
explicit |
Constructs the about dialog.
| parent | Parent widget |
Definition at line 7 of file aboutdialog.cpp.
References setupUI().
|
overridedefault |
Destructor.
| void AboutDialog::appendText | ( | const QString & | text | ) |
Appends additional text to the description area.
| text | Text to append |
Definition at line 225 of file aboutdialog.cpp.
References descriptionBrowser.
| void AboutDialog::clearText | ( | ) |
Clears all text from the description area.
Definition at line 233 of file aboutdialog.cpp.
References descriptionBrowser.
|
private |
Creates the description text browser.
Definition at line 127 of file aboutdialog.cpp.
References descriptionBrowser.
Referenced by setupUI().
|
private |
Creates the footer with copyright and buttons.
Definition at line 155 of file aboutdialog.cpp.
Referenced by setupUI().
|
private |
Creates the header section with logo and title.
Definition at line 37 of file aboutdialog.cpp.
Referenced by setupUI().
|
private |
Creates the information section with version and authors.
Definition at line 77 of file aboutdialog.cpp.
References buildDateLabel, and versionLabel.
Referenced by setupUI().
| void AboutDialog::setBuildDate | ( | const QString & | date | ) |
Sets the build date.
| date | Date string (e.g., "December 20, 2025") |
Definition at line 217 of file aboutdialog.cpp.
References buildDateLabel.
Referenced by MainWindow::onAboutTriggered().
|
private |
Sets up the dialog UI.
Definition at line 16 of file aboutdialog.cpp.
References createDescriptionSection(), createFooter(), createHeader(), and createInfoSection().
Referenced by AboutDialog().
| void AboutDialog::setVersion | ( | const QString & | version | ) |
Sets the application version.
| version | Version string (e.g., "1.1.3") |
Definition at line 209 of file aboutdialog.cpp.
References version, and versionLabel.
Referenced by MainWindow::onAboutTriggered().
|
private |
Definition at line 90 of file aboutdialog.h.
Referenced by createInfoSection(), and setBuildDate().
|
private |
Definition at line 91 of file aboutdialog.h.
Referenced by appendText(), clearText(), and createDescriptionSection().
|
private |
Definition at line 89 of file aboutdialog.h.
Referenced by createInfoSection(), and setVersion().