QGIS/python/plugins/fTools/frmAbout.py
cfarmer cb449d0627 change ftools directory to fTools
git-svn-id: http://svn.osgeo.org/qgis/trunk@10074 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-01-31 20:01:11 +00:00

93 lines
4.2 KiB
Python
Executable File

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'fToolsHelpUi.ui'
#
# Created: Thu Sep 18 00:07:38 2008
# by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(QtCore.QSize(QtCore.QRect(0,0,471,343).size()).expandedTo(Dialog.minimumSizeHint()))
self.gridlayout = QtGui.QGridLayout(Dialog)
self.gridlayout.setObjectName("gridlayout")
self.fToolsLogo = QtGui.QLabel(Dialog)
self.fToolsLogo.setObjectName("fToolsLogo")
self.gridlayout.addWidget(self.fToolsLogo,0,0,3,1)
self.label_2 = QtGui.QLabel(Dialog)
font = QtGui.QFont()
font.setPointSize(20)
font.setWeight(75)
font.setBold(True)
self.label_2.setFont(font)
self.label_2.setTextFormat(QtCore.Qt.RichText)
self.label_2.setObjectName("label_2")
self.gridlayout.addWidget(self.label_2,0,1,1,2)
self.label_3 = QtGui.QLabel(Dialog)
self.label_3.setObjectName("label_3")
self.gridlayout.addWidget(self.label_3,1,1,1,2)
self.textEdit = QtGui.QTextEdit(Dialog)
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0,0,0,0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active,QtGui.QPalette.Base,brush)
brush = QtGui.QBrush(QtGui.QColor(0,0,0,0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive,QtGui.QPalette.Base,brush)
brush = QtGui.QBrush(QtGui.QColor(255,255,255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled,QtGui.QPalette.Base,brush)
self.textEdit.setPalette(palette)
self.textEdit.setAutoFillBackground(True)
self.textEdit.setFrameShape(QtGui.QFrame.NoFrame)
self.textEdit.setFrameShadow(QtGui.QFrame.Plain)
self.textEdit.setReadOnly(True)
self.textEdit.setObjectName("textEdit")
self.gridlayout.addWidget(self.textEdit,2,1,1,2)
spacerItem = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
self.gridlayout.addItem(spacerItem,3,1,1,1)
self.btnHelp = QtGui.QPushButton(Dialog)
self.btnHelp.setObjectName("btnHelp")
self.gridlayout.addWidget(self.btnHelp,4,0,1,1)
self.btnWeb = QtGui.QPushButton(Dialog)
self.btnWeb.setObjectName("btnWeb")
self.gridlayout.addWidget(self.btnWeb,4,1,1,1)
self.pushButton = QtGui.QPushButton(Dialog)
self.pushButton.setObjectName("pushButton")
self.gridlayout.addWidget(self.pushButton,4,2,1,1)
self.retranslateUi(Dialog)
QtCore.QObject.connect(self.pushButton,QtCore.SIGNAL("clicked()"),Dialog.reject)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "fTools About", None, QtGui.QApplication.UnicodeUTF8))
self.label_2.setText(QtGui.QApplication.translate("Dialog", "fTools", None, QtGui.QApplication.UnicodeUTF8))
self.label_3.setText(QtGui.QApplication.translate("Dialog", "Version x.x-xxxxxx", None, QtGui.QApplication.UnicodeUTF8))
self.textEdit.setHtml(QtGui.QApplication.translate("Dialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<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;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.btnHelp.setText(QtGui.QApplication.translate("Dialog", "Help", None, QtGui.QApplication.UnicodeUTF8))
self.btnWeb.setText(QtGui.QApplication.translate("Dialog", "Web", None, QtGui.QApplication.UnicodeUTF8))
self.pushButton.setText(QtGui.QApplication.translate("Dialog", "Close", None, QtGui.QApplication.UnicodeUTF8))