summaryrefslogtreecommitdiffstats
path: root/DesktopEffects/DesktopEffectsQt4Dialog.py
blob: b7cbd3aeeb9c28d6898c39b6b173a49ad5a0d198 (plain)
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
# -*- 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))