source: ogAgent-Git/src/message_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: 2.8 KB
Line 
1# -*- coding: utf-8 -*-
2
3# Form implementation generated from reading ui file 'message-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_OGAMessageDialog(object):
26    def setupUi(self, OGAMessageDialog):
27        OGAMessageDialog.setObjectName(_fromUtf8("OGAMessageDialog"))
28        OGAMessageDialog.resize(339, 188)
29        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
30        sizePolicy.setHorizontalStretch(0)
31        sizePolicy.setVerticalStretch(0)
32        sizePolicy.setHeightForWidth(OGAMessageDialog.sizePolicy().hasHeightForWidth())
33        OGAMessageDialog.setSizePolicy(sizePolicy)
34        font = QtGui.QFont()
35        font.setFamily(_fromUtf8("Verdana"))
36        font.setPointSize(10)
37        OGAMessageDialog.setFont(font)
38        self.verticalLayoutWidget = QtGui.QWidget(OGAMessageDialog)
39        self.verticalLayoutWidget.setGeometry(QtCore.QRect(10, 10, 321, 171))
40        self.verticalLayoutWidget.setObjectName(_fromUtf8("verticalLayoutWidget"))
41        self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
42        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
43        self.message = QtGui.QTextBrowser(self.verticalLayoutWidget)
44        self.message.setObjectName(_fromUtf8("message"))
45        self.verticalLayout.addWidget(self.message)
46        spacerItem = QtGui.QSpacerItem(20, 15, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
47        self.verticalLayout.addItem(spacerItem)
48        self.buttonBox = QtGui.QDialogButtonBox(self.verticalLayoutWidget)
49        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok)
50        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
51        self.verticalLayout.addWidget(self.buttonBox)
52
53        self.retranslateUi(OGAMessageDialog)
54        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("clicked(QAbstractButton*)")), OGAMessageDialog.closeDialog)
55        QtCore.QMetaObject.connectSlotsByName(OGAMessageDialog)
56
57    def retranslateUi(self, OGAMessageDialog):
58        OGAMessageDialog.setWindowTitle(_translate("OGAMessageDialog", "UDS Actor", None))
59
60
61if __name__ == "__main__":
62    import sys
63    app = QtGui.QApplication(sys.argv)
64    OGAMessageDialog = QtGui.QDialog()
65    ui = Ui_OGAMessageDialog()
66    ui.setupUi(OGAMessageDialog)
67    OGAMessageDialog.show()
68    sys.exit(app.exec_())
69
Note: See TracBrowser for help on using the repository browser.