Commit graph

77 commits

Author SHA1 Message Date
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
31b9f1f0a1 Nix package: add forgotten vdf dependency
Whoops!
2025-06-02 01:28:14 +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
426e771313 Add vdf dependency 2025-06-02 00:10:28 +02:00
36f0c20985 Nix: update version 2025-05-31 01:54:35 +02:00
ff6ce97df2 Revert "Nix: set package version to git rev"
This reverts commit bd6068d263.
2025-05-31 01:33:19 +02:00
ef634f7ae7 Pyproject: automatically source version 2025-05-30 23:50:27 +02:00
cbaa46f263 Flake: add setuptools-scm to dev environment 2025-05-30 23:50:27 +02:00
9e057c5023 Pyproject: require setuptools-scm 2025-05-30 23:50:27 +02:00
1286dc24fd Nix package: get setuptools-scm 2025-05-30 23:50:27 +02:00
9be4489f9b Remove MANIFEST.in 2025-05-30 23:50:27 +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
bd6068d263 Nix: set package version to git rev 2025-05-30 12:44:04 +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
39fa631592 Main: replace busy indicator with icon
This will be the mod's preview image in the future
2025-05-23 02:21:39 +02:00
fc37977002 leek_app: ignore unused import warning 2025-05-23 02:07:34 +02:00
868eebad2a Main: refactor, wire switch to modEnabled property 2025-05-23 02:03:11 +02:00
454c761a9d QModListModel: rename enabled to modEnabled
enabled seems to conflict with some builtin qml value
2025-05-23 02:00:43 +02:00
0850a23b35 Mod: read toml with get() 2025-05-23 01:50:27 +02:00
54dedaba5d Mod: fix enabled property 2025-05-23 01:47:19 +02:00
de7ebe2e51 Mod: add type annotations 2025-05-23 01:42:14 +02:00
0a52a6fcc9 List mods from QModListModel instead of hardcoded list 2025-05-23 01:01:33 +02:00
6061590270 Move source code to src/leek
This makes the package work again
2025-05-23 00:31:14 +02:00
1a626fddff Fix __main__.py 2025-05-22 15:34:37 +02:00
0a5cb83274 Add qml mod list model 2025-05-22 12:40:21 +02:00
049acf68be Mod: throw InvalidModError when config.toml doesn't exist 2025-05-19 22:24:04 +02:00
dce9e5fcdc Properly set application name and desktop file 2025-05-16 19:33:18 +02:00
620acbeb30 Add basic mod listing 2025-05-16 17:19:40 +02:00
ef25e8a026 Mod: make mypy happy
Moved the enabled setter next to the property, and made type hints
more accurate
2025-05-14 17:37:13 +02:00
3a8406cb19 Mod: return enabled as a bool instead of str 2025-05-14 17:33:59 +02:00