ui_create.py (22605B)
1 # -*- coding: utf-8 -*- 2 3 # Form implementation generated from reading ui file 'create.ui' 4 # 5 # Created: Thu Nov 3 00:16:51 2011 6 # by: PyQt4 UI code generator 4.8.6 7 # 8 # WARNING! All changes made in this file will be lost! 9 10 from PyQt4 import QtCore, QtGui 11 12 try: 13 _fromUtf8 = QtCore.QString.fromUtf8 14 except AttributeError: 15 _fromUtf8 = lambda s: s 16 17 class Ui_Wizard(object): 18 def setupUi(self, Wizard): 19 Wizard.setObjectName(_fromUtf8("Wizard")) 20 Wizard.resize(710, 368) 21 Wizard.setWindowTitle(QtGui.QApplication.translate("Wizard", "Wizard", None, QtGui.QApplication.UnicodeUTF8)) 22 Wizard.setOptions(QtGui.QWizard.HaveHelpButton|QtGui.QWizard.IndependentPages) 23 self.wizardPage_intro = QtGui.QWizardPage() 24 self.wizardPage_intro.setTitle(QtGui.QApplication.translate("Wizard", "Tomb", None, QtGui.QApplication.UnicodeUTF8)) 25 self.wizardPage_intro.setSubTitle(QtGui.QApplication.translate("Wizard", "tomb creation", None, QtGui.QApplication.UnicodeUTF8)) 26 self.wizardPage_intro.setObjectName(_fromUtf8("wizardPage_intro")) 27 self.verticalLayout = QtGui.QVBoxLayout(self.wizardPage_intro) 28 self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) 29 self.label = QtGui.QLabel(self.wizardPage_intro) 30 self.label.setText(QtGui.QApplication.translate("Wizard", "This wizard will guide you to the creation of a tomb.<br> It will be fun!", None, QtGui.QApplication.UnicodeUTF8)) 31 self.label.setTextFormat(QtCore.Qt.RichText) 32 self.label.setWordWrap(True) 33 self.label.setObjectName(_fromUtf8("label")) 34 self.verticalLayout.addWidget(self.label) 35 Wizard.addPage(self.wizardPage_intro) 36 self.wizardPage_check = QtGui.QWizardPage() 37 self.wizardPage_check.setTitle(QtGui.QApplication.translate("Wizard", "Requirements check", None, QtGui.QApplication.UnicodeUTF8)) 38 self.wizardPage_check.setObjectName(_fromUtf8("wizardPage_check")) 39 self.verticalLayout_12 = QtGui.QVBoxLayout(self.wizardPage_check) 40 self.verticalLayout_12.setObjectName(_fromUtf8("verticalLayout_12")) 41 self.label_check = QtGui.QLabel(self.wizardPage_check) 42 self.label_check.setText(QtGui.QApplication.translate("Wizard", "Checking...", None, QtGui.QApplication.UnicodeUTF8)) 43 self.label_check.setObjectName(_fromUtf8("label_check")) 44 self.verticalLayout_12.addWidget(self.label_check) 45 self.groupBox_swap = QtGui.QGroupBox(self.wizardPage_check) 46 self.groupBox_swap.setEnabled(True) 47 self.groupBox_swap.setTitle(QtGui.QApplication.translate("Wizard", "Swap error", None, QtGui.QApplication.UnicodeUTF8)) 48 self.groupBox_swap.setObjectName(_fromUtf8("groupBox_swap")) 49 self.verticalLayout_13 = QtGui.QVBoxLayout(self.groupBox_swap) 50 self.verticalLayout_13.setObjectName(_fromUtf8("verticalLayout_13")) 51 self.label_7 = QtGui.QLabel(self.groupBox_swap) 52 self.label_7.setText(QtGui.QApplication.translate("Wizard", "It seems that you have swap activated. It is very dangerous, since you could leave LOT of traces on your computer UNencrypted. You have some options:", None, QtGui.QApplication.UnicodeUTF8)) 53 self.label_7.setWordWrap(True) 54 self.label_7.setObjectName(_fromUtf8("label_7")) 55 self.verticalLayout_13.addWidget(self.label_7) 56 self.verticalLayout_swapoff = QtGui.QVBoxLayout() 57 self.verticalLayout_swapoff.setObjectName(_fromUtf8("verticalLayout_swapoff")) 58 self.radioButton_swapoff = QtGui.QRadioButton(self.groupBox_swap) 59 self.radioButton_swapoff.setText(QtGui.QApplication.translate("Wizard", "Swapoff", None, QtGui.QApplication.UnicodeUTF8)) 60 self.radioButton_swapoff.setObjectName(_fromUtf8("radioButton_swapoff")) 61 self.verticalLayout_swapoff.addWidget(self.radioButton_swapoff) 62 self.horizontalLayout_6 = QtGui.QHBoxLayout() 63 self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) 64 spacerItem = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Minimum) 65 self.horizontalLayout_6.addItem(spacerItem) 66 self.label_swapoff = QtGui.QLabel(self.groupBox_swap) 67 self.label_swapoff.setText(QtGui.QApplication.translate("Wizard", "Note: swapoff could take a long time, and, in case the memory is not enough, could even make your system crash. Your system seems to have %freeram%MB free", None, QtGui.QApplication.UnicodeUTF8)) 68 self.label_swapoff.setWordWrap(True) 69 self.label_swapoff.setObjectName(_fromUtf8("label_swapoff")) 70 self.horizontalLayout_6.addWidget(self.label_swapoff) 71 self.verticalLayout_swapoff.addLayout(self.horizontalLayout_6) 72 self.verticalLayout_13.addLayout(self.verticalLayout_swapoff) 73 self.verticalLayout_11 = QtGui.QVBoxLayout() 74 self.verticalLayout_11.setObjectName(_fromUtf8("verticalLayout_11")) 75 self.radioButton_ignore = QtGui.QRadioButton(self.groupBox_swap) 76 self.radioButton_ignore.setText(QtGui.QApplication.translate("Wizard", "Ignore", None, QtGui.QApplication.UnicodeUTF8)) 77 self.radioButton_ignore.setObjectName(_fromUtf8("radioButton_ignore")) 78 self.verticalLayout_11.addWidget(self.radioButton_ignore) 79 self.horizontalLayout_7 = QtGui.QHBoxLayout() 80 self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) 81 spacerItem1 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Minimum) 82 self.horizontalLayout_7.addItem(spacerItem1) 83 self.label_9 = QtGui.QLabel(self.groupBox_swap) 84 self.label_9.setText(QtGui.QApplication.translate("Wizard", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" 85 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" 86 "p, li { white-space: pre-wrap; }\n" 87 "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n" 88 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Note:</span> You should use this only if you are sure that your swap is encrypted, or that you are using compcache.</p>\n" 89 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">If this is not the case, DON\'T select this, as it is <span style=\" font-weight:600;\">VERY DANGEROUS </span>to use encryption with swap activated</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) 90 self.label_9.setWordWrap(True) 91 self.label_9.setObjectName(_fromUtf8("label_9")) 92 self.horizontalLayout_7.addWidget(self.label_9) 93 self.verticalLayout_11.addLayout(self.horizontalLayout_7) 94 self.verticalLayout_13.addLayout(self.verticalLayout_11) 95 self.verticalLayout_12.addWidget(self.groupBox_swap) 96 Wizard.addPage(self.wizardPage_check) 97 self.wizardPage_tomb_size = QtGui.QWizardPage() 98 self.wizardPage_tomb_size.setObjectName(_fromUtf8("wizardPage_tomb_size")) 99 self.verticalLayout_2 = QtGui.QVBoxLayout(self.wizardPage_tomb_size) 100 self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) 101 self.label_2 = QtGui.QLabel(self.wizardPage_tomb_size) 102 self.label_2.setText(QtGui.QApplication.translate("Wizard", "Please enter tomb size. Digging the tomb will require some time: usually, one minute per GB, but your mileage may vary. <br>Keep in mind that resizing it in the future is still NOT implemented", None, QtGui.QApplication.UnicodeUTF8)) 103 self.label_2.setWordWrap(True) 104 self.label_2.setObjectName(_fromUtf8("label_2")) 105 self.verticalLayout_2.addWidget(self.label_2) 106 self.horizontalLayout = QtGui.QHBoxLayout() 107 self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) 108 self.label_3 = QtGui.QLabel(self.wizardPage_tomb_size) 109 self.label_3.setText(QtGui.QApplication.translate("Wizard", "Enter tomb size, in MB. 1GB=1000MB)", None, QtGui.QApplication.UnicodeUTF8)) 110 self.label_3.setObjectName(_fromUtf8("label_3")) 111 self.horizontalLayout.addWidget(self.label_3) 112 self.spinBox_size = QtGui.QSpinBox(self.wizardPage_tomb_size) 113 self.spinBox_size.setMinimum(10) 114 self.spinBox_size.setMaximum(100000) 115 self.spinBox_size.setProperty("value", 100) 116 self.spinBox_size.setObjectName(_fromUtf8("spinBox_size")) 117 self.horizontalLayout.addWidget(self.spinBox_size) 118 self.verticalLayout_2.addLayout(self.horizontalLayout) 119 Wizard.addPage(self.wizardPage_tomb_size) 120 self.wizardPage_tomb_location = QtGui.QWizardPage() 121 self.wizardPage_tomb_location.setObjectName(_fromUtf8("wizardPage_tomb_location")) 122 self.verticalLayout_3 = QtGui.QVBoxLayout(self.wizardPage_tomb_location) 123 self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) 124 self.label_4 = QtGui.QLabel(self.wizardPage_tomb_location) 125 self.label_4.setText(QtGui.QApplication.translate("Wizard", "Where do you want your tomb to be digged?", None, QtGui.QApplication.UnicodeUTF8)) 126 self.label_4.setWordWrap(True) 127 self.label_4.setObjectName(_fromUtf8("label_4")) 128 self.verticalLayout_3.addWidget(self.label_4) 129 self.horizontalLayout_2 = QtGui.QHBoxLayout() 130 self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) 131 self.lineEdit_tombpath = QtGui.QLineEdit(self.wizardPage_tomb_location) 132 self.lineEdit_tombpath.setFrame(True) 133 self.lineEdit_tombpath.setPlaceholderText(QtGui.QApplication.translate("Wizard", "/path/to/file.tomb", None, QtGui.QApplication.UnicodeUTF8)) 134 self.lineEdit_tombpath.setObjectName(_fromUtf8("lineEdit_tombpath")) 135 self.horizontalLayout_2.addWidget(self.lineEdit_tombpath) 136 self.button_tombpath = QtGui.QPushButton(self.wizardPage_tomb_location) 137 self.button_tombpath.setText(QtGui.QApplication.translate("Wizard", "Open file", None, QtGui.QApplication.UnicodeUTF8)) 138 self.button_tombpath.setObjectName(_fromUtf8("button_tombpath")) 139 self.horizontalLayout_2.addWidget(self.button_tombpath) 140 self.verticalLayout_3.addLayout(self.horizontalLayout_2) 141 Wizard.addPage(self.wizardPage_tomb_location) 142 self.wizardPage_key_location = QtGui.QWizardPage() 143 self.wizardPage_key_location.setTitle(QtGui.QApplication.translate("Wizard", "Key creation", None, QtGui.QApplication.UnicodeUTF8)) 144 self.wizardPage_key_location.setSubTitle(QtGui.QApplication.translate("Wizard", "Choose the location for your key", None, QtGui.QApplication.UnicodeUTF8)) 145 self.wizardPage_key_location.setObjectName(_fromUtf8("wizardPage_key_location")) 146 self.verticalLayout_6 = QtGui.QVBoxLayout(self.wizardPage_key_location) 147 self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6")) 148 self.label_5 = QtGui.QLabel(self.wizardPage_key_location) 149 self.label_5.setText(QtGui.QApplication.translate("Wizard", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" 150 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" 151 "p, li { white-space: pre-wrap; }\n" 152 "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n" 153 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Now, you have to decide where to put the <span style=\" font-weight:600;\">key</span> for your tomb<br />You should not leave your key at the door, as this will lower security A LOT</p>\n" 154 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Also, the keyfile is very small (less than a KB), so disk space is not an issue</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) 155 self.label_5.setTextFormat(QtCore.Qt.RichText) 156 self.label_5.setWordWrap(True) 157 self.label_5.setObjectName(_fromUtf8("label_5")) 158 self.verticalLayout_6.addWidget(self.label_5) 159 self.verticalLayout_5 = QtGui.QVBoxLayout() 160 self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5")) 161 self.verticalLayout_4 = QtGui.QVBoxLayout() 162 self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) 163 self.radioButton_usb = QtGui.QRadioButton(self.wizardPage_key_location) 164 self.radioButton_usb.setEnabled(False) 165 self.radioButton_usb.setText(QtGui.QApplication.translate("Wizard", "On a USB pen (best security)", None, QtGui.QApplication.UnicodeUTF8)) 166 self.radioButton_usb.setCheckable(True) 167 self.radioButton_usb.setChecked(False) 168 self.radioButton_usb.setObjectName(_fromUtf8("radioButton_usb")) 169 self.verticalLayout_4.addWidget(self.radioButton_usb) 170 self.horizontalLayout_4 = QtGui.QHBoxLayout() 171 self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) 172 spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Minimum) 173 self.horizontalLayout_4.addItem(spacerItem2) 174 self.label_6 = QtGui.QLabel(self.wizardPage_key_location) 175 self.label_6.setEnabled(False) 176 self.label_6.setText(QtGui.QApplication.translate("Wizard", "If you choose to do so, do not insert it NOW. Do it when you are asked to do so", None, QtGui.QApplication.UnicodeUTF8)) 177 self.label_6.setObjectName(_fromUtf8("label_6")) 178 self.horizontalLayout_4.addWidget(self.label_6) 179 self.verticalLayout_4.addLayout(self.horizontalLayout_4) 180 self.verticalLayout_5.addLayout(self.verticalLayout_4) 181 self.radioButton_near = QtGui.QRadioButton(self.wizardPage_key_location) 182 self.radioButton_near.setToolTip(QtGui.QApplication.translate("Wizard", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" 183 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" 184 "p, li { white-space: pre-wrap; }\n" 185 "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n" 186 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">It will be created as a regular file in the same directory of your tomb.</p>\n" 187 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">It is much easier to use, but also much more <span style=\" font-style:italic;\">insecure</span>: all your security will be guaranteed by your <span style=\" font-weight:600;\">password</span>. If you really want to do this, choose a strong password (lot of random/non-dictionary words, spaces, numbers, odd characters)</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) 188 self.radioButton_near.setText(QtGui.QApplication.translate("Wizard", "Near to the tomb itself (this is BAD)", None, QtGui.QApplication.UnicodeUTF8)) 189 self.radioButton_near.setChecked(True) 190 self.radioButton_near.setObjectName(_fromUtf8("radioButton_near")) 191 self.verticalLayout_5.addWidget(self.radioButton_near) 192 self.radioButton_custom = QtGui.QRadioButton(self.wizardPage_key_location) 193 self.radioButton_custom.setText(QtGui.QApplication.translate("Wizard", "Specify location", None, QtGui.QApplication.UnicodeUTF8)) 194 self.radioButton_custom.setObjectName(_fromUtf8("radioButton_custom")) 195 self.verticalLayout_5.addWidget(self.radioButton_custom) 196 self.verticalLayout_6.addLayout(self.verticalLayout_5) 197 self.horizontalLayout_3 = QtGui.QHBoxLayout() 198 self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) 199 spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Minimum) 200 self.horizontalLayout_3.addItem(spacerItem3) 201 self.lineEdit_custom = QtGui.QLineEdit(self.wizardPage_key_location) 202 self.lineEdit_custom.setEnabled(False) 203 self.lineEdit_custom.setObjectName(_fromUtf8("lineEdit_custom")) 204 self.horizontalLayout_3.addWidget(self.lineEdit_custom) 205 self.pushButton_custom = QtGui.QPushButton(self.wizardPage_key_location) 206 self.pushButton_custom.setEnabled(False) 207 self.pushButton_custom.setText(QtGui.QApplication.translate("Wizard", "Choose location", None, QtGui.QApplication.UnicodeUTF8)) 208 self.pushButton_custom.setObjectName(_fromUtf8("pushButton_custom")) 209 self.horizontalLayout_3.addWidget(self.pushButton_custom) 210 self.verticalLayout_6.addLayout(self.horizontalLayout_3) 211 self.label_11 = QtGui.QLabel(self.wizardPage_key_location) 212 self.label_11.setText(QtGui.QApplication.translate("Wizard", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" 213 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" 214 "p, li { white-space: pre-wrap; }\n" 215 "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n" 216 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Help: </span>the key file is very small, so disk usage is not an issue</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) 217 self.label_11.setWordWrap(True) 218 self.label_11.setObjectName(_fromUtf8("label_11")) 219 self.verticalLayout_6.addWidget(self.label_11) 220 Wizard.addPage(self.wizardPage_key_location) 221 self.wizardPage_progress = QtGui.QWizardPage() 222 self.wizardPage_progress.setTitle(QtGui.QApplication.translate("Wizard", "Creating", None, QtGui.QApplication.UnicodeUTF8)) 223 self.wizardPage_progress.setSubTitle(QtGui.QApplication.translate("Wizard", "Please wait", None, QtGui.QApplication.UnicodeUTF8)) 224 self.wizardPage_progress.setObjectName(_fromUtf8("wizardPage_progress")) 225 self.verticalLayout_9 = QtGui.QVBoxLayout(self.wizardPage_progress) 226 self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9")) 227 self.verticalLayout_7 = QtGui.QVBoxLayout() 228 self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7")) 229 self.progressBar = QtGui.QProgressBar(self.wizardPage_progress) 230 self.progressBar.setProperty("value", 0) 231 self.progressBar.setTextVisible(True) 232 self.progressBar.setInvertedAppearance(False) 233 self.progressBar.setObjectName(_fromUtf8("progressBar")) 234 self.verticalLayout_7.addWidget(self.progressBar) 235 self.horizontalLayout_5 = QtGui.QHBoxLayout() 236 self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) 237 self.label_progress = QtGui.QLabel(self.wizardPage_progress) 238 self.label_progress.setText(QtGui.QApplication.translate("Wizard", "Creating tomb, please wait...", None, QtGui.QApplication.UnicodeUTF8)) 239 self.label_progress.setObjectName(_fromUtf8("label_progress")) 240 self.horizontalLayout_5.addWidget(self.label_progress) 241 self.verticalLayout_7.addLayout(self.horizontalLayout_5) 242 self.verticalLayout_9.addLayout(self.verticalLayout_7) 243 self.textBrowser_log = QtGui.QTextBrowser(self.wizardPage_progress) 244 self.textBrowser_log.setDocumentTitle(QtGui.QApplication.translate("Wizard", "Log", None, QtGui.QApplication.UnicodeUTF8)) 245 self.textBrowser_log.setHtml(QtGui.QApplication.translate("Wizard", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" 246 "<html><head><meta name=\"qrichtext\" content=\"1\" /><title>Log</title><style type=\"text/css\">\n" 247 "p, li { white-space: pre-wrap; }\n" 248 "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n" 249 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:600;\">Log</span></p>\n" 250 "<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:9pt; font-weight:600;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) 251 self.textBrowser_log.setObjectName(_fromUtf8("textBrowser_log")) 252 self.verticalLayout_9.addWidget(self.textBrowser_log) 253 Wizard.addPage(self.wizardPage_progress) 254 self.wizardPage_end = QtGui.QWizardPage() 255 self.wizardPage_end.setObjectName(_fromUtf8("wizardPage_end")) 256 self.verticalLayout_8 = QtGui.QVBoxLayout(self.wizardPage_end) 257 self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8")) 258 self.label_10 = QtGui.QLabel(self.wizardPage_end) 259 self.label_10.setText(QtGui.QApplication.translate("Wizard", "You successfully created the tomb!", None, QtGui.QApplication.UnicodeUTF8)) 260 self.label_10.setObjectName(_fromUtf8("label_10")) 261 self.verticalLayout_8.addWidget(self.label_10) 262 self.checkBox_open = QtGui.QCheckBox(self.wizardPage_end) 263 self.checkBox_open.setEnabled(False) 264 self.checkBox_open.setText(QtGui.QApplication.translate("Wizard", "Open the just-created tomb NOW!", None, QtGui.QApplication.UnicodeUTF8)) 265 self.checkBox_open.setChecked(False) 266 self.checkBox_open.setTristate(False) 267 self.checkBox_open.setObjectName(_fromUtf8("checkBox_open")) 268 self.verticalLayout_8.addWidget(self.checkBox_open) 269 Wizard.addPage(self.wizardPage_end) 270 self.label_3.setBuddy(self.spinBox_size) 271 self.label_4.setBuddy(self.lineEdit_tombpath) 272 273 self.retranslateUi(Wizard) 274 QtCore.QObject.connect(self.radioButton_custom, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lineEdit_custom.setEnabled) 275 QtCore.QObject.connect(self.radioButton_custom, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.pushButton_custom.setEnabled) 276 QtCore.QObject.connect(Wizard, QtCore.SIGNAL(_fromUtf8("currentIdChanged(int)")), self.label_11.hide) 277 QtCore.QObject.connect(Wizard, QtCore.SIGNAL(_fromUtf8("helpRequested()")), self.label_11.show) 278 QtCore.QMetaObject.connectSlotsByName(Wizard) 279 280 def retranslateUi(self, Wizard): 281 pass 282