Commit graph

58 commits

Author SHA1 Message Date
3f12fbbecd Pyproject: require setuptools-scm 2025-05-30 11:45:49 +02:00
356f30b61c Nix package: get setuptools-scm 2025-05-30 11:41:53 +02:00
1957e51b49 Remove MANIFEST.in 2025-05-30 11:41: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
8349e4f340 Add src to mypy path 2025-05-14 17:23:06 +02:00
fb81e2bd1f Make ruff happier 2025-05-14 16:25:30 +02:00
9d4b229b44 Enable more ruff rules 2025-05-14 16:12:45 +02:00
64fd7d47e6 Set minimum supported python version 2025-05-14 16:03:34 +02:00
d53fe7160f Ignore missing type info from pyside 2025-05-14 14:50:46 +02:00
bc6c17b940 Flake: add mypy and pylsp-mypy 2025-05-13 21:00:06 +02:00
b5c6b33c68 Flake: make shell with no compiler 2025-05-11 14:57:57 +02:00
a549e9a99c Add Mod class 2025-05-07 00:17:46 +02:00
796f0aa209 Add dependencies to pyproject, add tomlkit 2025-05-07 00:16:25 +02:00
34cf1da185 Update gitignore 2025-05-07 00:13:44 +02:00
010deddc8e Set desktop file and app name 2025-05-06 20:19:00 +02:00
02621b79aa Flake: replace c++ tooling with python tooling in devshell 2025-05-06 16:41:13 +02:00
34b8610432 Revert "Temporarely disable direnv"
This reverts commit aaa6df32b4.
2025-05-06 16:36:09 +02:00
6a4272502e Add nix package 2025-05-06 16:25:12 +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
792ee5c281 Turn into python project 2025-05-06 13:08:25 +02:00
404d8e0f18 Add python code 2025-05-06 12:55:40 +02:00
3707c44450 Update gitignore 2025-05-06 12:46:32 +02:00