예제 #1
0
    def __init__(self, parent=None):
        QtGui.QMainWindow.__init__(self)

        self.msUi = Ui_MSMainWindow()
        self.msUi.setupUi(self)

        self.connect(self.msUi.msClickHere, QtCore.SIGNAL('clicked()'),
                     self.onClickHere)
예제 #2
0
class MSExampleWindow(QtGui.QMainWindow):
    def __init__(self, parent=None):
        QtGui.QMainWindow.__init__(self)

        self.msUi = Ui_MSMainWindow()
        self.msUi.setupUi(self)

        self.connect(self.msUi.msClickHere, QtCore.SIGNAL('clicked()'), self.onClickHere)

    def onClickHere(self):
        selectedItems = self.msUi.msComboBox.checkedItems()
        for item in selectedItems:
            print item

        print ("=" * 25)
예제 #3
0
    def __init__(self, parent=None):
        QtGui.QMainWindow.__init__(self)

        self.msUi = Ui_MSMainWindow()
        self.msUi.setupUi(self)

        self.connect(self.msUi.msClickHere, QtCore.SIGNAL('clicked()'), self.onClickHere)
예제 #4
0
class MSExampleWindow(QtGui.QMainWindow):
    def __init__(self, parent=None):
        QtGui.QMainWindow.__init__(self)

        self.msUi = Ui_MSMainWindow()
        self.msUi.setupUi(self)

        self.connect(self.msUi.msClickHere, QtCore.SIGNAL('clicked()'),
                     self.onClickHere)

    def onClickHere(self):
        selectedItems = self.msUi.msComboBox.checkedItems()
        for item in selectedItems:
            print item

        print("=" * 25)