Exemplo n.º 1
0
    def __init__(self):
        #
        QtGui.QMainWindow.__init__(self)
        self.setupUi(self)
        self.i18n()

        self.plugins = pluginManager()

        self.actionList = EActionList(self, self.plugins)
        self.actionListLayout.addWidget( self.actionList )

        #QtCore.QObject.connect(self.actionExit,  QtCore.SIGNAL("triggered (bool)"),  self.exit)
        #QtCore.QObject.connect(self.actionBuild_from_Installation,  QtCore.SIGNAL("triggered (bool)"),  self.pasoBuildfromIns)
        #self.setWindowTitle("%s   -   %s" %(const.NAME, self.pasoFName))

        self.move(( (QtGui.QApplication.desktop().width()- self.width()) / 2 ),
            ( (QtGui.QApplication.desktop().height()- self.height()) / 2 ))
        self.checkInputList()
Exemplo n.º 2
0
 def on_actionPlugins_triggered(self):
     dialog = pluginManager(self.plugins)
     dialog.exec_()