1 Star 0 Fork 8

Glin/Minicontrol

forked from 调试中.../Minicontrol 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dialog_Choose_Device.py 2.21 KB
一键复制 编辑 原始数据 按行查看 历史
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'Dialog_Choose_Device.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_Choose_Device(object):
def setupUi(self, Choose_Device):
Choose_Device.setObjectName(_fromUtf8("Choose_Device"))
Choose_Device.resize(331, 137)
self.verticalLayout = QtGui.QVBoxLayout(Choose_Device)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.verticalLayout_2 = QtGui.QVBoxLayout()
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.verticalLayout.addLayout(self.verticalLayout_2)
self.pushButton = QtGui.QPushButton(Choose_Device)
self.pushButton.setObjectName(_fromUtf8("pushButton"))
self.verticalLayout.addWidget(self.pushButton)
self.buttonBox = QtGui.QDialogButtonBox(Choose_Device)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.verticalLayout.addWidget(self.buttonBox)
self.retranslateUi(Choose_Device)
QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), Choose_Device.on_refresh_click)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Choose_Device.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Choose_Device.reject)
QtCore.QMetaObject.connectSlotsByName(Choose_Device)
def retranslateUi(self, Choose_Device):
Choose_Device.setWindowTitle(_translate("Choose_Device", "Choose Device", None))
self.pushButton.setText(_translate("Choose_Device", "Refresh", None))
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/Gsiao/minicontrol.git
git@gitee.com:Gsiao/minicontrol.git
Gsiao
minicontrol
Minicontrol
master

搜索帮助