source: ogAgent-Git/src/about_dialog_ui.py @ 98fc98d

configure-ptt-chedecorare-oglive-methodsejecutarscript-b64fix-cfg2objfixes-winlgromero-filebeatmainmodulesnew-browserno-ptt-paramogadmcliogadmclient-statusogagent-jobsogagent-macosogcore1ogliveoglogoglog2override-moduleping1ping2ping3ping4py3-winpython3qndtestreport-progresstlsunification2unification3versionswindows-fixes
Last change on this file since 98fc98d was 11f7a07, checked in by ramon <ramongomez@…>, 9 years ago

#718: Integrar código fuente de agente OGAgent en rama de desarrollo.

git-svn-id: https://opengnsys.es/svn/branches/version1.1@4865 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 15.4 KB
Line 
1# -*- coding: utf-8 -*-
2
3# Form implementation generated from reading ui file 'about-dialog.ui'
4#
5# Created by: PyQt4 UI code generator 4.11.4
6#
7# WARNING! All changes made in this file will be lost!
8
9from PyQt4 import QtCore, QtGui
10
11try:
12    _fromUtf8 = QtCore.QString.fromUtf8
13except AttributeError:
14    def _fromUtf8(s):
15        return s
16
17try:
18    _encoding = QtGui.QApplication.UnicodeUTF8
19    def _translate(context, text, disambig):
20        return QtGui.QApplication.translate(context, text, disambig, _encoding)
21except AttributeError:
22    def _translate(context, text, disambig):
23        return QtGui.QApplication.translate(context, text, disambig)
24
25class Ui_OGAAboutDialog(object):
26    def setupUi(self, OGAAboutDialog):
27        OGAAboutDialog.setObjectName(_fromUtf8("OGAAboutDialog"))
28        OGAAboutDialog.resize(466, 402)
29        font = QtGui.QFont()
30        font.setFamily(_fromUtf8("Verdana"))
31        font.setPointSize(9)
32        OGAAboutDialog.setFont(font)
33        OGAAboutDialog.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
34        OGAAboutDialog.setModal(True)
35        self.vboxlayout = QtGui.QVBoxLayout(OGAAboutDialog)
36        self.vboxlayout.setMargin(9)
37        self.vboxlayout.setSpacing(9)
38        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
39        self.LogoLabel = QtGui.QLabel(OGAAboutDialog)
40        self.LogoLabel.setObjectName(_fromUtf8("LogoLabel"))
41        self.vboxlayout.addWidget(self.LogoLabel)
42        spacerItem = QtGui.QSpacerItem(20, 5, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
43        self.vboxlayout.addItem(spacerItem)
44        self.TitleLabel = QtGui.QLabel(OGAAboutDialog)
45        self.TitleLabel.setObjectName(_fromUtf8("TitleLabel"))
46        self.vboxlayout.addWidget(self.TitleLabel)
47        self.VersionLabel = QtGui.QLabel(OGAAboutDialog)
48        self.VersionLabel.setObjectName(_fromUtf8("VersionLabel"))
49        self.vboxlayout.addWidget(self.VersionLabel)
50        spacerItem1 = QtGui.QSpacerItem(20, 5, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
51        self.vboxlayout.addItem(spacerItem1)
52        self.tabWidget = QtGui.QTabWidget(OGAAboutDialog)
53        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
54        self.aboutTab = QtGui.QWidget()
55        self.aboutTab.setObjectName(_fromUtf8("aboutTab"))
56        self.vboxlayout1 = QtGui.QVBoxLayout(self.aboutTab)
57        self.vboxlayout1.setMargin(9)
58        self.vboxlayout1.setSpacing(6)
59        self.vboxlayout1.setObjectName(_fromUtf8("vboxlayout1"))
60        self.aboutBrowser = QtGui.QTextBrowser(self.aboutTab)
61        self.aboutBrowser.setOpenExternalLinks(True)
62        self.aboutBrowser.setObjectName(_fromUtf8("aboutBrowser"))
63        self.vboxlayout1.addWidget(self.aboutBrowser)
64        self.tabWidget.addTab(self.aboutTab, _fromUtf8(""))
65        self.authorsTab = QtGui.QWidget()
66        self.authorsTab.setObjectName(_fromUtf8("authorsTab"))
67        self.vboxlayout2 = QtGui.QVBoxLayout(self.authorsTab)
68        self.vboxlayout2.setMargin(9)
69        self.vboxlayout2.setSpacing(6)
70        self.vboxlayout2.setObjectName(_fromUtf8("vboxlayout2"))
71        self.authorsBrowser = QtGui.QTextBrowser(self.authorsTab)
72        self.authorsBrowser.setOpenExternalLinks(True)
73        self.authorsBrowser.setObjectName(_fromUtf8("authorsBrowser"))
74        self.vboxlayout2.addWidget(self.authorsBrowser)
75        self.tabWidget.addTab(self.authorsTab, _fromUtf8(""))
76        self.licenseTab = QtGui.QWidget()
77        self.licenseTab.setObjectName(_fromUtf8("licenseTab"))
78        self.vboxlayout3 = QtGui.QVBoxLayout(self.licenseTab)
79        self.vboxlayout3.setMargin(9)
80        self.vboxlayout3.setSpacing(6)
81        self.vboxlayout3.setObjectName(_fromUtf8("vboxlayout3"))
82        self.licenseBrowser = QtGui.QTextBrowser(self.licenseTab)
83        self.licenseBrowser.setObjectName(_fromUtf8("licenseBrowser"))
84        self.vboxlayout3.addWidget(self.licenseBrowser)
85        self.tabWidget.addTab(self.licenseTab, _fromUtf8(""))
86        self.vboxlayout.addWidget(self.tabWidget)
87        self.buttonBox = QtGui.QDialogButtonBox(OGAAboutDialog)
88        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
89        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
90        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
91        self.vboxlayout.addWidget(self.buttonBox)
92
93        self.retranslateUi(OGAAboutDialog)
94        self.tabWidget.setCurrentIndex(0)
95        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("clicked(QAbstractButton*)")), OGAAboutDialog.closeDialog)
96        QtCore.QMetaObject.connectSlotsByName(OGAAboutDialog)
97
98    def retranslateUi(self, OGAAboutDialog):
99        OGAAboutDialog.setWindowTitle(_translate("OGAAboutDialog", "About OGAgent", None))
100        self.LogoLabel.setText(_translate("OGAAboutDialog", "<html><head/><body><p><img src=\":/images/img/oga.png\"/>OpenGnsys Agent Tools</p></body></html>", None))
101        self.TitleLabel.setText(_translate("OGAAboutDialog", "<html><head/><body><p><span style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:600;\">OpenGnsys Agent</span></p></body></html>", None))
102        self.VersionLabel.setText(_translate("OGAAboutDialog", "Version 1.0.0", None))
103        self.aboutBrowser.setHtml(_translate("OGAAboutDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
104"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
105"p, li { white-space: pre-wrap; }\n"
106"</style></head><body style=\" font-family:\'Verdana\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
107"<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; font-family:\'Sans Serif\';\"><br /></p>\n"
108"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Sans Serif\'; font-weight:600;\">(c) 2014, Virtual Cable S.L.U.</span></p>\n"
109"<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; font-family:\'Sans Serif\'; font-style:italic;\"><br /></p>\n"
110"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a href=\"http://www.udsenterprise.com\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt; text-decoration: underline; color:#0000ff;\">http://www.opengnsys.es</span></a></p>\n"
111"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a href=\"http://www.openuds.org\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt; text-decoration: underline; color:#0000ff;\">http://www.udsenterprise.com</span></a></p>\n"
112"<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; font-family:\'Sans Serif\';\"><br /></p></body></html>", None))
113        self.tabWidget.setTabText(self.tabWidget.indexOf(self.aboutTab), _translate("OGAAboutDialog", "&About", None))
114        self.authorsBrowser.setHtml(_translate("OGAAboutDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
115"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
116"p, li { white-space: pre-wrap; }\n"
117"</style></head><body style=\" font-family:\'Verdana\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
118"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Sans Serif\';\">Adolfo Gómez García &lt;agomez@virtualcable.es&gt;</span></p></body></html>", None))
119        self.tabWidget.setTabText(self.tabWidget.indexOf(self.authorsTab), _translate("OGAAboutDialog", "A&uthors", None))
120        self.licenseBrowser.setHtml(_translate("OGAAboutDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
121"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
122"p, li { white-space: pre-wrap; }\n"
123"</style></head><body style=\" font-family:\'Verdana\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
124"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">Copyright (c) 2014 Virtual Cable S.L.</span></p>\n"
125"<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; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p>\n"
126"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">All rights reserved.</span></p>\n"
127"<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; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p>\n"
128"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">Redistribution and use in source and binary forms, with or without modification,</span></p>\n"
129"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">are permitted provided that the following conditions are met:</span></p>\n"
130"<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; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p>\n"
131"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">   * Redistributions of source code must retain the above copyright notice,</span></p>\n"
132"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">     this list of conditions and the following disclaimer.</span></p>\n"
133"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">   * Redistributions in binary form must reproduce the above copyright notice,</span></p>\n"
134"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">     this list of conditions and the following disclaimer in the documentation</span></p>\n"
135"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">     and/or other materials provided with the distribution.</span></p>\n"
136"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">   * Neither the name of Virtual Cable S.L. nor the names of its contributors</span></p>\n"
137"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">     may be used to endorse or promote products derived from this software</span></p>\n"
138"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">     without specific prior written permission.</span></p>\n"
139"<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; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p>\n"
140"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot;</span></p>\n"
141"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></p>\n"
142"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span></p>\n"
143"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE</span></p>\n"
144"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL</span></p>\n"
145"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR</span></p>\n"
146"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER</span></p>\n"
147"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,</span></p>\n"
148"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></p>\n"
149"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></p>\n"
150"<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; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p></body></html>", None))
151        self.tabWidget.setTabText(self.tabWidget.indexOf(self.licenseTab), _translate("OGAAboutDialog", "&License Agreement", None))
152
153import OGAgent_rc
154
155if __name__ == "__main__":
156    import sys
157    app = QtGui.QApplication(sys.argv)
158    OGAAboutDialog = QtGui.QDialog()
159    ui = Ui_OGAAboutDialog()
160    ui.setupUi(OGAAboutDialog)
161    OGAAboutDialog.show()
162    sys.exit(app.exec_())
163
Note: See TracBrowser for help on using the repository browser.