diff options
author | Louie S <louie@example.com> | 2024-03-16 17:52:01 -0400 |
---|---|---|
committer | Louie S <louie@example.com> | 2024-03-16 17:52:01 -0400 |
commit | 3a9b931e6a8c5d21fb776791cbfaad4bcdb8cc56 (patch) | |
tree | 8e89cbe0c0131a8e5d7e466ba4034bcd4b3dfc33 /src | |
parent | 84137fe7739f14c9dc5697105cf1ae2af4271b4e (diff) |
Tidy up about page
Diffstat (limited to 'src')
-rw-r--r-- | src/assignmentList.cpp | 7 | ||||
-rw-r--r-- | src/assignmentList.ui | 8 | ||||
-rw-r--r-- | src/icon/assignment-list.dia | bin | 0 -> 1426 bytes |
3 files changed, 13 insertions, 2 deletions
diff --git a/src/assignmentList.cpp b/src/assignmentList.cpp index abd2bda..8d041e4 100644 --- a/src/assignmentList.cpp +++ b/src/assignmentList.cpp @@ -14,6 +14,7 @@ #include <QDebug> #include <QErrorMessage> +#include "../config.h" #include "addGroupForm.h" #include "assignmentList.h" #include "backend/db_sqlite.h" @@ -140,5 +141,9 @@ void AssignmentList::cleanHidden() { void AssignmentList::aboutDialog() { QMessageBox about; - about.about(this, "About Assignment List", "Created by Louie S. - 2023"); + QString title("About " + QString(PROJECT_TITLE)); + QString text( + QString(PROJECT_TITLE) + " " + QString(VERSION) + "\n" + + "Created by Louie S. - 2024"); + about.about(this, title, text); } diff --git a/src/assignmentList.ui b/src/assignmentList.ui index bc3c0fb..60c66da 100644 --- a/src/assignmentList.ui +++ b/src/assignmentList.ui @@ -13,6 +13,10 @@ <property name="windowTitle"> <string>Assignment List</string> </property> + <property name="windowIcon"> + <iconset resource="../resources.qrc"> + <normaloff>:/data/assignment-list.svg</normaloff>:/data/assignment-list.svg</iconset> + </property> <widget class="QWidget" name="centralwidget"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> @@ -202,6 +206,8 @@ </property> </action> </widget> - <resources/> + <resources> + <include location="../resources.qrc"/> + </resources> <connections/> </ui> diff --git a/src/icon/assignment-list.dia b/src/icon/assignment-list.dia Binary files differnew file mode 100644 index 0000000..91404e1 --- /dev/null +++ b/src/icon/assignment-list.dia |