summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-03-15 16:49:03 -0400
committerLouie S <louie@example.com>2024-03-15 16:49:03 -0400
commit0112b8766eb9571d103ec6e2d03b5174ee6e3ac4 (patch)
tree2527061bd04590829088205db45e2d576c51e1d0
parent6c9d7e079cceade194b5faa6c65e98920be697ef (diff)
Port over data files from pyqt
-rw-r--r--CMakeLists.txt49
-rw-r--r--data/assignment-list.desktop7
-rw-r--r--data/assignment-list.diabin0 -> 1426 bytes
-rw-r--r--data/assignment-list.icobin0 -> 179459 bytes
-rw-r--r--data/assignment-list.svg41
-rw-r--r--src/icon/assignment-list.rc1
6 files changed, 80 insertions, 18 deletions
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
--- /dev/null
+++ b/data/assignment-list.dia
Binary files differ
diff --git a/data/assignment-list.ico b/data/assignment-list.ico
new file mode 100644
index 0000000..5f00539
--- /dev/null
+++ b/data/assignment-list.ico
Binary files 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 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/PR-SVG-20010719/DTD/svg10.dtd">
+<svg width="19cm" height="19cm" viewBox="8 18 363 363" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <g>
+ <rect style="fill: #8b6914" x="10" y="50" width="360" height="330"/>
+ <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="10" y="50" width="360" height="330"/>
+ </g>
+ <g>
+ <rect style="fill: #ffffff" x="30" y="70" width="320" height="300"/>
+ <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="30" y="70" width="320" height="300"/>
+ </g>
+ <line style="fill: none; fill-opacity:0; stroke-width: 0.4; stroke: #000000" x1="30" y1="370" x2="350" y2="370"/>
+ <line style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x1="30" y1="140" x2="350" y2="140"/>
+ <line style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x1="30" y1="180" x2="350" y2="180"/>
+ <line style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x1="30" y1="220" x2="350" y2="220"/>
+ <line style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x1="30" y1="260" x2="350" y2="260"/>
+ <line style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x1="30" y1="300" x2="350" y2="300"/>
+ <g>
+ <polygon style="fill: #eac778" points="100,200 160,260 60,300 "/>
+ <polygon style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" points="100,200 160,260 60,300 "/>
+ </g>
+ <g>
+ <polygon style="fill: #000000" points="77,258 100,284 60,300 "/>
+ <polygon style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" points="77,258 100,284 60,300 "/>
+ </g>
+ <g>
+ <polygon style="fill: #ffff00" points="100,200 160,260 260,160 220,120 "/>
+ <polygon style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" points="100,200 160,260 260,160 220,120 "/>
+ </g>
+ <line style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x1="108" y1="208" x2="220" y2="120"/>
+ <line style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x1="148" y1="248" x2="260" y2="160"/>
+ <line style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x1="130" y1="230" x2="240" y2="140"/>
+ <line style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x1="30" y1="340" x2="350" y2="340"/>
+ <ellipse style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" cx="110" cy="60" rx="10" ry="40"/>
+ <ellipse style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" cx="150" cy="60" rx="10" ry="40"/>
+ <ellipse style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" cx="190" cy="60" rx="10" ry="40"/>
+ <ellipse style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" cx="70" cy="60" rx="10" ry="40"/>
+ <ellipse style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" cx="270" cy="60" rx="10" ry="40"/>
+ <ellipse style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" cx="310" cy="60" rx="10" ry="40"/>
+ <ellipse style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" cx="230" cy="60" rx="10" ry="40"/>
+</svg>
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"