diff --git a/main.py b/main.py index c1c1349..79b45f4 100644 --- a/main.py +++ b/main.py @@ -27,6 +27,7 @@ class SeafileUploader(): self.parentWidget = parentWidget self.settingsDialog = self.uil.load(QFile(workingDir + "/settings.ui"), parentWidget) self.settingsDialog.group_account.widget_loggedIn.loginButton.connect("clicked()", self.startAuthenticationProcess) + self.settingsDialog.group_processor.widget_processor.configureButton.connect("clicked()", self.processor.configure(self.settingsDialog)) #self.settingsDialog.group_name.input_name.connect("textChanged(QString)", self.nameFormatEdited) self.settingsDialog.group_location.widget_location.pathEdit.connect("textChanged(QString)", self.locationUpdate) self.settingsDialog.group_location.widget_location.libraryEditDrop.connect("currentIndexChanged(QString)", self.locationUpdate) diff --git a/settings.ui b/settings.ui index fb8bc56..f9782c5 100644 --- a/settings.ui +++ b/settings.ui @@ -6,10 +6,16 @@ 0 0 - 437 - 475 + 500 + 589 + + + 500 + 600 + + Seafile - Settings @@ -78,6 +84,40 @@ + + + + true + + + Processor + + + + + + + + + + + + + 100 + 16777215 + + + + Configure + + + + + + + + + @@ -89,6 +129,12 @@ 0 + + + 16777215 + 300 + + 0 @@ -104,56 +150,62 @@ Location - - - - 20 - 20 - 391 - 101 - - - - - 0 - 0 - - - - Qt::LeftToRight - - - - QLayout::SetDefaultConstraint - - - - - Library + + + + + + 0 + 0 + + + + + 16777215 + 300 + + + + Qt::LeftToRight + + + + QLayout::SetDefaultConstraint - - - - - - - - - - 279 - 16777215 - - - - Screenshots Folder - - - - - - - - + + + + Library + + + + + + + + + + + 279 + 16777215 + + + + Screenshots Folder + + + + + + + + libraryEditDrop + label_5 + label_4 + pathEdit + + +