<s> from PyQt4 import QtCore , QtGui <EOL> try : <EOL> _fromUtf8 = QtCore . QString . fromUtf8 <EOL> except AttributeError : <EOL> _fromUtf8 = lambda s : s <EOL> class Ui_Frame ( object ) : <EOL> def setupUi ( self , Frame ) : <EOL> Frame . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> Frame . resize ( <NUM_LIT> , <NUM_LIT> ) <EOL> Frame . setWindowTitle ( QtGui . QApplication . translate ( "<STR_LIT>" , "<STR_LIT>" , None , QtGui . QApplication . UnicodeUTF8 ) ) <EOL> Frame . setFrameShape ( QtGui . QFrame . StyledPanel ) <EOL> Frame . setFrameShadow ( QtGui . QFrame . Plain ) <EOL> self . gridLayout = QtGui . QGridLayout ( Frame ) <EOL> self . gridLayout . setMargin ( <NUM_LIT:0> ) <EOL> self . gridLayout . setSpacing ( <NUM_LIT:0> ) <EOL> self . gridLayout . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . splitter = QtGui . QSplitter ( Frame ) <EOL> self . splitter . setOrientation ( QtCore . Qt . Vertical ) <EOL> self . splitter . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . legend_frame_2 = QtGui . QFrame ( self . splitter ) <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 . legend_frame_2 . sizePolicy ( ) . hasHeightForWidth ( ) ) <EOL> self . legend_frame_2 . setSizePolicy ( sizePolicy ) <EOL> self . legend_frame_2 . setMinimumSize ( QtCore . QSize ( <NUM_LIT:0> , <NUM_LIT:0> ) ) <EOL> self . legend_frame_2 . setBaseSize ( QtCore . QSize ( <NUM_LIT:0> , <NUM_LIT:0> ) ) <EOL> self . legend_frame_2 . setFrameShape ( QtGui . QFrame . StyledPanel ) <EOL> self . legend_frame_2 . setFrameShadow ( QtGui . QFrame . Sunken ) <EOL> self . legend_frame_2 . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . horizontalLayout_2 = QtGui . QHBoxLayout ( self . legend_frame_2 ) <EOL> self . horizontalLayout_2 . setSpacing ( <NUM_LIT:5> ) <EOL> self . horizontalLayout_2 . setContentsMargins ( <NUM_LIT:9> , <NUM_LIT:0> , <NUM_LIT:0> , <NUM_LIT:0> ) <EOL> self . horizontalLayout_2 . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . legend_label = QtGui . QLabel ( self . legend_frame_2 ) <EOL> sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Preferred , QtGui . QSizePolicy . Minimum ) <EOL> sizePolicy . setHorizontalStretch ( <NUM_LIT:0> ) <EOL> sizePolicy . setVerticalStretch ( <NUM_LIT:0> ) <EOL> sizePolicy . setHeightForWidth ( self . legend_label . sizePolicy ( ) . hasHeightForWidth ( ) ) <EOL> self . legend_label . setSizePolicy ( sizePolicy ) <EOL> self . legend_label . setText ( QtGui . QApplication . translate ( "<STR_LIT>" , "<STR_LIT>" , None , QtGui . QApplication . UnicodeUTF8 ) ) <EOL> self . legend_label . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . horizontalLayout_2 . addWidget ( self . legend_label ) <EOL> self . legend = QtGui . QFrame ( self . legend_frame_2 ) <EOL> sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Expanding , QtGui . QSizePolicy . Minimum ) <EOL> sizePolicy . setHorizontalStretch ( <NUM_LIT:0> ) <EOL> sizePolicy . setVerticalStretch ( <NUM_LIT:0> ) <EOL> sizePolicy . setHeightForWidth ( self . legend . sizePolicy ( ) . hasHeightForWidth ( ) ) <EOL> self . legend . setSizePolicy ( sizePolicy ) <EOL> self . legend . setFrameShape ( QtGui . QFrame . NoFrame ) <EOL> self . legend . setFrameShadow ( QtGui . QFrame . Plain ) <EOL> self . legend . setLineWidth ( <NUM_LIT:0> ) <EOL> self . legend . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . legend_layout = QtGui . QHBoxLayout ( self . legend ) <EOL> self . legend_layout . setMargin ( <NUM_LIT:0> ) <EOL> self . legend_layout . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . horizontalLayout_2 . addWidget ( self . legend ) <EOL> self . map_frame = QtGui . QFrame ( self . splitter ) <EOL> sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Preferred , QtGui . QSizePolicy . Expanding ) <EOL> sizePolicy . setHorizontalStretch ( <NUM_LIT:0> ) <EOL> sizePolicy . setVerticalStretch ( <NUM_LIT:1> ) <EOL> sizePolicy . setHeightForWidth ( self . map_frame . sizePolicy ( ) . hasHeightForWidth ( ) ) <EOL> self . map_frame . setSizePolicy ( sizePolicy ) <EOL> self . map_frame . setFrameShape ( QtGui . QFrame . StyledPanel ) <EOL> self . map_frame . setFrameShadow ( QtGui . QFrame . Sunken ) <EOL> self . map_frame . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . horizontalLayout = QtGui . QHBoxLayout ( self . map_frame ) <EOL> self . horizontalLayout . setSpacing ( <NUM_LIT:0> ) <EOL> self . horizontalLayout . setMargin ( <NUM_LIT:0> ) <EOL> self . horizontalLayout . setObjectName ( _fromUtf8 ( "<STR_LIT>" ) ) <EOL> self . gridLayout . addWidget ( self . splitter , <NUM_LIT:0> , <NUM_LIT:0> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> self . retranslateUi ( Frame ) <EOL> QtCore . QMetaObject . connectSlotsByName ( Frame ) <EOL> def retranslateUi ( self , Frame ) : <EOL> pass </s>
