Ejemplo n.º 1
0
 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()