diff options
| author | tassaron | 2017-07-09 21:27:29 -0400 |
|---|---|---|
| committer | tassaron | 2017-07-09 21:27:29 -0400 |
| commit | 4c3920e6309b4e67e3d8d809dd0b5b6cd245fd0c (patch) | |
| tree | db011987ce41bd78bb62a60297bb0663b900cfe4 /src/component.py | |
| parent | f6fbc8d2423ac5ae683a7613b53648db3e02e323 (diff) | |
separated creation of ffmpeg command
for future use to sllow editing the command before starting the export
Diffstat (limited to 'src/component.py')
| -rw-r--r-- | src/component.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/component.py b/src/component.py index 306072c..7c2f753 100644 --- a/src/component.py +++ b/src/component.py @@ -27,6 +27,13 @@ class Component(QtCore.QObject): # change this number to identify new versions of a component return 1 + def properties(self): + ''' + Return a list of properties to signify if your component is + non-animated ('static') or returns sound ('audio'). + ''' + return [] + def cancel(self): # please stop any lengthy process in response to this variable self.canceled = True @@ -57,9 +64,6 @@ class Component(QtCore.QObject): self.progressBarSetText = signal to set progress bar text Use the latter two signals to update the MainWindow if needed for a long initialization procedure (i.e., for a visualizer) - - Return a list of properties to signify if your component is - non-animated ('static') or returns sound ('audio'). ''' for var, value in kwargs.items(): exec('self.%s = value' % var) |
