summaryrefslogtreecommitdiff
path: root/src/ui.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ui.py b/src/ui.py
index a6d1516..af5dbda 100644
--- a/src/ui.py
+++ b/src/ui.py
@@ -34,8 +34,13 @@ class KPLayerList(QtGui.QWidget):
self.actRemove = tb.addAction(QtGui.QIcon(), 'Remove', self.removeLayer)
self.actMoveUp = tb.addAction(QtGui.QIcon(), 'Move Up', self.moveUp)
self.actMoveDown = tb.addAction(QtGui.QIcon(), 'Move Down', self.moveDown)
+ self.actBullshit = tb.addAction(QtGui.QIcon(), 'BULLSHIT', self.bullshit)
+ def bullshit(self):
+ import editorui
+ editorui.BULLSHIT()
+
def setButtonStates(self):
index = self.selectedLayerIndex()
@@ -140,6 +145,11 @@ class KPDoodadSelector(QtGui.QWidget):
self.doodadList.currentItemChanged.connect(self.handleRowChanged)
+ # TODO: REMOVE THIS!!!
+ pm = QtGui.QPixmap()
+ pm.load('/home/me/Dropbox/NEWERsmbw/BildOlPipeThingy2x.png')
+ self.addDoodad(pm, 'Test Doodad')
+
def keyPressEvent(self, event):