Commit graph

81 commits

Author SHA1 Message Date
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
fb81e2bd1f Make ruff happier 2025-05-14 16:25:30 +02:00
a549e9a99c Add Mod class 2025-05-07 00:17:46 +02:00
010deddc8e Set desktop file and app name 2025-05-06 20:19:00 +02:00
1575222c9d Rename main.py, fix qml path 2025-05-06 16:22:21 +02:00
786be23b6e Make project importable 2025-05-06 13:11:03 +02:00
404d8e0f18 Add python code 2025-05-06 12:55:40 +02:00
3412339fe5 Remove cmake files and c++ code 2025-05-06 12:37:41 +02:00
400f7a6c23 Add basic code 2025-04-27 23:42:20 +02:00