tui_open_keymethod.py - tomb - the crypto undertaker HTML git clone git://parazyd.org/tomb.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- tui_open_keymethod.py (2434B) --- 1 # -*- coding: utf-8 -*- 2 3 # Form implementation generated from reading ui file 'tombqt/open_keymethod.ui' 4 # 5 # Created: Sat Jan 28 03:36:11 2012 6 # by: PyQt4 UI code generator 4.9 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_keymethod(object): 18 def setupUi(self, keymethod): 19 keymethod.setObjectName(_fromUtf8("keymethod")) 20 keymethod.resize(480, 640) 21 self.verticalLayout = QtGui.QVBoxLayout(keymethod) 22 self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) 23 spacerItem = QtGui.QSpacerItem(20, 265, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) 24 self.verticalLayout.addItem(spacerItem) 25 self.radio_layout = QtGui.QVBoxLayout() 26 self.radio_layout.setObjectName(_fromUtf8("radio_layout")) 27 self.fs = QtGui.QRadioButton(keymethod) 28 self.fs.setObjectName(_fromUtf8("fs")) 29 self.radio_layout.addWidget(self.fs) 30 self.usb = QtGui.QRadioButton(keymethod) 31 self.usb.setEnabled(False) 32 self.usb.setObjectName(_fromUtf8("usb")) 33 self.radio_layout.addWidget(self.usb) 34 self.bluetooth = QtGui.QRadioButton(keymethod) 35 self.bluetooth.setEnabled(False) 36 self.bluetooth.setObjectName(_fromUtf8("bluetooth")) 37 self.radio_layout.addWidget(self.bluetooth) 38 self.verticalLayout.addLayout(self.radio_layout) 39 spacerItem1 = QtGui.QSpacerItem(20, 265, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) 40 self.verticalLayout.addItem(spacerItem1) 41 42 self.retranslateUi(keymethod) 43 QtCore.QMetaObject.connectSlotsByName(keymethod) 44 45 def retranslateUi(self, keymethod): 46 keymethod.setWindowTitle(QtGui.QApplication.translate("keymethod", "WizardPage", None, QtGui.QApplication.UnicodeUTF8)) 47 keymethod.setTitle(QtGui.QApplication.translate("keymethod", "Choose key", None, QtGui.QApplication.UnicodeUTF8)) 48 self.fs.setText(QtGui.QApplication.translate("keymethod", "Filesystem", None, QtGui.QApplication.UnicodeUTF8)) 49 self.usb.setText(QtGui.QApplication.translate("keymethod", "USB drive", None, QtGui.QApplication.UnicodeUTF8)) 50 self.bluetooth.setText(QtGui.QApplication.translate("keymethod", "Retrieve via bluetooth (advanced)", None, QtGui.QApplication.UnicodeUTF8)) 51