diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/__base__.py | 5 | ||||
| -rw-r--r-- | src/components/original.py | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/components/__base__.py b/src/components/__base__.py index 84d41c8..9b04157 100644 --- a/src/components/__base__.py +++ b/src/components/__base__.py @@ -144,6 +144,11 @@ class Component(QtCore.QObject): height = int(self.worker.core.settings.value('outputHeight')) image = Image.new("RGBA", (width, height), (0,0,0,0)) return image + + @classmethod + def names(cls): + # Alternative names for renaming a component between project files + return [] ''' diff --git a/src/components/original.py b/src/components/original.py index 0185e0d..8450aa1 100644 --- a/src/components/original.py +++ b/src/components/original.py @@ -9,10 +9,14 @@ from copy import copy class Component(__base__.Component): - '''Original Audio Visualization''' + '''Classic Visualizer''' modified = QtCore.pyqtSignal(int, dict) + @classmethod + def names(cls): + return ['Original Audio Visualization'] + def widget(self, parent): self.parent = parent self.visColor = (255, 255, 255) |
