Exemplo n.º 1
0
class RequestDescription(QtWidgets.QDialog):

    def __init__(self, parent=None):
        QtWidgets.QDialog.__init__(self, parent)
        self.ui = Ui_Dialog()
        self.ui.setupUi(self)

    def getDescription(self):
        return self.ui.line_description.text()
Exemplo n.º 2
0
 def __init__(self, parent=None):
     QtWidgets.QDialog.__init__(self, parent)
     self.ui = Ui_Dialog()
     self.ui.setupUi(self)