<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_Dialog ( object ) : <EOL> def setupUi ( self , Dialog ) : <EOL> Dialog . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> Dialog . setWindowModality ( QtCore . Qt . ApplicationModal ) <EOL> Dialog . resize ( <NUM_LIT> , <NUM_LIT> ) <EOL> self . verticalLayout = QtGui . QVBoxLayout ( Dialog ) <EOL> self . verticalLayout . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . label = QtGui . QLabel ( Dialog ) <EOL> self . label . setObjectName ( _fromUtf8 ( "<STR_LIT:label>" ) ) <EOL> self . verticalLayout . addWidget ( self . label ) <EOL> self . versions_treeView = QtGui . QTreeView ( Dialog ) <EOL> self . versions_treeView . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . verticalLayout . addWidget ( self . versions_treeView ) <EOL> self . horizontalWidget = QtGui . QWidget ( Dialog ) <EOL> sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Preferred , QtGui . QSizePolicy . Preferred ) <EOL> sizePolicy . setHorizontalStretch ( <NUM_LIT:0> ) <EOL> sizePolicy . setVerticalStretch ( <NUM_LIT:0> ) <EOL> sizePolicy . setHeightForWidth ( self . horizontalWidget . sizePolicy ( ) . hasHeightForWidth ( ) ) <EOL> self . horizontalWidget . setSizePolicy ( sizePolicy ) <EOL> self . horizontalWidget . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . horizontalLayout = QtGui . QHBoxLayout ( self . horizontalWidget ) <EOL> self . horizontalLayout . setMargin ( <NUM_LIT:0> ) <EOL> self . horizontalLayout . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> spacerItem = QtGui . QSpacerItem ( <NUM_LIT> , <NUM_LIT:20> , QtGui . QSizePolicy . Expanding , QtGui . QSizePolicy . Minimum ) <EOL> self . horizontalLayout . addItem ( spacerItem ) <EOL> self . selectNone_pushButton = QtGui . QPushButton ( self . horizontalWidget ) <EOL> self . selectNone_pushButton . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . horizontalLayout . addWidget ( self . selectNone_pushButton ) <EOL> self . selectAll_pushButton = QtGui . QPushButton ( self . horizontalWidget ) <EOL> self . selectAll_pushButton . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . horizontalLayout . addWidget ( self . selectAll_pushButton ) <EOL> self . update_pushButton = QtGui . QPushButton ( self . horizontalWidget ) <EOL> self . update_pushButton . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . horizontalLayout . addWidget ( self . update_pushButton ) <EOL> self . cancel_pushButton = QtGui . QPushButton ( self . horizontalWidget ) <EOL> self . cancel_pushButton . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . horizontalLayout . addWidget ( self . cancel_pushButton ) <EOL> self . verticalLayout . addWidget ( self . horizontalWidget ) <EOL> self . retranslateUi ( Dialog ) <EOL> QtCore . QMetaObject . connectSlotsByName ( Dialog ) <EOL> def retranslateUi ( self , Dialog ) : <EOL> Dialog . setWindowTitle ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . label . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . selectNone_pushButton . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . selectAll_pushButton . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . update_pushButton . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) <EOL> self . cancel_pushButton . setText ( _translate ( "<STR_LIT>" , "<STR_LIT>" , None ) ) </s>
