diff options
| author | Martin Kaistra | 2017-04-22 10:42:31 +0200 |
|---|---|---|
| committer | Martin Kaistra | 2017-04-22 10:42:31 +0200 |
| commit | 6eb601ca9ab2d9efbe591e5f6ae0f19e732260a6 (patch) | |
| tree | 9677c2cf51695134e6ffbfc288e33fb74a7ba667 /video_thread.py | |
| parent | 19cf45785461ffd44c8bdec7ae4634bf828e75ed (diff) | |
| parent | 4aef5bfdb7f04dde13b1c6a94172824ce143be6e (diff) | |
Merge branch 'font-settings#8' of https://github.com/HunterwolfAT/audio-visualizer-python into HunterwolfAT-font-settings#8
Diffstat (limited to 'video_thread.py')
| -rw-r--r-- | video_thread.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/video_thread.py b/video_thread.py index 9f4ce7b..1d1d44b 100644 --- a/video_thread.py +++ b/video_thread.py @@ -18,14 +18,18 @@ class Worker(QtCore.QObject): self.core = core.Core() - @pyqtSlot(str, str, QtGui.QFont, str, str) - def createVideo(self, backgroundImage, titleText, titleFont, inputFile, outputFile): + @pyqtSlot(str, str, QtGui.QFont, int, int, int, int, str, str) + def createVideo(self, backgroundImage, titleText, titleFont, fontSize, alignment, xOffset, yOffset, inputFile, outputFile): # print('worker thread id: {}'.format(QtCore.QThread.currentThreadId())) imBackground = self.core.drawBaseImage( backgroundImage, titleText, - titleFont) + titleFont, + fontSize, + alignment, + xOffset, + yOffset) self.progressBarUpdate.emit(0) |
