aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorMaximilian Siess2017-04-20 19:25:34 +0200
committerMaximilian Siess2017-04-20 19:25:34 +0200
commita170996259d2a135a0e559e0f674cf997e58769e (patch)
tree07408bc760161abcddad2595634614203ddc9e33 /main.py
parent8423d958201f0230f4c4887a4b75f14f54a2161a (diff)
added font size and text position to video thread
Diffstat (limited to 'main.py')
-rw-r--r--main.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.py b/main.py
index bc0a015..5808baa 100644
--- a/main.py
+++ b/main.py
@@ -16,7 +16,7 @@ class Main(QtCore.QObject):
newTask = QtCore.pyqtSignal(str, str, QFont, int, str, int, int)
processTask = QtCore.pyqtSignal()
- videoTask = QtCore.pyqtSignal(str, str, QFont, str, str, str)
+ videoTask = QtCore.pyqtSignal(str, str, QFont, int, str, int, int, str, str)
def __init__(self, window):
@@ -134,7 +134,10 @@ class Main(QtCore.QObject):
self.videoTask.emit(self.window.label_background.text(),
self.window.lineEdit_title.text(),
self.window.fontComboBox.currentFont(),
+ self.window.fontsizeSpinBox.value(),
self.window.alignmentComboBox.currentText(),
+ self.window.textXSpinBox.value(),
+ self.window.textYSpinBox.value(),
self.window.label_input.text(),
self.window.label_output.text())