This commit is contained in:
janis
2022-10-22 14:59:00 +02:00
parent cef15e5e3a
commit 04509e4d9a
4 changed files with 307 additions and 7 deletions

View File

@@ -7,21 +7,17 @@
#
###########################################################
import sys
from gi.repository import Gtk
import gi
import bin.handler
import multiprocessing
import bin.checks
import bin.arg_assembly
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
arg = bin.arg_assembly.ArgAssembly()
checks = bin.checks.Checks()
handler = bin.handler.Handler()
class ErrorDialogFileMissing(Gtk.Dialog):
def __init__(self, parent):
super().__init__(title="Error", transient_for=parent, flags=0)
@@ -61,7 +57,6 @@ class HomeWindow(Gtk.Window):
self.os_type = sys.platform
self.save_file = ""
self.open_file = ""
# Spawn box
self.main_box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
self.sub_box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL)
@@ -155,6 +150,8 @@ class HomeWindow(Gtk.Window):
self.main_box.pack_end(self.sub_box, True, True, 5)
self.add(self.main_box)
def on_quality_change(self, quality):
# get data from quality changer
self.tree_iter = quality.get_active_iter()