def initActions(self): collection = self.actionCollection() self.newAction = KStdAction.openNew(self.slotNew, collection) self.editaddressAction = EditAddresses(self.slotEditAddresses, collection) self.configureAction = ConfigureKonsultant(self.slotConfigure, collection) print self.editaddressAction
def initActions(self): collection = self.actionCollection() self.quitAction = KStdAction.quit(self.close, collection) self.newEntityAction = KStdAction.openNew(self.slotNewEntity, collection) self.newTagAction = NewTagAction(self.slotNewTag, collection) self.manageEntityTypesAction = KStdAction.addBookmark(self.slotManageEntityTypes, collection)
def __init__(self, parent): KMainWindow.__init__(self, parent, 'Uncover Truth Frontend') self.app = get_application_pointer() self.splitView = QSplitter(self, 'splitView') self.listView = KListView(self.splitView, 'guests_view') self.textView = InfoPart(self.splitView) self.initlistView() self.connect(self.listView, SIGNAL('selectionChanged()'), self.selectionChanged) self.connect(self.textView, PYSIGNAL('GuestInfoUpdated'), self.refreshDisplay) self.setCentralWidget(self.splitView) collection = self.actionCollection() self.quitAction = KStdAction.quit(self.close, collection) self.newGuestAction = KStdAction.openNew(self.slotNewGuest, collection) self.selectAllAction = KStdAction.selectAll(self.slotSelectAll, collection) mainmenu = KPopupMenu(self) self.newGuestAction.plug(mainmenu) self.selectAllAction.plug(mainmenu) self.quitAction.plug(mainmenu) menubar = self.menuBar() menubar.insertItem('&Main', mainmenu) toolbar = self.toolBar() self.newGuestAction.plug(toolbar) self.quitAction.plug(toolbar) self.new_guest_dialog = None # resize window self.resize(400, 500) self.splitView.setSizes([75, 325])
def initActions(self): collection = self.actionCollection() self.quitAction = KStdAction.quit(self.close, collection) self.openNewAction = KStdAction.openNew(self.slotOpenNew, collection) self.openAction = KStdAction.open(self.slotOpen, collection) self.saveAction = KStdAction.save(self.slotSave, collection) self.saveAsAction = KStdAction.saveAs(self.slotSaveAs, collection)
def initActions(self): collection = self.actionCollection() self.quitAction = KStdAction.quit(self.close, collection) self.newFamilyAction = KStdAction.openNew(self.newFamily, collection) self.importFamilyAction = KStdAction.open(self.slotImportFamily, collection) self.exportFamilyAction = KStdAction.saveAs(self.slotExportFamily, collection)
def initActions(self): collection = self.actionCollection() self.newAction = KStdAction.openNew(self.slotNewObject, collection) self.quitAction = KStdAction.quit(self.close, collection) self._manage_action_objects = {} ao = self._manage_action_objects ao['machine'] = ManageMachinesAction(self.slotManagemachine, collection) ao['diskconfig'] = ManageDiskConfigAction(self.slotManagediskconfig, collection) ao['kernels'] = ManageKernelsAction(self.slotManagekernels, collection)
def initActions(self): collection = self.actionCollection() self.newAction = KStdAction.openNew(self.slotNewObject, collection) self.quitAction = KStdAction.quit(self.close, collection) self._manage_action_objects = {} for action_name in ManageActionsOrder: slotname = 'slotManage%s' % action_name slot = getattr(self, slotname) action_object = ManageActions[action_name](slot, collection) self._manage_action_objects[action_name] = action_object
def initActions(self): collection = self.actionCollection() self.quitAction = KStdAction.quit(self.close, collection) self.newProfileAction = KStdAction.openNew(self.newProfile, collection)
def initActions(self): collection = self.actionCollection() self.newAction = KStdAction.openNew(self.slotNew, collection) self.quitAction = KStdAction.quit(self.close, collection)
def initActions(self): BaseTextEditWindow.initActions(self) collection = self.actionCollection() self.newAction = KStdAction.openNew( self.mainView.slotCreateNewVariable, collection)
def initActions(self): collection = self.actionCollection() self.quitAction = KStdAction.quit(self.close, collection) self.newProfileAction = KStdAction.openNew(self.newProfile, collection) self.importProfileAction = KStdAction.open(self.slotImportProfile, collection) self.exportProfileAction = KStdAction.saveAs(self.slotExportProfile, collection)
def initActions(self): collection = self.actionCollection() self.quitAction = KStdAction.quit(self.close, collection) self.newFamilyAction = KStdAction.openNew(self.newFamily, collection)
def initActions(self): collection = self.actionCollection() self.quitAction = KStdAction.quit(self.close, collection) self.saveAction = KStdAction.save(self.slotSave, collection) self.newAction = KStdAction.openNew(self.slotNew, collection)
def initActions(self): collection = self.actionCollection() self.quitAction = KStdAction.quit(self.close, collection) self.newClientAction = KStdAction.openNew(self.slotNewClient, collection)
def initActions(self): BaseTextEditWindow.initActions(self) collection = self.actionCollection() self.newAction = KStdAction.openNew(self.mainView.slotCreateNewVariable, collection)
def initActions(self): collection = self.actionCollection() self.quitAction = KStdAction.quit(self.close, collection) self.newEntityTypeAction = KStdAction.openNew(self.slotNewEntityType, collection) self.newExtraFieldAction = KStdAction.addBookmark(self.slotNewExtraField, collection)
def initActions(self): collection = self.actionCollection() self.newAction = KStdAction.openNew(self.slotNewTag, collection) self.editAction = KStdAction.replace(self.slotEditTag, collection) self.quitAction = KStdAction.quit(self.close, collection)