<s> from PyQt4 import QtCore , QtGui <EOL> try : <EOL> _fromUtf8 = QtCore . QString . fromUtf8 <EOL> except AttributeError : <EOL> def _fromUtf8 ( s ) : <EOL> return s <EOL> try : <EOL> _encoding = QtGui . QApplication . UnicodeUTF8 <EOL> def _translate ( context , text , disambig ) : <EOL> return QtGui . QApplication . translate ( context , text , disambig , _encoding ) <EOL> except AttributeError : <EOL> def _translate ( context , text , disambig ) : <EOL> return QtGui . QApplication . translate ( context , text , disambig ) <EOL> class Ui_NewAddressDialog ( object ) : <EOL> def setupUi ( self , NewAddressDialog ) : <EOL> NewAddressDialog . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> NewAddressDialog . resize ( <NUM_LIT> , <NUM_LIT> ) <EOL> self . formLayout = QtGui . QFormLayout ( NewAddressDialog ) <EOL> self . formLayout . setFieldGrowthPolicy ( QtGui . QFormLayout . AllNonFixedFieldsGrow ) <EOL> self . formLayout . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . label = QtGui . QLabel ( NewAddressDialog ) <EOL> self . label . setAlignment ( QtCore . Qt . AlignBottom | QtCore . Qt . AlignLeading | QtCore . Qt . AlignLeft ) <EOL> self . label . setWordWrap ( True ) <EOL> self . label . setObjectName ( _fromUtf8 ( "<STR_LIT:label>" ) ) <EOL> self . formLayout . setWidget ( <NUM_LIT:0> , QtGui . QFormLayout . SpanningRole , self . label ) <EOL> self . label_5 = QtGui . QLabel ( NewAddressDialog ) <EOL> self . label_5 . setWordWrap ( True ) <EOL> self . label_5 . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . formLayout . setWidget ( <NUM_LIT:2> , QtGui . QFormLayout . SpanningRole , self . label_5 ) <EOL> self . line = QtGui . QFrame ( NewAddressDialog ) <EOL> sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Preferred , QtGui . QSizePolicy . Fixed ) <EOL> sizePolicy . setHorizontalStretch ( <NUM_LIT:0> ) <EOL> sizePolicy . setVerticalStretch ( <NUM_LIT:0> ) <EOL> sizePolicy . setHeightForWidth ( self . line . sizePolicy ( ) . hasHeightForWidth ( ) ) <EOL> self . line . setSizePolicy ( sizePolicy ) <EOL> self . line . setMinimumSize ( QtCore . QSize ( <NUM_LIT:100> , <NUM_LIT:2> ) ) <EOL> self . line . setFrameShape ( QtGui . QFrame . HLine ) <EOL> self . line . setFrameShadow ( QtGui . QFrame . Sunken ) <EOL> self . line . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . formLayout . setWidget ( <NUM_LIT:4> , QtGui . QFormLayout . SpanningRole , self . line ) <EOL> self . radioButtonRandomAddress = QtGui . QRadioButton ( NewAddressDialog ) <EOL> self . radioButtonRandomAddress . setChecked ( True ) <EOL> self . radioButtonRandomAddress . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . buttonGroup = QtGui . QButtonGroup ( NewAddressDialog ) <EOL> self . buttonGroup . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . buttonGroup . addButton ( self . radioButtonRandomAddress ) <EOL> self . formLayout . setWidget ( <NUM_LIT:5> , QtGui . QFormLayout . SpanningRole , self . radioButtonRandomAddress ) <EOL> self . radioButtonDeterministicAddress = QtGui . QRadioButton ( NewAddressDialog ) <EOL> self . radioButtonDeterministicAddress . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . buttonGroup . addButton ( self . radioButtonDeterministicAddress ) <EOL> self . formLayout . setWidget ( <NUM_LIT:6> , QtGui . QFormLayout . LabelRole , self . radioButtonDeterministicAddress ) <EOL> self . checkBoxEighteenByteRipe = QtGui . QCheckBox ( NewAddressDialog ) <EOL> self . checkBoxEighteenByteRipe . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . formLayout . setWidget ( <NUM_LIT:9> , QtGui . QFormLayout . SpanningRole , self . checkBoxEighteenByteRipe ) <EOL> self . groupBoxDeterministic = QtGui . QGroupBox ( NewAddressDialog ) <EOL> self . groupBoxDeterministic . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout = QtGui . QGridLayout ( self . groupBoxDeterministic ) <EOL> self . gridLayout . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . label_9 = QtGui . QLabel ( self . groupBoxDeterministic ) <EOL> self . label_9 . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout . addWidget ( self . label_9 , <NUM_LIT:6> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . label_8 = QtGui . QLabel ( self . groupBoxDeterministic ) <EOL> self . label_8 . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout . addWidget ( self . label_8 , <NUM_LIT:5> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:3> ) <EOL> self . spinBoxNumberOfAddressesToMake = QtGui . QSpinBox ( self . groupBoxDeterministic ) <EOL> self . spinBoxNumberOfAddressesToMake . setMinimum ( <NUM_LIT:1> ) <EOL> self . spinBoxNumberOfAddressesToMake . setProperty ( "<STR_LIT:value>" , <NUM_LIT:8> ) <EOL> self . spinBoxNumberOfAddressesToMake . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout . addWidget ( self . spinBoxNumberOfAddressesToMake , <NUM_LIT:4> , <NUM_LIT:3> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . label_6 = QtGui . QLabel ( self . groupBoxDeterministic ) <EOL> self . label_6 . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout . addWidget ( self . label_6 , <NUM_LIT:0> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . label_11 = QtGui . QLabel ( self . groupBoxDeterministic ) <EOL> self . label_11 . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout . addWidget ( self . label_11 , <NUM_LIT:4> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:3> ) <EOL> spacerItem = QtGui . QSpacerItem ( <NUM_LIT> , <NUM_LIT:20> , QtGui . QSizePolicy . Expanding , QtGui . QSizePolicy . Minimum ) <EOL> self . gridLayout . addItem ( spacerItem , <NUM_LIT:6> , <NUM_LIT:1> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . label_10 = QtGui . QLabel ( self . groupBoxDeterministic ) <EOL> self . label_10 . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout . addWidget ( self . label_10 , <NUM_LIT:6> , <NUM_LIT:2> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> spacerItem1 = QtGui . QSpacerItem ( <NUM_LIT> , <NUM_LIT:20> , QtGui . QSizePolicy . Expanding , QtGui . QSizePolicy . Minimum ) <EOL> self . gridLayout . addItem ( spacerItem1 , <NUM_LIT:6> , <NUM_LIT:3> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . label_7 = QtGui . QLabel ( self . groupBoxDeterministic ) <EOL> self . label_7 . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout . addWidget ( self . label_7 , <NUM_LIT:2> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . lineEditPassphraseAgain = QtGui . QLineEdit ( self . groupBoxDeterministic ) <EOL> self . lineEditPassphraseAgain . setEchoMode ( QtGui . QLineEdit . Password ) <EOL> self . lineEditPassphraseAgain . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout . addWidget ( self . lineEditPassphraseAgain , <NUM_LIT:3> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:4> ) <EOL> self . lineEditPassphrase = QtGui . QLineEdit ( self . groupBoxDeterministic ) <EOL> self . lineEditPassphrase . setInputMethodHints ( QtCore . Qt . ImhHiddenText | QtCore . Qt . ImhNoAutoUppercase | QtCore . Qt . ImhNoPredictiveText ) <EOL> self . lineEditPassphrase . setEchoMode ( QtGui . QLineEdit . Password ) <EOL> self . lineEditPassphrase . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout . addWidget ( self . lineEditPassphrase , <NUM_LIT:1> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:4> ) <EOL> self . formLayout . setWidget ( <NUM_LIT:8> , QtGui . QFormLayout . LabelRole , self . groupBoxDeterministic ) <EOL> self . groupBox = QtGui . QGroupBox ( NewAddressDialog ) <EOL> self . groupBox . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout_2 = QtGui . QGridLayout ( self . groupBox ) <EOL> self . gridLayout_2 . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . label_2 = QtGui . QLabel ( self . groupBox ) <EOL> self . label_2 . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout_2 . addWidget ( self . label_2 , <NUM_LIT:0> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:2> ) <EOL> self . newaddresslabel = QtGui . QLineEdit ( self . groupBox ) <EOL> self . newaddresslabel . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout_2 . addWidget ( self . newaddresslabel , <NUM_LIT:1> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:2> ) <EOL> self . radioButtonMostAvailable = QtGui . QRadioButton ( self . groupBox ) <EOL> self . radioButtonMostAvailable . setChecked ( True ) <EOL> self . radioButtonMostAvailable . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout_2 . addWidget ( self . radioButtonMostAvailable , <NUM_LIT:2> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:2> ) <EOL> self . label_3 = QtGui . QLabel ( self . groupBox ) <EOL> self . label_3 . setAlignment ( QtCore . Qt . AlignLeading | QtCore . Qt . AlignLeft | QtCore . Qt . AlignTop ) <EOL> self . label_3 . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout_2 . addWidget ( self . label_3 , <NUM_LIT:3> , <NUM_LIT:1> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . radioButtonExisting = QtGui . QRadioButton ( self . groupBox ) <EOL> self . radioButtonExisting . setChecked ( False ) <EOL> self . radioButtonExisting . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout_2 . addWidget ( self . radioButtonExisting , <NUM_LIT:4> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:2> ) <EOL> self . label_4 = QtGui . QLabel ( self . groupBox ) <EOL> self . label_4 . setAlignment ( QtCore . Qt . AlignLeading | QtCore . Qt . AlignLeft | QtCore . Qt . AlignTop ) <EOL> self . label_4 . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout_2 . addWidget ( self . label_4 , <NUM_LIT:5> , <NUM_LIT:1> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> spacerItem2 = QtGui . QSpacerItem ( <NUM_LIT> , <NUM_LIT:20> , QtGui . QSizePolicy . Expanding , QtGui . QSizePolicy . Minimum ) <EOL> self . gridLayout_2 . addItem ( spacerItem2 , <NUM_LIT:6> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . comboBoxExisting = QtGui . QComboBox ( self . groupBox ) <EOL> self . comboBoxExisting . setEnabled ( False ) <EOL> self . comboBoxExisting . setEditable ( True ) <EOL> self . comboBoxExisting . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout_2 . addWidget ( self . comboBoxExisting , <NUM_LIT:6> , <NUM_LIT:1> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . formLayout . setWidget ( <NUM_LIT:7> , QtGui . QFormLayout . LabelRole , self . groupBox ) <EOL> self . buttonBox = QtGui . QDialogButtonBox ( NewAddressDialog ) <EOL> sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . MinimumExpanding , QtGui . QSizePolicy . MinimumExpanding ) <EOL> sizePolicy . setHorizontalStretch ( <NUM_LIT:0> ) <EOL> sizePolicy . setVerticalStretch ( <NUM_LIT:0> ) <EOL> sizePolicy . setHeightForWidth ( self . buttonBox . sizePolicy ( ) . hasHeightForWidth ( ) ) <EOL> self . buttonBox . setSizePolicy ( sizePolicy ) <EOL> self . buttonBox . setMinimumSize ( QtCore . QSize ( <NUM_LIT> , <NUM_LIT:0> ) ) <EOL> self . buttonBox . setOrientation ( QtCore . Qt . Horizontal ) <EOL> self . buttonBox . setStandardButtons ( QtGui . QDialogButtonBox . Cancel | QtGui . QDialogButtonBox . Ok ) <EOL> self . buttonBox . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . formLayout . setWidget ( <NUM_LIT:10> , QtGui . QFormLayout . SpanningRole , self . buttonBox ) <EOL> self . retranslateUi ( NewAddressDialog ) <EOL> QtCore . QObject . connect ( self . buttonBox , QtCore . SIGNAL ( _fromUtf8 ( "<STR_LIT>" ) ) , NewAddressDialog . accept ) <EOL> QtCore . QObject . connect ( self . buttonBox , QtCore . SIGNAL ( _fromUtf8 ( "<STR_LIT>" ) ) , NewAddressDialog . reject ) <EOL> QtCore . QObject . connect ( self . radioButtonExisting , QtCore . SIGNAL ( _fromUtf8 ( "<STR_LIT>" ) ) , self . comboBoxExisting . setEnabled ) <EOL> QtCore . QObject . connect ( self . radioButtonDeterministicAddress , QtCore . SIGNAL ( _fromUtf8 ( "<STR_LIT>" ) ) , self . groupBoxDeterministic . setShown ) <EOL> QtCore . QObject . connect ( self . radioButtonRandomAddress , QtCore . SIGNAL ( _fromUtf8 ( "<STR_LIT>" ) ) , self . groupBox . setShown ) <EOL> QtCore . QMetaObject . connectSlotsByName ( NewAddressDialog ) <EOL> NewAddressDialog . setTabOrder ( self . radioButtonRandomAddress , self . radioButtonDeterministicAddress ) <EOL> NewAddressDialog . setTabOrder ( self . radioButtonDeterministicAddress , self . newaddresslabel ) <EOL> NewAddressDialog . setTabOrder ( self . newaddresslabel , self . radioButtonMostAvailable ) <EOL> NewAddressDialog . setTabOrder ( self . radioButtonMostAvailable , self . radioButtonExisting ) <EOL> NewAddressDialog . setTabOrder ( self . radioButtonExisting , self . comboBoxExisting ) <EOL> NewAddressDialog . setTabOrder ( self . comboBoxExisting , self . lineEditPassphrase ) <EOL> NewAddressDialog . setTabOrder ( self . lineEditPassphrase , self . lineEditPassphraseAgain ) <EOL> NewAddressDialog . setTabOrder ( self . lineEditPassphraseAgain , self . spinBoxNumberOfAddressesToMake ) <EOL> NewAddressDialog . setTabOrder ( self . spinBoxNumberOfAddressesToMake , self . checkBoxEighteenByteRipe ) <EOL> NewAddressDialog . setTabOrder ( self . checkBoxEighteenByteRipe , self . buttonBox ) <EOL> def retranslateUi ( self , NewAddressDialog ) : <EOL> NewAddressDialog . setWindowTitle ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . label . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" <EOL> "<STR_LIT>" , None ) ) <EOL> self . label_5 . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . radioButtonRandomAddress . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . radioButtonDeterministicAddress . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . checkBoxEighteenByteRipe . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . groupBoxDeterministic . setTitle ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . label_9 . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . label_8 . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . label_6 . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . label_11 . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . label_10 . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . label_7 . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . groupBox . setTitle ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . label_2 . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . radioButtonMostAvailable . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . label_3 . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . radioButtonExisting . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . label_4 . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) </s>
