summaryrefslogtreecommitdiff
path: root/src/frontend/gui/sisyphus-gui.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-25 12:47:26 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-03-25 12:47:26 +0100
commit405503df01e3300304939517994dfb94677858ed (patch)
tree120c3ccd30067130513a94340f6c3ffaac1aef8a /src/frontend/gui/sisyphus-gui.py
parentb9d56194b7f434e8ae748d1cffb5a8734c548a4e (diff)
connect sisyphus-config to main application
Diffstat (limited to 'src/frontend/gui/sisyphus-gui.py')
-rwxr-xr-xsrc/frontend/gui/sisyphus-gui.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index 613c433..9ef3550 100755
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -7,6 +7,7 @@ import atexit
from collections import OrderedDict
from PyQt5 import QtCore, QtGui, QtWidgets, uic
from libsisyphus import *
+from sisyphusconfig import SisyphusConfig
class Sisyphus(QtWidgets.QMainWindow):
@@ -44,6 +45,8 @@ class Sisyphus(QtWidgets.QMainWindow):
self.inputBox.textEdited.connect(self.searchDatabase)
+ self.settingsButton.clicked.connect(self.sisyphusSettings)
+
self.updateWorker = UpdateWorker()
self.updateThread = QtCore.QThread()
self.updateWorker.moveToThread(self.updateThread)
@@ -298,6 +301,10 @@ class Sisyphus(QtWidgets.QMainWindow):
def updateStatusBar(self, workerMessage):
self.statusBar().showMessage(workerMessage)
+ def sisyphusSettings(self):
+ self.window = SisyphusConfig()
+ self.window.show()
+
def sisyphusExit(self):
self.close()