<s> from pyqode . qt import QtCore , QtGui , QtWidgets <EOL> class Ui_Form ( object ) : <EOL> def setupUi ( self , Form ) : <EOL> Form . setObjectName ( "<STR_LIT>" ) <EOL> Form . resize ( <NUM_LIT> , <NUM_LIT> ) <EOL> self . horizontalLayout_2 = QtWidgets . QHBoxLayout ( Form ) <EOL> self . horizontalLayout_2 . setObjectName ( "<STR_LIT>" ) <EOL> self . verticalLayout = QtWidgets . QVBoxLayout ( ) <EOL> self . verticalLayout . setObjectName ( "<STR_LIT>" ) <EOL> self . lblDescription = QtWidgets . QLabel ( Form ) <EOL> sizePolicy = QtWidgets . QSizePolicy ( QtWidgets . QSizePolicy . Expanding , QtWidgets . QSizePolicy . Preferred ) <EOL> sizePolicy . setHorizontalStretch ( <NUM_LIT:0> ) <EOL> sizePolicy . setVerticalStretch ( <NUM_LIT:0> ) <EOL> sizePolicy . setHeightForWidth ( self . lblDescription . sizePolicy ( ) . hasHeightForWidth ( ) ) <EOL> self . lblDescription . setSizePolicy ( sizePolicy ) <EOL> self . lblDescription . setWordWrap ( True ) <EOL> self . lblDescription . setObjectName ( "<STR_LIT>" ) <EOL> self . verticalLayout . addWidget ( self . lblDescription ) <EOL> self . horizontalLayout = QtWidgets . QHBoxLayout ( ) <EOL> self . horizontalLayout . setObjectName ( "<STR_LIT>" ) <EOL> self . label = QtWidgets . QLabel ( Form ) <EOL> self . label . setObjectName ( "<STR_LIT:label>" ) <EOL> self . horizontalLayout . addWidget ( self . label ) <EOL> self . comboBoxEncodings = EncodingsComboBox ( Form ) <EOL> self . comboBoxEncodings . setMinimumSize ( QtCore . QSize ( <NUM_LIT> , <NUM_LIT:0> ) ) <EOL> self . comboBoxEncodings . setEditable ( False ) <EOL> self . comboBoxEncodings . setObjectName ( "<STR_LIT>" ) <EOL> self . horizontalLayout . addWidget ( self . comboBoxEncodings ) <EOL> spacerItem = QtWidgets . QSpacerItem ( <NUM_LIT> , <NUM_LIT:20> , QtWidgets . QSizePolicy . Expanding , QtWidgets . QSizePolicy . Minimum ) <EOL> self . horizontalLayout . addItem ( spacerItem ) <EOL> self . verticalLayout . addLayout ( self . horizontalLayout ) <EOL> self . verticalLayout . setStretch ( <NUM_LIT:0> , <NUM_LIT:1> ) <EOL> self . verticalLayout . setStretch ( <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . horizontalLayout_2 . addLayout ( self . verticalLayout ) <EOL> self . pushButtonRetry = QtWidgets . QPushButton ( Form ) <EOL> self . pushButtonRetry . setObjectName ( "<STR_LIT>" ) <EOL> self . horizontalLayout_2 . addWidget ( self . pushButtonRetry ) <EOL> self . pushButtonEdit = QtWidgets . QPushButton ( Form ) <EOL> self . pushButtonEdit . setObjectName ( "<STR_LIT>" ) <EOL> self . horizontalLayout_2 . addWidget ( self . pushButtonEdit ) <EOL> self . pushButtonCancel = QtWidgets . QPushButton ( Form ) <EOL> self . pushButtonCancel . setObjectName ( "<STR_LIT>" ) <EOL> self . horizontalLayout_2 . addWidget ( self . pushButtonCancel ) <EOL> self . retranslateUi ( Form ) <EOL> QtCore . QMetaObject . connectSlotsByName ( Form ) <EOL> def retranslateUi ( self , Form ) : <EOL> Form . setWindowTitle ( _ ( "<STR_LIT>" ) ) <EOL> self . lblDescription . setText ( _ ( "<STR_LIT>" ) ) <EOL> self . label . setText ( _ ( "<STR_LIT>" ) ) <EOL> self . pushButtonRetry . setText ( _ ( "<STR_LIT>" ) ) <EOL> self . pushButtonEdit . setText ( _ ( "<STR_LIT>" ) ) <EOL> self . pushButtonCancel . setText ( _ ( "<STR_LIT>" ) ) <EOL> from pyqode . core . widgets . encodings import EncodingsComboBox </s>
