From 0112b8766eb9571d103ec6e2d03b5174ee6e3ac4 Mon Sep 17 00:00:00 2001 From: Louie S Date: Fri, 15 Mar 2024 16:49:03 -0400 Subject: Port over data files from pyqt --- CMakeLists.txt | 49 +++++++++++++++++++++++++++---------------- data/assignment-list.desktop | 7 +++++++ data/assignment-list.dia | Bin 0 -> 1426 bytes data/assignment-list.ico | Bin 0 -> 179459 bytes data/assignment-list.svg | 41 ++++++++++++++++++++++++++++++++++++ src/icon/assignment-list.rc | 1 + 6 files changed, 80 insertions(+), 18 deletions(-) create mode 100644 data/assignment-list.desktop create mode 100644 data/assignment-list.dia create mode 100644 data/assignment-list.ico create mode 100644 data/assignment-list.svg create mode 100644 src/icon/assignment-list.rc diff --git a/CMakeLists.txt b/CMakeLists.txt index bd8c8d0..6cf863b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,45 +33,58 @@ endforeach() set(project_sources "src/addEntryForm.cpp" - "src/addEntryForm.h" "src/addGroupForm.cpp" - "src/addGroupForm.h" "src/backend/db_sqlite.cpp" - "src/backend/db_sqlite.h" "src/assignmentList.cpp" - "src/assignmentList.h" - "src/assignmentList.ui" "src/editGroupForm.cpp" - "src/editGroupForm.h" "src/editEntryForm.cpp" - "src/editEntryForm.h" "src/entry.cpp" - "src/entry.h" "src/entryLayout.cpp" - "src/entryLayout.h" - "src/entryForm.ui" "src/group.cpp" - "src/group.h" "src/groupLayout.cpp" - "src/groupLayout.h" - "src/groupForm.ui" "src/lib.cpp" - "src/lib.h" "src/main.cpp" "src/preferencesDialog.cpp" - "src/preferencesDialog.h" - "src/preferencesDialog.ui" "src/rule.cpp" - "src/rule.h" "src/ruleLayout.cpp" - "src/ruleLayout.h" "src/rulesDialog.cpp" +) + +set(project_headers + "src/addEntryForm.h" + "src/addGroupForm.h" + "src/backend/db_sqlite.h" + "src/assignmentList.h" + "src/editGroupForm.h" + "src/editEntryForm.h" + "src/entry.h" + "src/entryLayout.h" + "src/group.h" + "src/groupLayout.h" + "src/lib.h" + "src/preferencesDialog.h" + "src/rule.h" + "src/ruleLayout.h" "src/rulesDialog.h" +) + +set(project_uis + "src/assignmentList.ui" + "src/entryForm.ui" + "src/groupForm.ui" + "src/preferencesDialog.ui" "src/rulesDialog.ui" ) +set(project_misc + "src/icon/assignment-list.rc" +) + add_executable(assignment-list ${project_sources} + ${project_headers} + ${project_uis} + ${project_misc} ) target_link_libraries(assignment-list ${qt_libraries}) diff --git a/data/assignment-list.desktop b/data/assignment-list.desktop new file mode 100644 index 0000000..79c5bf6 --- /dev/null +++ b/data/assignment-list.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=assignment-list +Comment=Assignment List Qt +Exec=assignment-list +Icon=assignment-list +Categories=Utility diff --git a/data/assignment-list.dia b/data/assignment-list.dia new file mode 100644 index 0000000..91404e1 Binary files /dev/null and b/data/assignment-list.dia differ diff --git a/data/assignment-list.ico b/data/assignment-list.ico new file mode 100644 index 0000000..5f00539 Binary files /dev/null and b/data/assignment-list.ico differ diff --git a/data/assignment-list.svg b/data/assignment-list.svg new file mode 100644 index 0000000..d9fbff5 --- /dev/null +++ b/data/assignment-list.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/icon/assignment-list.rc b/src/icon/assignment-list.rc new file mode 100644 index 0000000..a1ed205 --- /dev/null +++ b/src/icon/assignment-list.rc @@ -0,0 +1 @@ +id ICON "../../data/assignment-list.ico" -- cgit