diff options
author | Thanos Apollo <[email protected]> | 2022-08-04 09:50:48 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2022-08-04 09:50:48 +0300 |
commit | 4ddb7273098bee179bb77e0937e560fc0100960c (patch) | |
tree | cebc2f9412e45910408a7885ca78d7dedb77de78 /.local/share/Anki2/addons21/Background_and_gear/gui/resources | |
parent | e83759ae9d0513024e390810ddcb18ffdd84675e (diff) |
Add anki addons
Diffstat (limited to '.local/share/Anki2/addons21/Background_and_gear/gui/resources')
-rw-r--r-- | .local/share/Anki2/addons21/Background_and_gear/gui/resources/__init__.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.local/share/Anki2/addons21/Background_and_gear/gui/resources/__init__.py b/.local/share/Anki2/addons21/Background_and_gear/gui/resources/__init__.py new file mode 100644 index 0000000..d0c427c --- /dev/null +++ b/.local/share/Anki2/addons21/Background_and_gear/gui/resources/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +# +# Custom background and gear icon Add-on for Anki +# Copyright (C) 2022 +# +# This file was automatically generated by Anki Add-on Builder v1.0.0-dev.2 +# It is subject to the same licensing terms as the rest of the program +# (see the LICENSE file which accompanies this program). +# +# WARNING! All changes made in this file will be lost! + +""" +Initializes generated Qt forms/resources +""" + +from pathlib import Path +from aqt.qt import QDir + +def initialize_qt_resources(): + QDir.addSearchPath("CustomBackground", str(Path(__file__).parent / "CustomBackground")) + +initialize_qt_resources() |