diff options
Diffstat (limited to '')
-rw-r--r-- | src/ui.py | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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): |