SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
Loading...
Searching...
No Matches
aboutdialog.h
Go to the documentation of this file.
1#ifndef ABOUTDIALOG_H
2#define ABOUTDIALOG_H
3
4#include <QDialog>
5#include <QVBoxLayout>
6#include <QHBoxLayout>
7#include <QLabel>
8#include <QTextBrowser>
9#include <QPushButton>
10#include <QPixmap>
11
19class AboutDialog : public QDialog
20{
21 Q_OBJECT
22
23public:
28 explicit AboutDialog(QWidget* parent = nullptr);
29
33 ~AboutDialog() override = default;
34
39 void setVersion(const QString& version);
40
45 void setBuildDate(const QString& date);
46
51 void appendText(const QString& text);
52
56 void clearText();
57
58private:
62 void setupUI();
63
68 QWidget* createHeader();
69
74 QWidget* createInfoSection();
75
80 QTextBrowser* createDescriptionSection();
81
86 QWidget* createFooter();
87
88private:
89 QLabel* versionLabel;
91 QTextBrowser* descriptionBrowser;
92};
93
94#endif // ABOUTDIALOG_H
Professional about dialog for SedSat3 application.
Definition aboutdialog.h:20
QWidget * createFooter()
Creates the footer with copyright and buttons.
void setVersion(const QString &version)
Sets the application version.
~AboutDialog() override=default
Destructor.
void setupUI()
Sets up the dialog UI.
QTextBrowser * descriptionBrowser
Definition aboutdialog.h:91
QWidget * createInfoSection()
Creates the information section with version and authors.
QLabel * buildDateLabel
Definition aboutdialog.h:90
QLabel * versionLabel
Definition aboutdialog.h:89
QTextBrowser * createDescriptionSection()
Creates the description text browser.
void appendText(const QString &text)
Appends additional text to the description area.
void clearText()
Clears all text from the description area.
QWidget * createHeader()
Creates the header section with logo and title.
void setBuildDate(const QString &date)
Sets the build date.
#define version