aboutsummaryrefslogtreecommitdiff
path: root/src/component.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/component.py')
-rw-r--r--src/component.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/component.py b/src/component.py
index b5e7d93..6637eac 100644
--- a/src/component.py
+++ b/src/component.py
@@ -1,11 +1,12 @@
+'''
+ Base classes for components to import.
+'''
from PyQt5 import uic, QtCore, QtWidgets
-from PIL import Image
import os
class Component(QtCore.QObject):
- '''A base class for components to inherit from'''
-
+ ''' A class for components to inherit.'''
# modified = QtCore.pyqtSignal(int, bool)
def __init__(self, moduleIndex, compPos, core):
@@ -82,9 +83,6 @@ class Component(QtCore.QObject):
def commandHelp(self):
'''Print help text for this Component's commandline arguments'''
- def blankFrame(self, width, height):
- return Image.new("RGBA", (width, height), (0, 0, 0, 0))
-
def pickColor(self):
'''Use color picker to get color input from the user,
and return this as an RGB string and QPushButton stylesheet.