<s> from pyqode . qt import QtCore , QtGui , QtWidgets <EOL> class Ui_Dialog ( object ) : <EOL> def setupUi ( self , Dialog ) : <EOL> Dialog . setObjectName ( "<STR_LIT>" ) <EOL> Dialog . resize ( <NUM_LIT> , <NUM_LIT> ) <EOL> self . gridLayout = QtWidgets . QGridLayout ( Dialog ) <EOL> self . gridLayout . setObjectName ( "<STR_LIT>" ) <EOL> self . formLayout = QtWidgets . QFormLayout ( ) <EOL> self . formLayout . setFieldGrowthPolicy ( QtWidgets . QFormLayout . AllNonFixedFieldsGrow ) <EOL> self . formLayout . setObjectName ( "<STR_LIT>" ) <EOL> self . label = QtWidgets . QLabel ( Dialog ) <EOL> self . label . setObjectName ( "<STR_LIT:label>" ) <EOL> self . formLayout . setWidget ( <NUM_LIT:0> , QtWidgets . QFormLayout . LabelRole , self . label ) <EOL> self . lblCurrentLine = QtWidgets . QLabel ( Dialog ) <EOL> self . lblCurrentLine . setObjectName ( "<STR_LIT>" ) <EOL> self . formLayout . setWidget ( <NUM_LIT:0> , QtWidgets . QFormLayout . FieldRole , self . lblCurrentLine ) <EOL> self . label_3 = QtWidgets . QLabel ( Dialog ) <EOL> self . label_3 . setObjectName ( "<STR_LIT>" ) <EOL> self . formLayout . setWidget ( <NUM_LIT:1> , QtWidgets . QFormLayout . LabelRole , self . label_3 ) <EOL> self . label_4 = QtWidgets . QLabel ( Dialog ) <EOL> self . label_4 . setObjectName ( "<STR_LIT>" ) <EOL> self . formLayout . setWidget ( <NUM_LIT:2> , QtWidgets . QFormLayout . LabelRole , self . label_4 ) <EOL> self . lblLineCount = QtWidgets . QLabel ( Dialog ) <EOL> self . lblLineCount . setObjectName ( "<STR_LIT>" ) <EOL> self . formLayout . setWidget ( <NUM_LIT:2> , QtWidgets . QFormLayout . FieldRole , self . lblLineCount ) <EOL> self . spinBox = QtWidgets . QSpinBox ( Dialog ) <EOL> self . spinBox . setObjectName ( "<STR_LIT>" ) <EOL> self . formLayout . setWidget ( <NUM_LIT:1> , QtWidgets . QFormLayout . FieldRole , self . spinBox ) <EOL> self . gridLayout . addLayout ( self . formLayout , <NUM_LIT:0> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . buttonBox = QtWidgets . QDialogButtonBox ( Dialog ) <EOL> self . buttonBox . setOrientation ( QtCore . Qt . Horizontal ) <EOL> self . buttonBox . setStandardButtons ( QtWidgets . QDialogButtonBox . Cancel | QtWidgets . QDialogButtonBox . Ok ) <EOL> self . buttonBox . setObjectName ( "<STR_LIT>" ) <EOL> self . gridLayout . addWidget ( self . buttonBox , <NUM_LIT:1> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . retranslateUi ( Dialog ) <EOL> self . buttonBox . accepted . connect ( Dialog . accept ) <EOL> self . buttonBox . rejected . connect ( Dialog . reject ) <EOL> QtCore . QMetaObject . connectSlotsByName ( Dialog ) <EOL> def retranslateUi ( self , Dialog ) : <EOL> Dialog . setWindowTitle ( _ ( "<STR_LIT>" ) ) <EOL> self . label . setText ( _ ( "<STR_LIT>" ) ) <EOL> self . lblCurrentLine . setText ( _ ( "<STR_LIT:1>" ) ) <EOL> self . label_3 . setText ( _ ( "<STR_LIT>" ) ) <EOL> self . label_4 . setText ( _ ( "<STR_LIT>" ) ) <EOL> self . lblLineCount . setText ( _ ( "<STR_LIT:1>" ) ) </s>
