Example #1
0
 def devattrchangeSetupUi(self, Form):
     self.Form = Form
     Form.setObjectName("Form")
     self.GridLayout = QtGui.QGridLayout(Form)
     self.GridLayout.setObjectName("GridLayout")
     self.deviceCombo = QtGui.QComboBox(Form)
     self.deviceCombo.setObjectName("deviceCombo")
     self.GridLayout.addWidget(self.deviceCombo, 0, 0, 1, 1)
     self.tableWidget = QtGui.QTableWidget(Form)
     self.tableWidget.setObjectName("tableWidget")
     self.GridLayout.addWidget(self.tableWidget, 1, 0, 1, 1)
     self.refreshButton = QtGui.QPushButton(Form)
     self.refreshButton.setObjectName("refreshButton")
     self.GridLayout.addWidget(self.refreshButton, 2, 0, 1, 1)
     self.newDevice = QtGui.QPushButton(Form)
     self.newDevice.setObjectName("newDevice")
     self.GridLayout.addWidget(self.newDevice, 3, 0, 1, 1)
     self.retranslateUi(Form)
     QtCore.QMetaObject.connectSlotsByName(Form)
Example #2
0
 def phonebookSetupUi(self, Form):
     Form.setObjectName("Form")
     self.diffGridLayout = QtGui.QGridLayout(Form)
     self.diffGridLayout.setObjectName("diffGridLayout")
     self.tableWidget = QtGui.QTableWidget(Form)
     self.tableWidget.setObjectName("tableWidget")
     self.tableWidget.setColumnCount(0)
     self.tableWidget.setRowCount(0)
     self.diffGridLayout.addWidget(self.tableWidget, 0, 0, 1, 1)
     self.lowerHorizontalLayout = QtGui.QHBoxLayout()
     self.lowerHorizontalLayout.setObjectName("lowerHorizontalLayout")
     self.addButton = QtGui.QPushButton(Form)
     self.addButton.setObjectName("addButton")
     self.lowerHorizontalLayout.addWidget(self.addButton)
     self.removeButton = QtGui.QPushButton(Form)
     self.removeButton.setObjectName("removeButton")
     self.lowerHorizontalLayout.addWidget(self.removeButton)
     self.refreshButton = QtGui.QPushButton(Form)
     self.refreshButton.setObjectName("refreshButton")
     self.lowerHorizontalLayout.addWidget(self.refreshButton)
     self.diffGridLayout.addLayout(self.lowerHorizontalLayout, 1, 0, 1, 2)
     self.retranslateUi(Form)
     QtCore.QMetaObject.connectSlotsByName(Form)