/usr/share/mediawiki2latex/Ui_about.py is in mediawiki2latexguipyqt 1.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'about.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_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName(_fromUtf8("Dialog"))
Dialog.resize(732, 299)
self.verticalLayout_2 = QtGui.QVBoxLayout(Dialog)
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.verticalLayout = QtGui.QVBoxLayout()
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.tabWidget = QtGui.QTabWidget(Dialog)
self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
self.tabAuthors = QtGui.QWidget()
self.tabAuthors.setObjectName(_fromUtf8("tabAuthors"))
self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabAuthors)
self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
self.scrollAuthors = QtGui.QScrollArea(self.tabAuthors)
self.scrollAuthors.setWidgetResizable(True)
self.scrollAuthors.setObjectName(_fromUtf8("scrollAuthors"))
self.scrollAreaWidgetContents = QtGui.QWidget()
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 700, 216))
self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
self.verticalLayout_6 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
self.textAuthors = QtGui.QTextBrowser(self.scrollAreaWidgetContents)
self.textAuthors.setObjectName(_fromUtf8("textAuthors"))
self.verticalLayout_6.addWidget(self.textAuthors)
self.scrollAuthors.setWidget(self.scrollAreaWidgetContents)
self.verticalLayout_3.addWidget(self.scrollAuthors)
self.tabWidget.addTab(self.tabAuthors, _fromUtf8(""))
self.tab_2 = QtGui.QWidget()
self.tab_2.setObjectName(_fromUtf8("tab_2"))
self.verticalLayout_4 = QtGui.QVBoxLayout(self.tab_2)
self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
self.scrollLicense = QtGui.QScrollArea(self.tab_2)
self.scrollLicense.setWidgetResizable(True)
self.scrollLicense.setObjectName(_fromUtf8("scrollLicense"))
self.scrollAreaWidgetContents_2 = QtGui.QWidget()
self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 94, 84))
self.scrollAreaWidgetContents_2.setObjectName(_fromUtf8("scrollAreaWidgetContents_2"))
self.verticalLayout_7 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents_2)
self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
self.textLicense = QtGui.QTextBrowser(self.scrollAreaWidgetContents_2)
self.textLicense.setObjectName(_fromUtf8("textLicense"))
self.verticalLayout_7.addWidget(self.textLicense)
self.scrollLicense.setWidget(self.scrollAreaWidgetContents_2)
self.verticalLayout_4.addWidget(self.scrollLicense)
self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
self.tab = QtGui.QWidget()
self.tab.setObjectName(_fromUtf8("tab"))
self.verticalLayout_5 = QtGui.QVBoxLayout(self.tab)
self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
self.scrollTranslations = QtGui.QScrollArea(self.tab)
self.scrollTranslations.setWidgetResizable(True)
self.scrollTranslations.setObjectName(_fromUtf8("scrollTranslations"))
self.scrollAreaWidgetContents_3 = QtGui.QWidget()
self.scrollAreaWidgetContents_3.setGeometry(QtCore.QRect(0, 0, 94, 84))
self.scrollAreaWidgetContents_3.setObjectName(_fromUtf8("scrollAreaWidgetContents_3"))
self.verticalLayout_8 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents_3)
self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
self.textTranslations = QtGui.QTextBrowser(self.scrollAreaWidgetContents_3)
self.textTranslations.setObjectName(_fromUtf8("textTranslations"))
self.verticalLayout_8.addWidget(self.textTranslations)
self.scrollTranslations.setWidget(self.scrollAreaWidgetContents_3)
self.verticalLayout_5.addWidget(self.scrollTranslations)
self.tabWidget.addTab(self.tab, _fromUtf8(""))
self.verticalLayout.addWidget(self.tabWidget)
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.buttonBox = QtGui.QDialogButtonBox(Dialog)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
self.buttonBox.setCenterButtons(False)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.horizontalLayout.addWidget(self.buttonBox)
self.verticalLayout.addLayout(self.horizontalLayout)
self.verticalLayout_2.addLayout(self.verticalLayout)
self.retranslateUi(Dialog)
self.tabWidget.setCurrentIndex(0)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(_translate("Dialog", "About", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAuthors), _translate("Dialog", "Authors", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("Dialog", "License", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("Dialog", "Translations", None))
|