1.连接控制器。 #连接控制器, 控制器默认IP是192.168.0.11,此处使用comboBox内输入的ip def on_btn_open_clicked(self): strtemp = self.ui.comboBox.currentText() print("当前的ip是 :", strtemp) if self.Zmc.handle.value is not None: self.Zmc.ZAux_Close() self.time1.stop() self.ui.setWin...
10self.combox = QtWidgets.QComboBox 11self.combox.addItem("原图") 12self.combox.addItem("模糊") 13self.combox.addItem("灰度") 14self.combox.setCurrentIndex(0) 15 16hbox_layout1 = QtWidgets.QHBoxLayout 17hbox_layout1.addWidget(QtWidgets.QLabel("选择:")) 18hbox_layout1.addWidget(self.com...
Discover new workout ideas, healthy-eating recipes, makeup looks, skin-care advice, the best beauty products and tips, trends, and more from SELF.
1.连接控制器。 #连接控制器, 控制器默认IP是192.168.0.11,此处使用comboBox内输入的ip def on_btn_open_clicked(self): strtemp = self.ui.comboBox.currentText() print("当前的ip是 :", strtemp) if self.Zmc.handle.value is not None: self.Zmc.ZAux_Close() self.time1.stop() self.ui.setWin...
10self.combox = QtWidgets.QComboBox 11self.combox.addItem("原图") 12self.combox.addItem("模糊") 13self.combox.addItem("灰度") 14self.combox.setCurrentIndex(0) 15 16hbox_layout1 = QtWidgets.QHBoxLayout 17hbox_layout1.addWidget(QtWidgets.QLabel("选择:")) ...