home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / python2.6 / dist-packages / jockey / kdeui / ui_LicenseDialog.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-04-20  |  4.5 KB  |  51 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from PyKDE4 import kdecore
  5. from PyKDE4 import kdeui
  6. from PyQt4 import QtCore, QtGui
  7.  
  8. class Ui_dialog_licensetext(object):
  9.     
  10.     def setupUi(self, dialog_licensetext):
  11.         dialog_licensetext.setObjectName('dialog_licensetext')
  12.         dialog_licensetext.setEnabled(True)
  13.         dialog_licensetext.resize(427, 383)
  14.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
  15.         sizePolicy.setHorizontalStretch(0)
  16.         sizePolicy.setVerticalStretch(0)
  17.         sizePolicy.setHeightForWidth(dialog_licensetext.sizePolicy().hasHeightForWidth())
  18.         dialog_licensetext.setSizePolicy(sizePolicy)
  19.         dialog_licensetext.setMinimumSize(QtCore.QSize(322, 272))
  20.         dialog_licensetext.setMaximumSize(QtCore.QSize(160000, 160000))
  21.         self.gridLayout = QtGui.QGridLayout(dialog_licensetext)
  22.         self.gridLayout.setObjectName('gridLayout')
  23.         self.horizontalLayout = QtGui.QHBoxLayout()
  24.         self.horizontalLayout.setObjectName('horizontalLayout')
  25.         self.label_license_drivername = QtGui.QLabel(dialog_licensetext)
  26.         self.label_license_drivername.setObjectName('label_license_drivername')
  27.         self.horizontalLayout.addWidget(self.label_license_drivername)
  28.         spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
  29.         self.horizontalLayout.addItem(spacerItem)
  30.         self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
  31.         self.textview_license_text = QtGui.QTextBrowser(dialog_licensetext)
  32.         self.textview_license_text.setEnabled(True)
  33.         self.textview_license_text.setObjectName('textview_license_text')
  34.         self.gridLayout.addWidget(self.textview_license_text, 1, 0, 1, 1)
  35.         self.buttonBox = QtGui.QDialogButtonBox(dialog_licensetext)
  36.         self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
  37.         self.buttonBox.setCenterButtons(True)
  38.         self.buttonBox.setObjectName('buttonBox')
  39.         self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 1)
  40.         self.retranslateUi(dialog_licensetext)
  41.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL('clicked(QAbstractButton*)'), dialog_licensetext.accept)
  42.         QtCore.QMetaObject.connectSlotsByName(dialog_licensetext)
  43.  
  44.     
  45.     def retranslateUi(self, dialog_licensetext):
  46.         dialog_licensetext.setWindowTitle(kdecore.i18n('Dialog'))
  47.         self.label_license_drivername.setText(kdecore.i18n('(driver name)'))
  48.         self.textview_license_text.setHtml(kdecore.i18n('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">\n<html><head><meta name="qrichtext" content="1" /><style type="text/css">\np, li { white-space: pre-wrap; }\n</style></head><body style=" font-family:\'DejaVu Sans\'; font-size:9pt; font-weight:400; font-style:normal;">\n<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Sans Serif\'; font-size:10pt;">Jockey is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p>\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; font-family:\'Sans Serif\'; font-size:10pt;"></p>\n<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Sans Serif\'; font-size:10pt;">Jockey is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.</p>\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; font-family:\'Sans Serif\'; font-size:10pt;"></p>\n<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Sans Serif\'; font-size:10pt;">You should have received a copy of the GNU General Public License along with Jockey; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</p>\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; font-family:\'Sans Serif\'; font-size:10pt;"></p></body></html>'))
  49.  
  50.  
  51.