UsbRoles.py
Go to the documentation of this file.
00001 # -*- coding: utf-8 -*-
00002 
00003 # Form implementation generated from reading ui file 'UsbRoles.ui'
00004 #
00005 # Created: Wed Jun 10 09:17:48 2015
00006 #      by: PyQt4 UI code generator 4.11.3
00007 #
00008 # WARNING! All changes made in this file will be lost!
00009 
00010 from PyQt4 import QtCore, QtGui
00011 
00012 try:
00013     _fromUtf8 = QtCore.QString.fromUtf8
00014 except AttributeError:
00015     def _fromUtf8(s):
00016         return s
00017 
00018 try:
00019     _encoding = QtGui.QApplication.UnicodeUTF8
00020     def _translate(context, text, disambig):
00021         return QtGui.QApplication.translate(context, text, disambig, _encoding)
00022 except AttributeError:
00023     def _translate(context, text, disambig):
00024         return QtGui.QApplication.translate(context, text, disambig)
00025 
00026 class Ui_UsbRoles(object):
00027     def setupUi(self, UsbRoles):
00028         UsbRoles.setObjectName(_fromUtf8("UsbRoles"))
00029         UsbRoles.resize(210, 92)
00030         icon = QtGui.QIcon()
00031         icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icon.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
00032         UsbRoles.setWindowIcon(icon)
00033         UsbRoles.setStyleSheet(_fromUtf8("QDialog {\n"
00034 "        background-color: qlineargradient(spread:pad, x1:1, y1:0.682, x2:0.966825, y2:0, stop:0 rgba(224, 224, 224, 255), stop:1 rgba(171, 171, 171, 255));\n"
00035 "}"))
00036         self.buttonBox = QtGui.QDialogButtonBox(UsbRoles)
00037         self.buttonBox.setGeometry(QtCore.QRect(20, 60, 181, 32))
00038         self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
00039         self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
00040         self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
00041         self.password = QtGui.QLineEdit(UsbRoles)
00042         self.password.setGeometry(QtCore.QRect(80, 10, 121, 21))
00043         self.password.setEchoMode(QtGui.QLineEdit.Password)
00044         self.password.setObjectName(_fromUtf8("password"))
00045         self.label = QtGui.QLabel(UsbRoles)
00046         self.label.setGeometry(QtCore.QRect(10, 0, 81, 41))
00047         self.label.setObjectName(_fromUtf8("label"))
00048 
00049         self.retranslateUi(UsbRoles)
00050         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), UsbRoles.accept)
00051         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), UsbRoles.reject)
00052         QtCore.QMetaObject.connectSlotsByName(UsbRoles)
00053 
00054     def retranslateUi(self, UsbRoles):
00055         UsbRoles.setWindowTitle(_translate("UsbRoles", "USB Roles", None))
00056         self.password.setPlaceholderText(_translate("UsbRoles", "Enter password", None))
00057         self.label.setText(_translate("UsbRoles", "Password:", None))
00058 
00059 import resource_rc


ric_board
Author(s): RoboTiCan
autogenerated on Fri Oct 27 2017 03:02:31