You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
desktop-effects-tde/DesktopEffects/DesktopEffectsQt4Dialog.py

226 lines
11 KiB

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'data/DesktopEffectsQt4Dialog.ui'
#
# Created: Wed Mar 12 21:46:04 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,744,512).size()).expandedTo(Dialog.minimumSizeHint()))
self.vboxlayout = QtGui.QVBoxLayout(Dialog)
self.vboxlayout.setObjectName("vboxlayout")
self.hboxlayout = QtGui.QHBoxLayout()
self.hboxlayout.setObjectName("hboxlayout")
spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Minimum)
self.hboxlayout.addItem(spacerItem)
self.label_2 = QtGui.QLabel(Dialog)
self.label_2.setObjectName("label_2")
self.hboxlayout.addWidget(self.label_2)
self.packageText = QtGui.QLabel(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.packageText.sizePolicy().hasHeightForWidth())
self.packageText.setSizePolicy(sizePolicy)
self.packageText.setWordWrap(True)
self.packageText.setObjectName("packageText")
self.hboxlayout.addWidget(self.packageText)
self.installButton = QtGui.QPushButton(Dialog)
self.installButton.setObjectName("installButton")
self.hboxlayout.addWidget(self.installButton)
self.vboxlayout.addLayout(self.hboxlayout)
self.hboxlayout1 = QtGui.QHBoxLayout()
self.hboxlayout1.setObjectName("hboxlayout1")
self.warningIcon = QtGui.QLabel(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.warningIcon.sizePolicy().hasHeightForWidth())
self.warningIcon.setSizePolicy(sizePolicy)
self.warningIcon.setObjectName("warningIcon")
self.hboxlayout1.addWidget(self.warningIcon)
self.warningText = QtGui.QLabel(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,QtGui.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.warningText.sizePolicy().hasHeightForWidth())
self.warningText.setSizePolicy(sizePolicy)
self.warningText.setWordWrap(True)
self.warningText.setObjectName("warningText")
self.hboxlayout1.addWidget(self.warningText)
self.vboxlayout.addLayout(self.hboxlayout1)
self.groupBox = QtGui.QGroupBox(Dialog)
self.groupBox.setObjectName("groupBox")
self.gridlayout = QtGui.QGridLayout(self.groupBox)
self.gridlayout.setObjectName("gridlayout")
self.hboxlayout2 = QtGui.QHBoxLayout()
self.hboxlayout2.setObjectName("hboxlayout2")
self.vboxlayout1 = QtGui.QVBoxLayout()
self.vboxlayout1.setObjectName("vboxlayout1")
self.noEffectsButton = QtGui.QRadioButton(self.groupBox)
self.noEffectsButton.setObjectName("noEffectsButton")
self.vboxlayout1.addWidget(self.noEffectsButton)
self.label_6 = QtGui.QLabel(self.groupBox)
self.label_6.setWordWrap(True)
self.label_6.setObjectName("label_6")
self.vboxlayout1.addWidget(self.label_6)
self.hboxlayout2.addLayout(self.vboxlayout1)
self.label_5 = QtGui.QLabel(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
self.label_5.setSizePolicy(sizePolicy)
self.label_5.setPixmap(QtGui.QPixmap("/usr/share/apps/desktop-effects-tde/noeffects.png"))
self.label_5.setObjectName("label_5")
self.hboxlayout2.addWidget(self.label_5)
self.gridlayout.addLayout(self.hboxlayout2,0,0,1,1)
self.hboxlayout3 = QtGui.QHBoxLayout()
self.hboxlayout3.setObjectName("hboxlayout3")
self.vboxlayout2 = QtGui.QVBoxLayout()
self.vboxlayout2.setObjectName("vboxlayout2")
self.stdEffectsButton = QtGui.QRadioButton(self.groupBox)
self.stdEffectsButton.setObjectName("stdEffectsButton")
self.vboxlayout2.addWidget(self.stdEffectsButton)
self.label_12 = QtGui.QLabel(self.groupBox)
self.label_12.setObjectName("label_12")
self.vboxlayout2.addWidget(self.label_12)
self.hboxlayout3.addLayout(self.vboxlayout2)
self.label_13 = QtGui.QLabel(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_13.sizePolicy().hasHeightForWidth())
self.label_13.setSizePolicy(sizePolicy)
self.label_13.setPixmap(QtGui.QPixmap("/usr/share/apps/desktop-effects-tde/standardeffects.png"))
self.label_13.setObjectName("label_13")
self.hboxlayout3.addWidget(self.label_13)
self.gridlayout.addLayout(self.hboxlayout3,1,0,1,1)
self.hboxlayout4 = QtGui.QHBoxLayout()
self.hboxlayout4.setObjectName("hboxlayout4")
self.vboxlayout3 = QtGui.QVBoxLayout()
self.vboxlayout3.setObjectName("vboxlayout3")
self.extraEffectsButton = QtGui.QRadioButton(self.groupBox)
self.extraEffectsButton.setObjectName("extraEffectsButton")
self.vboxlayout3.addWidget(self.extraEffectsButton)
self.label_14 = QtGui.QLabel(self.groupBox)
self.label_14.setObjectName("label_14")
self.vboxlayout3.addWidget(self.label_14)
self.hboxlayout4.addLayout(self.vboxlayout3)
self.label_15 = QtGui.QLabel(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_15.sizePolicy().hasHeightForWidth())
self.label_15.setSizePolicy(sizePolicy)
self.label_15.setPixmap(QtGui.QPixmap("/usr/share/apps/desktop-effects-tde/extraeffects.png"))
self.label_15.setObjectName("label_15")
self.hboxlayout4.addWidget(self.label_15)
self.gridlayout.addLayout(self.hboxlayout4,2,0,1,1)
self.hboxlayout5 = QtGui.QHBoxLayout()
self.hboxlayout5.setObjectName("hboxlayout5")
self.vboxlayout4 = QtGui.QVBoxLayout()
self.vboxlayout4.setObjectName("vboxlayout4")
self.customEffectsButton = QtGui.QRadioButton(self.groupBox)
self.customEffectsButton.setObjectName("customEffectsButton")
self.vboxlayout4.addWidget(self.customEffectsButton)
self.label_16 = QtGui.QLabel(self.groupBox)
self.label_16.setWordWrap(True)
self.label_16.setObjectName("label_16")
self.vboxlayout4.addWidget(self.label_16)
self.hboxlayout5.addLayout(self.vboxlayout4)
self.label_17 = QtGui.QLabel(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_17.sizePolicy().hasHeightForWidth())
self.label_17.setSizePolicy(sizePolicy)
self.label_17.setPixmap(QtGui.QPixmap("/usr/share/apps/desktop-effects-tde/extraeffects.png"))
self.label_17.setObjectName("label_17")
self.hboxlayout5.addWidget(self.label_17)
self.gridlayout.addLayout(self.hboxlayout5,3,0,1,1)
spacerItem1 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
self.gridlayout.addItem(spacerItem1,4,0,1,1)
self.vboxlayout.addWidget(self.groupBox)
self.hboxlayout6 = QtGui.QHBoxLayout()
self.hboxlayout6.setObjectName("hboxlayout6")
spacerItem2 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
self.hboxlayout6.addItem(spacerItem2)
self.apply = QtGui.QPushButton(Dialog)
self.apply.setObjectName("apply")
self.hboxlayout6.addWidget(self.apply)
self.done = QtGui.QPushButton(Dialog)
self.done.setObjectName("done")
self.hboxlayout6.addWidget(self.done)
self.vboxlayout.addLayout(self.hboxlayout6)
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Compiz Desktop Effects", None, QtGui.QApplication.UnicodeUTF8))
self.packageText.setText(QtGui.QApplication.translate("Dialog", "In order for Compiz Desktop Effects to work, the Compiz engine must be installed on your system.", None, QtGui.QApplication.UnicodeUTF8))
self.installButton.setText(QtGui.QApplication.translate("Dialog", "Install", None, QtGui.QApplication.UnicodeUTF8))
self.warningText.setText(QtGui.QApplication.translate("Dialog", "Desktop Effects are a great way to enjoy a modern desktop experience without transitioning to KDE4", None, QtGui.QApplication.UnicodeUTF8))
self.groupBox.setTitle(QtGui.QApplication.translate("Dialog", "Effects Level", None, QtGui.QApplication.UnicodeUTF8))
self.noEffectsButton.setText(QtGui.QApplication.translate("Dialog", "No Effects", None, QtGui.QApplication.UnicodeUTF8))
self.label_6.setText(QtGui.QApplication.translate("Dialog", "All effects are disabled and KDE Window manager is used. This is the default behaviour.", None, QtGui.QApplication.UnicodeUTF8))
self.stdEffectsButton.setText(QtGui.QApplication.translate("Dialog", "Standard Effects", None, QtGui.QApplication.UnicodeUTF8))
self.label_12.setText(QtGui.QApplication.translate("Dialog", "Some simple effects.", None, QtGui.QApplication.UnicodeUTF8))
self.extraEffectsButton.setText(QtGui.QApplication.translate("Dialog", "Extra Effects", None, QtGui.QApplication.UnicodeUTF8))
self.label_14.setText(QtGui.QApplication.translate("Dialog", "You\'ll need sunglasses", None, QtGui.QApplication.UnicodeUTF8))
self.customEffectsButton.setText(QtGui.QApplication.translate("Dialog", "Custom Effects", None, QtGui.QApplication.UnicodeUTF8))
self.label_16.setText(QtGui.QApplication.translate("Dialog", "Use custom settings from another settings manager. Switching from this option to another will back up any custom settings", None, QtGui.QApplication.UnicodeUTF8))
self.apply.setText(QtGui.QApplication.translate("Dialog", "Apply", None, QtGui.QApplication.UnicodeUTF8))
self.done.setText(QtGui.QApplication.translate("Dialog", "Done", None, QtGui.QApplication.UnicodeUTF8))