Ejemplo n.º 1
0
class DefaultModuleConfigurationWidget(StandardModuleConfigurationWidget):
    def __init__(self, module, controller, parent=None):
        StandardModuleConfigurationWidget.__init__(self, module, controller, parent)
        self.prompt = QPromptWidget()
        self.prompt.setPromptText(
            "Please use the visibility icon (an eye) in" " the Module Information panel to show or" " hide a port."
        )
        layout = QtGui.QVBoxLayout()
        layout.addWidget(self.prompt)
        self.setLayout(layout)
        self.prompt.showPrompt()

    def saveTriggered(self):
        pass

    def resetTriggered(self):
        pass
Ejemplo n.º 2
0
class DefaultModuleConfigurationWidget(StandardModuleConfigurationWidget):
    def __init__(self, module, controller, parent=None):
        StandardModuleConfigurationWidget.__init__(self, module, controller,
                                                   parent)
        self.prompt = QPromptWidget()
        self.prompt.setPromptText("Please use the visibility icon (an eye) in"
                                  " the Module Information panel to show or"
                                  " hide a port.")
        layout = QtGui.QVBoxLayout()
        layout.addWidget(self.prompt)
        self.setLayout(layout)
        self.prompt.showPrompt()

    def saveTriggered(self):
        pass

    def resetTriggered(self):
        pass