<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_connectDialog ( object ) : <EOL> def setupUi ( self , connectDialog ) : <EOL> connectDialog . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> connectDialog . resize ( <NUM_LIT> , <NUM_LIT> ) <EOL> self . gridLayout = QtGui . QGridLayout ( connectDialog ) <EOL> self . gridLayout . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . label = QtGui . QLabel ( connectDialog ) <EOL> self . label . setObjectName ( _fromUtf8 ( "<STR_LIT:label>" ) ) <EOL> self . gridLayout . addWidget ( self . label , <NUM_LIT:0> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:2> ) <EOL> self . radioButtonConnectNow = QtGui . QRadioButton ( connectDialog ) <EOL> self . radioButtonConnectNow . setChecked ( True ) <EOL> self . radioButtonConnectNow . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout . addWidget ( self . radioButtonConnectNow , <NUM_LIT:1> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:2> ) <EOL> self . radioButtonConfigureNetwork = QtGui . QRadioButton ( connectDialog ) <EOL> self . radioButtonConfigureNetwork . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout . addWidget ( self . radioButtonConfigureNetwork , <NUM_LIT:2> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:2> ) <EOL> spacerItem = QtGui . QSpacerItem ( <NUM_LIT> , <NUM_LIT> , QtGui . QSizePolicy . Expanding , QtGui . QSizePolicy . Minimum ) <EOL> self . gridLayout . addItem ( spacerItem , <NUM_LIT:3> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . buttonBox = QtGui . QDialogButtonBox ( connectDialog ) <EOL> self . buttonBox . setOrientation ( QtCore . Qt . Horizontal ) <EOL> self . buttonBox . setStandardButtons ( QtGui . QDialogButtonBox . Ok ) <EOL> self . buttonBox . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout . addWidget ( self . buttonBox , <NUM_LIT:3> , <NUM_LIT:1> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . retranslateUi ( connectDialog ) <EOL> QtCore . QObject . connect ( self . buttonBox , QtCore . SIGNAL ( _fromUtf8 ( "<STR_LIT>" ) ) , connectDialog . accept ) <EOL> QtCore . QObject . connect ( self . buttonBox , QtCore . SIGNAL ( _fromUtf8 ( "<STR_LIT>" ) ) , connectDialog . reject ) <EOL> QtCore . QMetaObject . connectSlotsByName ( connectDialog ) <EOL> def retranslateUi ( self , connectDialog ) : <EOL> connectDialog . setWindowTitle ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . label . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . radioButtonConnectNow . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . radioButtonConfigureNetwork . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) </s>
