def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(224, 117) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth()) Form.setSizePolicy(sizePolicy) self.verticalLayout = QtGui.QVBoxLayout(Form) self.verticalLayout.setMargin(0) self.verticalLayout.setSpacing(1) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.translateLabel = QtGui.QLabel(Form) self.translateLabel.setObjectName(_fromUtf8("translateLabel")) self.verticalLayout.addWidget(self.translateLabel) self.rotateLabel = QtGui.QLabel(Form) self.rotateLabel.setObjectName(_fromUtf8("rotateLabel")) self.verticalLayout.addWidget(self.rotateLabel) self.scaleLabel = QtGui.QLabel(Form) self.scaleLabel.setObjectName(_fromUtf8("scaleLabel")) self.verticalLayout.addWidget(self.scaleLabel) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.mirrorImageBtn = QtGui.QPushButton(Form) self.mirrorImageBtn.setToolTip(_fromUtf8("")) self.mirrorImageBtn.setObjectName(_fromUtf8("mirrorImageBtn")) self.horizontalLayout.addWidget(self.mirrorImageBtn) self.reflectImageBtn = QtGui.QPushButton(Form) self.reflectImageBtn.setObjectName(_fromUtf8("reflectImageBtn")) self.horizontalLayout.addWidget(self.reflectImageBtn) self.verticalLayout.addLayout(self.horizontalLayout) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)
def __init__(self, text): QtGui.QPushButton.__init__(self) self.setText(text) buttons_size_policy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) self.setSizePolicy(buttons_size_policy) self.setMaximumSize(QtCore.QSize(30, 30))
def setupUi(self, Autocorrelation): Autocorrelation.setObjectName(_fromUtf8("Autocorrelation")) Autocorrelation.setWindowModality(QtCore.Qt.NonModal) Autocorrelation.resize(674, 462) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( Autocorrelation.sizePolicy().hasHeightForWidth()) Autocorrelation.setSizePolicy(sizePolicy) Autocorrelation.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu) self.verticalLayout = QtGui.QVBoxLayout(Autocorrelation) self.verticalLayout.setSizeConstraint( QtGui.QLayout.SetDefaultConstraint) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.formLayout = QtGui.QFormLayout() self.formLayout.setFieldGrowthPolicy( QtGui.QFormLayout.AllNonFixedFieldsGrow) self.formLayout.setObjectName(_fromUtf8("formLayout")) self.label = QtGui.QLabel(Autocorrelation) self.label.setObjectName(_fromUtf8("label")) self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label) self.cbx_aggregation_layer = QgsMapLayerComboBox(Autocorrelation) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cbx_aggregation_layer.sizePolicy().hasHeightForWidth()) self.cbx_aggregation_layer.setSizePolicy(sizePolicy) self.cbx_aggregation_layer.setObjectName( _fromUtf8("cbx_aggregation_layer")) self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.cbx_aggregation_layer) self.label_4 = QtGui.QLabel(Autocorrelation) self.label_4.setObjectName(_fromUtf8("label_4")) self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4) self.cbx_indicator_field = QgsFieldComboBox(Autocorrelation) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cbx_indicator_field.sizePolicy().hasHeightForWidth()) self.cbx_indicator_field.setSizePolicy(sizePolicy) self.cbx_indicator_field.setObjectName( _fromUtf8("cbx_indicator_field")) self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.cbx_indicator_field) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.le_output_filepath = QtGui.QLineEdit(Autocorrelation) self.le_output_filepath.setObjectName(_fromUtf8("le_output_filepath")) self.horizontalLayout_6.addWidget(self.le_output_filepath) self.button_browse = QtGui.QPushButton(Autocorrelation) self.button_browse.setObjectName(_fromUtf8("button_browse")) self.horizontalLayout_6.addWidget(self.button_browse) self.formLayout.setLayout(12, QtGui.QFormLayout.FieldRole, self.horizontalLayout_6) self.label_3 = QtGui.QLabel(Autocorrelation) self.label_3.setObjectName(_fromUtf8("label_3")) self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.label_3) self.cbx_contiguity = QtGui.QComboBox(Autocorrelation) self.cbx_contiguity.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cbx_contiguity.sizePolicy().hasHeightForWidth()) self.cbx_contiguity.setSizePolicy(sizePolicy) self.cbx_contiguity.setMinimumSize(QtCore.QSize(104, 0)) self.cbx_contiguity.setObjectName(_fromUtf8("cbx_contiguity")) self.cbx_contiguity.addItem(_fromUtf8("")) self.cbx_contiguity.addItem(_fromUtf8("")) self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.cbx_contiguity) self.label_8 = QtGui.QLabel(Autocorrelation) self.label_8.setObjectName(_fromUtf8("label_8")) self.formLayout.setWidget(12, QtGui.QFormLayout.LabelRole, self.label_8) self.verticalLayout.addLayout(self.formLayout) self.button_box_ok = QtGui.QDialogButtonBox(Autocorrelation) self.button_box_ok.setOrientation(QtCore.Qt.Horizontal) self.button_box_ok.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.button_box_ok.setObjectName(_fromUtf8("button_box_ok")) self.verticalLayout.addWidget(self.button_box_ok) self.retranslateUi(Autocorrelation) QtCore.QObject.connect( self.cbx_aggregation_layer, QtCore.SIGNAL(_fromUtf8("layerChanged(QgsMapLayer*)")), self.cbx_indicator_field.setLayer) QtCore.QMetaObject.connectSlotsByName(Autocorrelation)
def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(821, 578) self.gridLayout_2 = QtGui.QGridLayout(Form) self.gridLayout_2.setMargin(0) self.gridLayout_2.setSpacing(0) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.splitter = QtGui.QSplitter(Form) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.view = GraphicsView(self.splitter) self.view.setObjectName(_fromUtf8("view")) self.vsplitter = QtGui.QSplitter(self.splitter) self.vsplitter.setOrientation(QtCore.Qt.Vertical) self.vsplitter.setObjectName(_fromUtf8("vsplitter")) self.canvasCtrlWidget = QtGui.QWidget(self.vsplitter) self.canvasCtrlWidget.setObjectName(_fromUtf8("canvasCtrlWidget")) self.gridLayout = QtGui.QGridLayout(self.canvasCtrlWidget) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.autoRangeBtn = QtGui.QPushButton(self.canvasCtrlWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth( self.autoRangeBtn.sizePolicy().hasHeightForWidth()) self.autoRangeBtn.setSizePolicy(sizePolicy) self.autoRangeBtn.setObjectName(_fromUtf8("autoRangeBtn")) self.gridLayout.addWidget(self.autoRangeBtn, 0, 0, 1, 2) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSpacing(0) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.redirectCheck = QtGui.QCheckBox(self.canvasCtrlWidget) self.redirectCheck.setObjectName(_fromUtf8("redirectCheck")) self.horizontalLayout.addWidget(self.redirectCheck) self.redirectCombo = CanvasCombo(self.canvasCtrlWidget) self.redirectCombo.setObjectName(_fromUtf8("redirectCombo")) self.horizontalLayout.addWidget(self.redirectCombo) self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 2) self.itemList = TreeWidget(self.canvasCtrlWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(100) sizePolicy.setHeightForWidth( self.itemList.sizePolicy().hasHeightForWidth()) self.itemList.setSizePolicy(sizePolicy) self.itemList.setHeaderHidden(True) self.itemList.setObjectName(_fromUtf8("itemList")) self.itemList.headerItem().setText(0, _fromUtf8("1")) self.gridLayout.addWidget(self.itemList, 2, 0, 1, 2) self.resetTransformsBtn = QtGui.QPushButton(self.canvasCtrlWidget) self.resetTransformsBtn.setObjectName(_fromUtf8("resetTransformsBtn")) self.gridLayout.addWidget(self.resetTransformsBtn, 3, 0, 1, 2) self.mirrorSelectionBtn = QtGui.QPushButton(self.canvasCtrlWidget) self.mirrorSelectionBtn.setObjectName(_fromUtf8("mirrorSelectionBtn")) self.gridLayout.addWidget(self.mirrorSelectionBtn, 4, 0, 1, 1) self.reflectSelectionBtn = QtGui.QPushButton(self.canvasCtrlWidget) self.reflectSelectionBtn.setObjectName( _fromUtf8("reflectSelectionBtn")) self.gridLayout.addWidget(self.reflectSelectionBtn, 4, 1, 1, 1) self.canvasItemCtrl = QtGui.QWidget(self.vsplitter) self.canvasItemCtrl.setObjectName(_fromUtf8("canvasItemCtrl")) self.ctrlLayout = QtGui.QGridLayout(self.canvasItemCtrl) self.ctrlLayout.setMargin(0) self.ctrlLayout.setSpacing(0) self.ctrlLayout.setObjectName(_fromUtf8("ctrlLayout")) self.gridLayout_2.addWidget(self.splitter, 0, 0, 1, 1) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)
def setupUi(self, mapExport): mapExport.setObjectName(_fromUtf8("mapExport")) mapExport.resize(376, 453) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( mapExport.sizePolicy().hasHeightForWidth()) mapExport.setSizePolicy(sizePolicy) mapExport.setMinimumSize(QtCore.QSize(320, 340)) mapExport.setSizeIncrement(QtCore.QSize(0, 0)) mapExport.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu) icon = QtGui.QIcon() icon.addPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/MapExport/icons/icon.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) mapExport.setWindowIcon(icon) mapExport.setSizeGripEnabled(True) self.gridLayout = QtGui.QGridLayout(mapExport) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.label_2 = QtGui.QLabel(mapExport) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 5, 0, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.exportButton = QtGui.QPushButton(mapExport) self.exportButton.setObjectName(_fromUtf8("exportButton")) self.horizontalLayout.addWidget(self.exportButton) self.buttonBox = QtGui.QDialogButtonBox(mapExport) self.buttonBox.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Close) self.buttonBox.setCenterButtons(False) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout.addWidget(self.buttonBox) self.gridLayout.addLayout(self.horizontalLayout, 8, 0, 1, 2) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.printinglabel = QtGui.QLabel(mapExport) self.printinglabel.setText(_fromUtf8("")) self.printinglabel.setObjectName(_fromUtf8("printinglabel")) self.horizontalLayout_6.addWidget(self.printinglabel) self.pageBar = QtGui.QProgressBar(mapExport) self.pageBar.setProperty("value", 0) self.pageBar.setObjectName(_fromUtf8("pageBar")) self.horizontalLayout_6.addWidget(self.pageBar) self.gridLayout.addLayout(self.horizontalLayout_6, 7, 0, 1, 2) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.path = QtGui.QLineEdit(mapExport) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.path.sizePolicy().hasHeightForWidth()) self.path.setSizePolicy(sizePolicy) self.path.setSizeIncrement(QtCore.QSize(0, 0)) self.path.setToolTip(_fromUtf8("")) self.path.setWhatsThis(_fromUtf8("")) self.path.setObjectName(_fromUtf8("path")) self.horizontalLayout_3.addWidget(self.path) self.browser = QtGui.QPushButton(mapExport) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.browser.sizePolicy().hasHeightForWidth()) self.browser.setSizePolicy(sizePolicy) self.browser.setMinimumSize(QtCore.QSize(100, 23)) self.browser.setObjectName(_fromUtf8("browser")) self.horizontalLayout_3.addWidget(self.browser) self.gridLayout.addLayout(self.horizontalLayout_3, 6, 0, 1, 2) self.textBrowser = QtGui.QTextBrowser(mapExport) self.textBrowser.setObjectName(_fromUtf8("textBrowser")) self.gridLayout.addWidget(self.textBrowser, 0, 0, 1, 2) self.label = QtGui.QLabel(mapExport) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 1, 0, 1, 1) self.composerSelect = QtGui.QComboBox(mapExport) self.composerSelect.setObjectName(_fromUtf8("composerSelect")) self.gridLayout.addWidget(self.composerSelect, 2, 0, 1, 2) self.retranslateUi(mapExport) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), mapExport.reject) QtCore.QMetaObject.connectSlotsByName(mapExport) mapExport.setTabOrder(self.path, self.browser) mapExport.setTabOrder(self.browser, self.exportButton) mapExport.setTabOrder(self.exportButton, self.buttonBox)
def setupUi(self, Composite_Index): Composite_Index.setObjectName(_fromUtf8("Composite_Index")) Composite_Index.resize(814, 754) self.verticalLayout = QtGui.QVBoxLayout(Composite_Index) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.formLayout = QtGui.QFormLayout() self.formLayout.setFieldGrowthPolicy( QtGui.QFormLayout.ExpandingFieldsGrow) self.formLayout.setObjectName(_fromUtf8("formLayout")) self.label = QtGui.QLabel(Composite_Index) self.label.setObjectName(_fromUtf8("label")) self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label) self.cbx_aggregation_layer = QgsMapLayerComboBox(Composite_Index) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cbx_aggregation_layer.sizePolicy().hasHeightForWidth()) self.cbx_aggregation_layer.setSizePolicy(sizePolicy) self.cbx_aggregation_layer.setObjectName( _fromUtf8("cbx_aggregation_layer")) self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.cbx_aggregation_layer) self.label_4 = QtGui.QLabel(Composite_Index) self.label_4.setObjectName(_fromUtf8("label_4")) self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4) self.cbx_indicator_field = QgsFieldComboBox(Composite_Index) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cbx_indicator_field.sizePolicy().hasHeightForWidth()) self.cbx_indicator_field.setSizePolicy(sizePolicy) self.cbx_indicator_field.setObjectName( _fromUtf8("cbx_indicator_field")) self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.cbx_indicator_field) self.label_3 = QtGui.QLabel(Composite_Index) self.label_3.setObjectName(_fromUtf8("label_3")) self.formLayout.setWidget(11, QtGui.QFormLayout.LabelRole, self.label_3) self.label_8 = QtGui.QLabel(Composite_Index) self.label_8.setObjectName(_fromUtf8("label_8")) self.formLayout.setWidget(12, QtGui.QFormLayout.LabelRole, self.label_8) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.le_output_filepath = QtGui.QLineEdit(Composite_Index) self.le_output_filepath.setObjectName(_fromUtf8("le_output_filepath")) self.horizontalLayout_6.addWidget(self.le_output_filepath) self.button_browse = QtGui.QPushButton(Composite_Index) self.button_browse.setObjectName(_fromUtf8("button_browse")) self.horizontalLayout_6.addWidget(self.button_browse) self.formLayout.setLayout(12, QtGui.QFormLayout.FieldRole, self.horizontalLayout_6) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.formLayout.setLayout(13, QtGui.QFormLayout.FieldRole, self.horizontalLayout) self.radioButton_vector_positive = QtGui.QRadioButton(Composite_Index) self.radioButton_vector_positive.setChecked(True) self.radioButton_vector_positive.setObjectName( _fromUtf8("radioButton_vector_positive")) self.buttonGroup_2 = QtGui.QButtonGroup(Composite_Index) self.buttonGroup_2.setObjectName(_fromUtf8("buttonGroup_2")) self.buttonGroup_2.addButton(self.radioButton_vector_positive) self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.radioButton_vector_positive) self.radioButton_vector_negative = QtGui.QRadioButton(Composite_Index) self.radioButton_vector_negative.setObjectName( _fromUtf8("radioButton_vector_negative")) self.buttonGroup_2.addButton(self.radioButton_vector_negative) self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.radioButton_vector_negative) self.le_new_column = QtGui.QLineEdit(Composite_Index) self.le_new_column.setMaxLength(10) self.le_new_column.setObjectName(_fromUtf8("le_new_column")) self.formLayout.setWidget(11, QtGui.QFormLayout.FieldRole, self.le_new_column) self.cbx_list_indicators = QtGui.QListWidget(Composite_Index) self.cbx_list_indicators.setObjectName( _fromUtf8("cbx_list_indicators")) self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole, self.cbx_list_indicators) self.command_link_button = QtGui.QCommandLinkButton(Composite_Index) self.command_link_button.setObjectName( _fromUtf8("command_link_button")) self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.command_link_button) self.label_2 = QtGui.QLabel(Composite_Index) self.label_2.setObjectName(_fromUtf8("label_2")) self.formLayout.setWidget(9, QtGui.QFormLayout.FieldRole, self.label_2) self.verticalLayout.addLayout(self.formLayout) self.symbology = QgsCollapsibleGroupBox(Composite_Index) self.symbology.setCheckable(True) self.symbology.setProperty("collapsed", False) self.symbology.setObjectName(_fromUtf8("symbology")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.symbology) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.label_9 = QtGui.QLabel(self.symbology) self.label_9.setObjectName(_fromUtf8("label_9")) self.horizontalLayout_3.addWidget(self.label_9) self.color_low_value = QgsColorButton(self.symbology) self.color_low_value.setProperty("color", QtGui.QColor(50, 164, 46)) self.color_low_value.setObjectName(_fromUtf8("color_low_value")) self.horizontalLayout_3.addWidget(self.color_low_value) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem) self.label_10 = QtGui.QLabel(self.symbology) self.label_10.setObjectName(_fromUtf8("label_10")) self.horizontalLayout_3.addWidget(self.label_10) self.color_high_value = QgsColorButton(self.symbology) self.color_high_value.setProperty("color", QtGui.QColor(202, 33, 36)) self.color_high_value.setObjectName(_fromUtf8("color_high_value")) self.horizontalLayout_3.addWidget(self.color_high_value) self.verticalLayout_3.addLayout(self.horizontalLayout_3) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.label_11 = QtGui.QLabel(self.symbology) self.label_11.setObjectName(_fromUtf8("label_11")) self.horizontalLayout_4.addWidget(self.label_11) self.spinBox_classes = QtGui.QSpinBox(self.symbology) self.spinBox_classes.setMinimum(1) self.spinBox_classes.setProperty("value", 5) self.spinBox_classes.setObjectName(_fromUtf8("spinBox_classes")) self.horizontalLayout_4.addWidget(self.spinBox_classes) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem1) self.label_12 = QtGui.QLabel(self.symbology) self.label_12.setObjectName(_fromUtf8("label_12")) self.horizontalLayout_4.addWidget(self.label_12) self.cbx_mode = QtGui.QComboBox(self.symbology) self.cbx_mode.setObjectName(_fromUtf8("cbx_mode")) self.horizontalLayout_4.addWidget(self.cbx_mode) self.verticalLayout_3.addLayout(self.horizontalLayout_4) self.verticalLayout.addWidget(self.symbology) self.button_box_ok = QtGui.QDialogButtonBox(Composite_Index) self.button_box_ok.setOrientation(QtCore.Qt.Horizontal) self.button_box_ok.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.button_box_ok.setObjectName(_fromUtf8("button_box_ok")) self.verticalLayout.addWidget(self.button_box_ok) self.retranslateUi(Composite_Index) QtCore.QObject.connect( self.cbx_aggregation_layer, QtCore.SIGNAL(_fromUtf8("layerChanged(QgsMapLayer*)")), self.cbx_indicator_field.setLayer) QtCore.QMetaObject.connectSlotsByName(Composite_Index)
def setupUi(self, GBIFOccurrencesDialogBase): GBIFOccurrencesDialogBase.setObjectName( _fromUtf8("GBIFOccurrencesDialogBase")) GBIFOccurrencesDialogBase.resize(544, 662) self.progressBar = QtGui.QProgressBar(GBIFOccurrencesDialogBase) self.progressBar.setGeometry(QtCore.QRect(216, 610, 321, 31)) self.progressBar.setProperty("value", 0) self.progressBar.setObjectName(_fromUtf8("progressBar")) self.loadButton = QtGui.QPushButton(GBIFOccurrencesDialogBase) self.loadButton.setGeometry(QtCore.QRect(10, 611, 141, 30)) self.loadButton.setCheckable(False) self.loadButton.setDefault(False) self.loadButton.setFlat(False) self.loadButton.setObjectName(_fromUtf8("loadButton")) self.loadingLabel = QtGui.QLabel(GBIFOccurrencesDialogBase) self.loadingLabel.setGeometry(QtCore.QRect(20, 600, 501, 20)) self.loadingLabel.setText(_fromUtf8("")) self.loadingLabel.setObjectName(_fromUtf8("loadingLabel")) self.line = QtGui.QFrame(GBIFOccurrencesDialogBase) self.line.setGeometry(QtCore.QRect(10, 570, 511, 16)) self.line.setFrameShape(QtGui.QFrame.HLine) self.line.setFrameShadow(QtGui.QFrame.Sunken) self.line.setObjectName(_fromUtf8("line")) self.label_4 = QtGui.QLabel(GBIFOccurrencesDialogBase) self.label_4.setGeometry(QtCore.QRect(30, 90, 62, 20)) font = QtGui.QFont() font.setFamily(_fromUtf8("Lucida Grande")) font.setBold(True) font.setWeight(75) self.label_4.setFont(font) self.label_4.setObjectName(_fromUtf8("label_4")) self.layoutWidget = QtGui.QWidget(GBIFOccurrencesDialogBase) self.layoutWidget.setGeometry(QtCore.QRect(73, 130, 391, 408)) self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) self.gridLayout = QtGui.QGridLayout(self.layoutWidget) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.institutionCodeField = QtGui.QLineEdit(self.layoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.institutionCodeField.sizePolicy().hasHeightForWidth()) self.institutionCodeField.setSizePolicy(sizePolicy) self.institutionCodeField.setObjectName( _fromUtf8("institutionCodeField")) self.gridLayout.addWidget(self.institutionCodeField, 11, 1, 1, 1) self.datasetKeyField = QtGui.QLineEdit(self.layoutWidget) self.datasetKeyField.setObjectName(_fromUtf8("datasetKeyField")) self.gridLayout.addWidget(self.datasetKeyField, 15, 1, 1, 1) self.gridLayout_2 = QtGui.QGridLayout() self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.yearRangeBox = QtGui.QCheckBox(self.layoutWidget) self.yearRangeBox.setObjectName(_fromUtf8("yearRangeBox")) self.gridLayout_2.addWidget(self.yearRangeBox, 0, 0, 1, 1) self.minYearEdit = QtGui.QLineEdit(self.layoutWidget) self.minYearEdit.setObjectName(_fromUtf8("minYearEdit")) self.gridLayout_2.addWidget(self.minYearEdit, 1, 0, 1, 1) self.maxYearEdit = QtGui.QLineEdit(self.layoutWidget) self.maxYearEdit.setEnabled(False) self.maxYearEdit.setObjectName(_fromUtf8("maxYearEdit")) self.gridLayout_2.addWidget(self.maxYearEdit, 1, 1, 1, 1) self.gridLayout.addLayout(self.gridLayout_2, 7, 1, 1, 1) self.taxonKeyField = QtGui.QLineEdit(self.layoutWidget) self.taxonKeyField.setObjectName(_fromUtf8("taxonKeyField")) self.gridLayout.addWidget(self.taxonKeyField, 2, 1, 1, 1) self.catalogNumberField = QtGui.QLineEdit(self.layoutWidget) self.catalogNumberField.setObjectName(_fromUtf8("catalogNumberField")) self.gridLayout.addWidget(self.catalogNumberField, 5, 1, 1, 1) self.label_13 = QtGui.QLabel(self.layoutWidget) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label_13.setFont(font) self.label_13.setObjectName(_fromUtf8("label_13")) self.gridLayout.addWidget(self.label_13, 0, 0, 1, 2) self.label_8 = QtGui.QLabel(self.layoutWidget) self.label_8.setObjectName(_fromUtf8("label_8")) self.gridLayout.addWidget(self.label_8, 12, 0, 1, 1) self.label_10 = QtGui.QLabel(self.layoutWidget) self.label_10.setObjectName(_fromUtf8("label_10")) self.gridLayout.addWidget(self.label_10, 2, 0, 1, 1) self.label_3 = QtGui.QLabel(self.layoutWidget) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout.addWidget(self.label_3, 4, 0, 1, 1) self.label_2 = QtGui.QLabel(self.layoutWidget) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 3, 0, 1, 1) self.recordedByField = QtGui.QLineEdit(self.layoutWidget) self.recordedByField.setObjectName(_fromUtf8("recordedByField")) self.gridLayout.addWidget(self.recordedByField, 6, 1, 1, 1) self.label_5 = QtGui.QLabel(self.layoutWidget) self.label_5.setObjectName(_fromUtf8("label_5")) self.gridLayout.addWidget(self.label_5, 5, 0, 1, 1) self.label_15 = QtGui.QLabel(self.layoutWidget) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label_15.setFont(font) self.label_15.setObjectName(_fromUtf8("label_15")) self.gridLayout.addWidget(self.label_15, 8, 0, 1, 2) self.label_9 = QtGui.QLabel(self.layoutWidget) self.label_9.setObjectName(_fromUtf8("label_9")) self.gridLayout.addWidget(self.label_9, 7, 0, 1, 1) self.countryComboBox = QtGui.QComboBox(self.layoutWidget) self.countryComboBox.setObjectName(_fromUtf8("countryComboBox")) self.gridLayout.addWidget(self.countryComboBox, 4, 1, 1, 1) self.basisComboBox = QtGui.QComboBox(self.layoutWidget) self.basisComboBox.setObjectName(_fromUtf8("basisComboBox")) self.gridLayout.addWidget(self.basisComboBox, 3, 1, 1, 1) self.label = QtGui.QLabel(self.layoutWidget) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 1, 0, 1, 1) self.scientificNameField = QtGui.QLineEdit(self.layoutWidget) self.scientificNameField.setObjectName( _fromUtf8("scientificNameField")) self.gridLayout.addWidget(self.scientificNameField, 1, 1, 1, 1) self.label_7 = QtGui.QLabel(self.layoutWidget) self.label_7.setObjectName(_fromUtf8("label_7")) self.gridLayout.addWidget(self.label_7, 11, 0, 1, 1) self.label_11 = QtGui.QLabel(self.layoutWidget) self.label_11.setObjectName(_fromUtf8("label_11")) self.gridLayout.addWidget(self.label_11, 15, 0, 1, 1) self.label_12 = QtGui.QLabel(self.layoutWidget) self.label_12.setObjectName(_fromUtf8("label_12")) self.gridLayout.addWidget(self.label_12, 6, 0, 1, 1) self.collectionCodeField = QtGui.QLineEdit(self.layoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.collectionCodeField.sizePolicy().hasHeightForWidth()) self.collectionCodeField.setSizePolicy(sizePolicy) self.collectionCodeField.setObjectName( _fromUtf8("collectionCodeField")) self.gridLayout.addWidget(self.collectionCodeField, 12, 1, 1, 1) self.publishingCountryComboBox = QtGui.QComboBox(self.layoutWidget) self.publishingCountryComboBox.setObjectName( _fromUtf8("publishingCountryComboBox")) self.gridLayout.addWidget(self.publishingCountryComboBox, 9, 1, 1, 1) self.label_6 = QtGui.QLabel(self.layoutWidget) self.label_6.setObjectName(_fromUtf8("label_6")) self.gridLayout.addWidget(self.label_6, 9, 0, 1, 1) self.stopButton = QtGui.QPushButton(GBIFOccurrencesDialogBase) self.stopButton.setEnabled(False) self.stopButton.setGeometry(QtCore.QRect(150, 611, 61, 31)) self.stopButton.setObjectName(_fromUtf8("stopButton")) self.layoutWidget.raise_() self.progressBar.raise_() self.loadButton.raise_() self.loadingLabel.raise_() self.line.raise_() self.label_4.raise_() self.stopButton.raise_() self.retranslateUi(GBIFOccurrencesDialogBase) QtCore.QMetaObject.connectSlotsByName(GBIFOccurrencesDialogBase)