00001
00002
00003
00004
00005
00006
00007
00008
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_about(object):
00027 def setupUi(self, about):
00028 about.setObjectName(_fromUtf8("about"))
00029 about.resize(610, 83)
00030 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
00031 sizePolicy.setHorizontalStretch(0)
00032 sizePolicy.setVerticalStretch(0)
00033 sizePolicy.setHeightForWidth(about.sizePolicy().hasHeightForWidth())
00034 about.setSizePolicy(sizePolicy)
00035 about.setMinimumSize(QtCore.QSize(610, 83))
00036 about.setMaximumSize(QtCore.QSize(610, 83))
00037 about.setStyleSheet(_fromUtf8("QDialog{\n"
00038 " 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"
00039 "}"))
00040 self.aboutText = QtGui.QTextEdit(about)
00041 self.aboutText.setEnabled(True)
00042 self.aboutText.setGeometry(QtCore.QRect(0, 0, 611, 151))
00043 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
00044 sizePolicy.setHorizontalStretch(0)
00045 sizePolicy.setVerticalStretch(0)
00046 sizePolicy.setHeightForWidth(self.aboutText.sizePolicy().hasHeightForWidth())
00047 self.aboutText.setSizePolicy(sizePolicy)
00048 self.aboutText.setStyleSheet(_fromUtf8("QTextEdit{\n"
00049 " 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"
00050 "}"))
00051 self.aboutText.setTabChangesFocus(False)
00052 self.aboutText.setUndoRedoEnabled(False)
00053 self.aboutText.setReadOnly(True)
00054 self.aboutText.setAcceptRichText(True)
00055 self.aboutText.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
00056 self.aboutText.setObjectName(_fromUtf8("aboutText"))
00057
00058 self.retranslateUi(about)
00059 QtCore.QMetaObject.connectSlotsByName(about)
00060
00061 def retranslateUi(self, about):
00062 about.setWindowTitle(_translate("about", "About", None))
00063 self.aboutText.setHtml(_translate("about", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
00064 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
00065 "p, li { white-space: pre-wrap; }\n"
00066 "</style></head><body style=\" font-family:\'Ubuntu\'; font-size:11pt; font-weight:400; font-style:normal;\">\n"
00067 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">RIC configurator is a tool design for working with the \'RiCBoard\'.</p>\n"
00068 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n"
00069 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">With this tool you can configure the \'RiCBoard\' parameters to work for your needs.</p>\n"
00070 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Also this tool will manage the external packages which work alongside with \'RiCBoard\'</p></body></html>", None))
00071