Commit graph

59 commits

Author SHA1 Message Date
b0cebe12a0 Qml/Main: move add mod action to global drawer 2025-06-06 04:18:44 +02:00
0ad0b3e605 ModInstaller: check if mod is already installed 2025-06-06 04:18:44 +02:00
a130a23a8a Qml/main: add add mod action 2025-06-06 04:18:44 +02:00
56b63fe673 ModInstaller: add install method 2025-06-06 04:18:44 +02:00
6290a18c52 Add ModInstaller class 2025-06-06 04:18:44 +02:00
bd2713fe8d Qml/Main: show placeholder if there's no mods 2025-06-06 04:17:08 +02:00
95364a5596 Qml/ModPage: implement deleting 2025-06-06 04:02:38 +02:00
4dba9ad425 Qml/ModPage: add delete shortcut 2025-06-06 04:00:46 +02:00
2bda69ba4b Qml/ModPage: remove model property
QModListModel is a singleton now so this isn't needed
2025-06-06 04:00:46 +02:00
7ac5f7470e Qml/ModPage: complete delete confirmation dialog 2025-06-06 03:47:56 +02:00
b61d1d1fa9 Qml/ModPage: fix remove action 2025-06-06 03:47:56 +02:00
5baa7840de Qml/ModPage: get model and index from mod 2025-06-06 03:47:56 +02:00
3024eb9a3d Qml: Move delete dialog and button to mod details page 2025-06-06 03:47:56 +02:00
a2789b1704 QModList: implement removing mods 2025-06-06 03:47:56 +02:00
cf8e77d844 QMod: expose paths
The pathlib path is only exposed to python
2025-06-06 03:47:56 +02:00
1061acbe6b QModListModel: turn into singleton 2025-06-06 03:47:17 +02:00
631cdb4938 Qml/Main: add shortcut to quit action 2025-06-05 22:49:52 +02:00
15a00512a8 Qml: run qmlformat 2025-06-05 13:23:47 +02:00
e17cc20cdb Qml/Main: add global drawer 2025-06-05 13:22:54 +02:00
79ef083231 Show mod details page in same window 2025-06-05 13:06:46 +02:00
42943a4bd5 Qml/ModPage: show description 2025-06-05 11:33:18 +02:00
446ca73a91 Qml/ModPage: make name bold and bigger, show authors 2025-06-05 02:25:07 +02:00
4edfdc8706 QMod: Add authors property 2025-06-05 02:24:23 +02:00
14964e0203 Qml/ModPage: tint header with icon's primary color 2025-06-05 01:55:56 +02:00
1ab178ac42 Qml/ModPage: change anchors of header contents 2025-06-05 00:57:20 +02:00
bda1040151 Qml/ModPage: add icon
The icon will change depending on the type of mod that was installed
Only if it was installed from GameBanana, otherwise it will show
dma's logo or a generic one
2025-06-05 00:51:33 +02:00
2f715e196c Qml/ModPage: add a separator at the bottom of the header
Also removed the one pixed gap cause it made it look odd
2025-06-05 00:39:57 +02:00
b3b1c7b4c6 Qml/main: open mod details page when card is clicked 2025-06-05 00:35:31 +02:00
2ad0e0597c Qml: add ModPage 2025-06-05 00:23:16 +02:00
d33d91c0be Leek-app: switch to QApplication
This fixes the near constant console spam
2025-06-04 02:10:20 +02:00
f2cc48f705 QModListModel: get game path with GameFinder 2025-06-02 01:24:52 +02:00
67edfdf743 Add GameFinder class 2025-06-02 01:21:55 +02:00
76fba3ed84 Mod: return list of authors
Closes #13
2025-05-30 21:57:15 +02:00
bb858ef261 Mod, QMod: add long description property 2025-05-30 13:02:05 +02:00
da8749e1a7 Mod: read name, description and authors from json if available 2025-05-30 13:02:05 +02:00
bfefcd757e Mod: parse meta.json if it exists 2025-05-30 13:02:05 +02:00
56165d0cef Mod: remove unneded else statement 2025-05-30 13:02:05 +02:00
f07bd10306 Qml/main: add a not implemented dialog to the delete button 2025-05-30 12:13:33 +02:00
ad4f429cd9 Move qml files to their own folder 2025-05-29 18:01:02 +02:00
20f459ddad Main: center and remove text on switch 2025-05-29 18:01:02 +02:00
b1fbd4dea6 QMod: remove leftover debug message 2025-05-28 17:42:27 +02:00
f111950c65 QModListModel: ignore .stfolder
Fixes #9
2025-05-28 17:34:55 +02:00
af77bc105d QMod: make enable property writable 2025-05-28 17:34:43 +02:00
999cf68655 Mod: fix mod enabling/disabling multiple times
I forgot to update the enabled variable, so this would only work the
first time it gets called
2025-05-28 17:04:17 +02:00
f3650c10a9 Format code 2025-05-28 10:50:13 +02:00
669dd9168d QModListModel: return QMod to qml instead of individual properties 2025-05-28 10:42:23 +02:00
058a8346bd Add Mod() Qt wrapper 2025-05-28 10:15:38 +02:00
ad10a116ac Main.qml: Make the no description text italic 2025-05-27 10:53:51 +02:00
5cfab64b07 mod: use Path instead of strings 2025-05-25 14:31:46 +02:00
6918e175c4 mod_list: use Path instad of strings 2025-05-25 14:24:40 +02:00