rebase codebase, delete trunk, move threads to backend

This commit is contained in:
2025-01-14 16:20:08 +01:00
parent fba652006f
commit 08cd18f3f1
106 changed files with 1604 additions and 1057 deletions

View File

@@ -1,13 +1,10 @@
from .dialog_sources.Ui_about import Ui_about
from PyQt6 import QtWidgets
from PyQt6.QtCore import PYQT_VERSION_STR
from src import (
Icon,
__version__,
__author__
)
from src import Icon, __version__, __author__
from omegaconf import OmegaConf
class About(QtWidgets.QDialog, Ui_about):
def __init__(self, parent=None):
super().__init__(parent)
@@ -15,33 +12,35 @@ class About(QtWidgets.QDialog, Ui_about):
self.setWindowIcon(Icon("info").icon)
self.setWindowTitle("About")
self.setInfo()
def test(self):
pass
def setInfo(self):
#add left most column to columnview
# add left most column to columnview
data = {
"Version": __version__,
"Author": __author__,
"PyQt6 Version": PYQT_VERSION_STR,
"License": "MIT License",
"Icons":"""Google Material Design Icons (https://fonts.google.com/icons)
"Icons": """Google Material Design Icons (https://fonts.google.com/icons)
StableDiffusion (logo)
svgrepo (https://www.svgrepo.com)"""
svgrepo (https://www.svgrepo.com)""",
}
description = ""
for key, value in data.items():
description += f"{key}: {value}\n"
self.description.setText(description)
pass
def launch_about():
app = QtWidgets.QApplication([])
window = About()
window.show()
app.exec()
app.exec()
if __name__ == "__main__":
pass
pass