class Ui_QgsComposerLabelWidgetBase(object): def setupUi(self, QgsComposerLabelWidgetBase): QgsComposerLabelWidgetBase.setObjectName(_fromUtf8("QgsComposerLabelWidgetBase")) QgsComposerLabelWidgetBase.resize(304, 705) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(QgsComposerLabelWidgetBase.sizePolicy().hasHeightForWidth()) QgsComposerLabelWidgetBase.setSizePolicy(sizePolicy) self._2 = QtGui.QVBoxLayout(QgsComposerLabelWidgetBase) self._2.setSpacing(0) self._2.setMargin(0) self._2.setObjectName(_fromUtf8("_2")) self.label = QtGui.QLabel(QgsComposerLabelWidgetBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy) self.label.setStyleSheet(_fromUtf8("padding: 2px; font-weight: bold; background-color: rgb(200, 200, 200);")) self.label.setObjectName(_fromUtf8("label")) self._2.addWidget(self.label) self.scrollArea = QtGui.QScrollArea(QgsComposerLabelWidgetBase) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 302, 682)) self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents")) self.mainLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents) self.mainLayout.setObjectName(_fromUtf8("mainLayout")) self.mTextGroupBox = QgsCollapsibleGroupBoxBasic(self.scrollAreaWidgetContents) self.mTextGroupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.mTextGroupBox.setCheckable(False) self.mTextGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mTextGroupBox.setProperty("collapsed", False) self.mTextGroupBox.setObjectName(_fromUtf8("mTextGroupBox")) self.gridLayout_2 = QtGui.QGridLayout(self.mTextGroupBox) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.mTextEdit = QtGui.QPlainTextEdit(self.mTextGroupBox) self.mTextEdit.setTabStopWidth(10) self.mTextEdit.setObjectName(_fromUtf8("mTextEdit")) self.gridLayout_2.addWidget(self.mTextEdit, 0, 0, 1, 1) self.mHtmlCheckBox = QtGui.QCheckBox(self.mTextGroupBox) self.mHtmlCheckBox.setObjectName(_fromUtf8("mHtmlCheckBox")) self.gridLayout_2.addWidget(self.mHtmlCheckBox, 1, 0, 1, 1) self.mInsertExpressionButton = QtGui.QPushButton(self.mTextGroupBox) self.mInsertExpressionButton.setObjectName(_fromUtf8("mInsertExpressionButton")) self.gridLayout_2.addWidget(self.mInsertExpressionButton, 2, 0, 1, 1) self.mainLayout.addWidget(self.mTextGroupBox) self.mAppearanceGroup = QgsCollapsibleGroupBoxBasic(self.scrollAreaWidgetContents) self.mAppearanceGroup.setFocusPolicy(QtCore.Qt.StrongFocus) self.mAppearanceGroup.setCheckable(False) self.mAppearanceGroup.setProperty("syncGroup", _fromUtf8("composeritem")) self.mAppearanceGroup.setProperty("collapsed", False) self.mAppearanceGroup.setObjectName(_fromUtf8("mAppearanceGroup")) self.gridLayout = QtGui.QGridLayout(self.mAppearanceGroup) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.label_2 = QtGui.QLabel(self.mAppearanceGroup) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.mTopRadioButton = QtGui.QRadioButton(self.mAppearanceGroup) self.mTopRadioButton.setObjectName(_fromUtf8("mTopRadioButton")) self.buttonGroup = QtGui.QButtonGroup(QgsComposerLabelWidgetBase) self.buttonGroup.setObjectName(_fromUtf8("buttonGroup")) self.buttonGroup.addButton(self.mTopRadioButton) self.horizontalLayout_6.addWidget(self.mTopRadioButton) self.mMiddleRadioButton = QtGui.QRadioButton(self.mAppearanceGroup) self.mMiddleRadioButton.setObjectName(_fromUtf8("mMiddleRadioButton")) self.buttonGroup.addButton(self.mMiddleRadioButton) self.horizontalLayout_6.addWidget(self.mMiddleRadioButton) self.mBottomRadioButton = QtGui.QRadioButton(self.mAppearanceGroup) self.mBottomRadioButton.setObjectName(_fromUtf8("mBottomRadioButton")) self.buttonGroup.addButton(self.mBottomRadioButton) self.horizontalLayout_6.addWidget(self.mBottomRadioButton) spacerItem = QtGui.QSpacerItem(0, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem) self.gridLayout.addLayout(self.horizontalLayout_6, 7, 0, 1, 2) self.mMarginXDoubleSpinBox = QgsDoubleSpinBox(self.mAppearanceGroup) self.mMarginXDoubleSpinBox.setPrefix(_fromUtf8("")) self.mMarginXDoubleSpinBox.setMinimum(-99.99) self.mMarginXDoubleSpinBox.setObjectName(_fromUtf8("mMarginXDoubleSpinBox")) self.gridLayout.addWidget(self.mMarginXDoubleSpinBox, 2, 1, 1, 1) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.mLeftRadioButton = QtGui.QRadioButton(self.mAppearanceGroup) self.mLeftRadioButton.setObjectName(_fromUtf8("mLeftRadioButton")) self.buttonGroup_2 = QtGui.QButtonGroup(QgsComposerLabelWidgetBase) self.buttonGroup_2.setObjectName(_fromUtf8("buttonGroup_2")) self.buttonGroup_2.addButton(self.mLeftRadioButton) self.horizontalLayout_5.addWidget(self.mLeftRadioButton) self.mCenterRadioButton = QtGui.QRadioButton(self.mAppearanceGroup) self.mCenterRadioButton.setObjectName(_fromUtf8("mCenterRadioButton")) self.buttonGroup_2.addButton(self.mCenterRadioButton) self.horizontalLayout_5.addWidget(self.mCenterRadioButton) self.mRightRadioButton = QtGui.QRadioButton(self.mAppearanceGroup) self.mRightRadioButton.setObjectName(_fromUtf8("mRightRadioButton")) self.buttonGroup_2.addButton(self.mRightRadioButton) self.horizontalLayout_5.addWidget(self.mRightRadioButton) spacerItem1 = QtGui.QSpacerItem(0, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem1) self.gridLayout.addLayout(self.horizontalLayout_5, 5, 0, 1, 2) self.mHorizontalAlignementLabel = QtGui.QLabel(self.mAppearanceGroup) self.mHorizontalAlignementLabel.setObjectName(_fromUtf8("mHorizontalAlignementLabel")) self.gridLayout.addWidget(self.mHorizontalAlignementLabel, 4, 0, 1, 2) self.mVerticalAlignementLabel = QtGui.QLabel(self.mAppearanceGroup) self.mVerticalAlignementLabel.setObjectName(_fromUtf8("mVerticalAlignementLabel")) self.gridLayout.addWidget(self.mVerticalAlignementLabel, 6, 0, 1, 2) self.mFontButton = QtGui.QPushButton(self.mAppearanceGroup) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mFontButton.sizePolicy().hasHeightForWidth()) self.mFontButton.setSizePolicy(sizePolicy) self.mFontButton.setObjectName(_fromUtf8("mFontButton")) self.gridLayout.addWidget(self.mFontButton, 0, 0, 1, 2) self.mMarginXLabel = QtGui.QLabel(self.mAppearanceGroup) self.mMarginXLabel.setObjectName(_fromUtf8("mMarginXLabel")) self.gridLayout.addWidget(self.mMarginXLabel, 2, 0, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.mFontColorButton = QgsColorButtonV2(self.mAppearanceGroup) self.mFontColorButton.setMinimumSize(QtCore.QSize(120, 0)) self.mFontColorButton.setMaximumSize(QtCore.QSize(120, 16777215)) self.mFontColorButton.setText(_fromUtf8("")) self.mFontColorButton.setObjectName(_fromUtf8("mFontColorButton")) self.horizontalLayout.addWidget(self.mFontColorButton) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem2) self.gridLayout.addLayout(self.horizontalLayout, 1, 1, 1, 1) self.mMarginYDoubleSpinBox = QgsDoubleSpinBox(self.mAppearanceGroup) self.mMarginYDoubleSpinBox.setMinimum(-99.99) self.mMarginYDoubleSpinBox.setObjectName(_fromUtf8("mMarginYDoubleSpinBox")) self.gridLayout.addWidget(self.mMarginYDoubleSpinBox, 3, 1, 1, 1) self.mMarginYLabel = QtGui.QLabel(self.mAppearanceGroup) self.mMarginYLabel.setObjectName(_fromUtf8("mMarginYLabel")) self.gridLayout.addWidget(self.mMarginYLabel, 3, 0, 1, 1) self.mainLayout.addWidget(self.mAppearanceGroup) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self._2.addWidget(self.scrollArea) self.retranslateUi(QgsComposerLabelWidgetBase) QtCore.QMetaObject.connectSlotsByName(QgsComposerLabelWidgetBase) QgsComposerLabelWidgetBase.setTabOrder(self.scrollArea, self.mTextGroupBox) QgsComposerLabelWidgetBase.setTabOrder(self.mTextGroupBox, self.mTextEdit) QgsComposerLabelWidgetBase.setTabOrder(self.mTextEdit, self.mHtmlCheckBox) QgsComposerLabelWidgetBase.setTabOrder(self.mHtmlCheckBox, self.mInsertExpressionButton) QgsComposerLabelWidgetBase.setTabOrder(self.mInsertExpressionButton, self.mAppearanceGroup) QgsComposerLabelWidgetBase.setTabOrder(self.mAppearanceGroup, self.mFontButton) QgsComposerLabelWidgetBase.setTabOrder(self.mFontButton, self.mFontColorButton) QgsComposerLabelWidgetBase.setTabOrder(self.mFontColorButton, self.mMarginXDoubleSpinBox) QgsComposerLabelWidgetBase.setTabOrder(self.mMarginXDoubleSpinBox, self.mMarginYDoubleSpinBox) QgsComposerLabelWidgetBase.setTabOrder(self.mMarginYDoubleSpinBox, self.mLeftRadioButton) QgsComposerLabelWidgetBase.setTabOrder(self.mLeftRadioButton, self.mCenterRadioButton) QgsComposerLabelWidgetBase.setTabOrder(self.mCenterRadioButton, self.mRightRadioButton) QgsComposerLabelWidgetBase.setTabOrder(self.mRightRadioButton, self.mTopRadioButton) QgsComposerLabelWidgetBase.setTabOrder(self.mTopRadioButton, self.mMiddleRadioButton) QgsComposerLabelWidgetBase.setTabOrder(self.mMiddleRadioButton, self.mBottomRadioButton) def retranslateUi(self, QgsComposerLabelWidgetBase): QgsComposerLabelWidgetBase.setWindowTitle(_translate("QgsComposerLabelWidgetBase", "Label Options", None)) self.label.setText(_translate("QgsComposerLabelWidgetBase", "Label", None)) self.mTextGroupBox.setTitle(_translate("QgsComposerLabelWidgetBase", "Main properties", None)) self.mHtmlCheckBox.setText(_translate("QgsComposerLabelWidgetBase", "Render as HTML", None)) self.mInsertExpressionButton.setText(_translate("QgsComposerLabelWidgetBase", "Insert an expression...", None)) self.mAppearanceGroup.setTitle(_translate("QgsComposerLabelWidgetBase", "Appearance", None)) self.label_2.setText(_translate("QgsComposerLabelWidgetBase", "Font color", None)) self.mTopRadioButton.setText(_translate("QgsComposerLabelWidgetBase", "Top", None)) self.mMiddleRadioButton.setText(_translate("QgsComposerLabelWidgetBase", "Middle", None)) self.mBottomRadioButton.setText(_translate("QgsComposerLabelWidgetBase", "Bottom", None)) self.mMarginXDoubleSpinBox.setSuffix(_translate("QgsComposerLabelWidgetBase", " mm", None)) self.mLeftRadioButton.setText(_translate("QgsComposerLabelWidgetBase", "Left", None)) self.mCenterRadioButton.setText(_translate("QgsComposerLabelWidgetBase", "Center", None)) self.mRightRadioButton.setText(_translate("QgsComposerLabelWidgetBase", "Right", None)) self.mHorizontalAlignementLabel.setText(_translate("QgsComposerLabelWidgetBase", "Horizontal alignment", None)) self.mVerticalAlignementLabel.setText(_translate("QgsComposerLabelWidgetBase", "Vertical alignment", None)) self.mFontButton.setText(_translate("QgsComposerLabelWidgetBase", "Font...", None)) self.mMarginXLabel.setText(_translate("QgsComposerLabelWidgetBase", "Horizontal margin", None)) self.mMarginYDoubleSpinBox.setSuffix(_translate("QgsComposerLabelWidgetBase", " mm", None)) self.mMarginYLabel.setText(_translate("QgsComposerLabelWidgetBase", "Vertical margin", None))
class Ui_QgsComposerLegendWidgetBase(object): def setupUi(self, QgsComposerLegendWidgetBase): QgsComposerLegendWidgetBase.setObjectName(_fromUtf8("QgsComposerLegendWidgetBase")) QgsComposerLegendWidgetBase.resize(393, 995) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(QgsComposerLegendWidgetBase.sizePolicy().hasHeightForWidth()) QgsComposerLegendWidgetBase.setSizePolicy(sizePolicy) self.verticalLayout = QtGui.QVBoxLayout(QgsComposerLegendWidgetBase) self.verticalLayout.setSpacing(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.label_11 = QtGui.QLabel(QgsComposerLegendWidgetBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_11.sizePolicy().hasHeightForWidth()) self.label_11.setSizePolicy(sizePolicy) self.label_11.setStyleSheet(_fromUtf8("padding: 2px; font-weight: bold; background-color: rgb(200, 200, 200);")) self.label_11.setObjectName(_fromUtf8("label_11")) self.verticalLayout.addWidget(self.label_11) self.scrollArea = QtGui.QScrollArea(QgsComposerLegendWidgetBase) self.scrollArea.setFrameShape(QtGui.QFrame.StyledPanel) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 375, 1478)) self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents")) self.mainLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents) self.mainLayout.setObjectName(_fromUtf8("mainLayout")) self.mMainPropertiesColGroupBox = QgsCollapsibleGroupBoxBasic(self.scrollAreaWidgetContents) self.mMainPropertiesColGroupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.mMainPropertiesColGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mMainPropertiesColGroupBox.setProperty("collapsed", False) self.mMainPropertiesColGroupBox.setObjectName(_fromUtf8("mMainPropertiesColGroupBox")) self.formLayout = QtGui.QFormLayout(self.mMainPropertiesColGroupBox) self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow) self.formLayout.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.formLayout.setObjectName(_fromUtf8("formLayout")) self.mTitleLabel = QtGui.QLabel(self.mMainPropertiesColGroupBox) self.mTitleLabel.setObjectName(_fromUtf8("mTitleLabel")) self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.mTitleLabel) self.mTitleLineEdit = QtGui.QLineEdit(self.mMainPropertiesColGroupBox) self.mTitleLineEdit.setObjectName(_fromUtf8("mTitleLineEdit")) self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.mTitleLineEdit) self.mMapLabel = QtGui.QLabel(self.mMainPropertiesColGroupBox) self.mMapLabel.setObjectName(_fromUtf8("mMapLabel")) self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.mMapLabel) self.mMapComboBox = QtGui.QComboBox(self.mMainPropertiesColGroupBox) self.mMapComboBox.setObjectName(_fromUtf8("mMapComboBox")) self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.mMapComboBox) self.label = QtGui.QLabel(self.mMainPropertiesColGroupBox) self.label.setObjectName(_fromUtf8("label")) self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label) self.mWrapCharLineEdit = QtGui.QLineEdit(self.mMainPropertiesColGroupBox) self.mWrapCharLineEdit.setFrame(True) self.mWrapCharLineEdit.setObjectName(_fromUtf8("mWrapCharLineEdit")) self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.mWrapCharLineEdit) self.label_15 = QtGui.QLabel(self.mMainPropertiesColGroupBox) self.label_15.setObjectName(_fromUtf8("label_15")) self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_15) self.mTitleAlignCombo = QtGui.QComboBox(self.mMainPropertiesColGroupBox) self.mTitleAlignCombo.setObjectName(_fromUtf8("mTitleAlignCombo")) self.mTitleAlignCombo.addItem(_fromUtf8("")) self.mTitleAlignCombo.addItem(_fromUtf8("")) self.mTitleAlignCombo.addItem(_fromUtf8("")) self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.mTitleAlignCombo) self.mainLayout.addWidget(self.mMainPropertiesColGroupBox) self.mLegendItemColGroupBox = QgsCollapsibleGroupBoxBasic(self.scrollAreaWidgetContents) self.mLegendItemColGroupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.mLegendItemColGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mLegendItemColGroupBox.setProperty("collapsed", False) self.mLegendItemColGroupBox.setObjectName(_fromUtf8("mLegendItemColGroupBox")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.mLegendItemColGroupBox) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.mCheckBoxAutoUpdate = QtGui.QCheckBox(self.mLegendItemColGroupBox) self.mCheckBoxAutoUpdate.setChecked(True) self.mCheckBoxAutoUpdate.setObjectName(_fromUtf8("mCheckBoxAutoUpdate")) self.horizontalLayout.addWidget(self.mCheckBoxAutoUpdate) spacerItem = QtGui.QSpacerItem(0, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.mUpdateAllPushButton = QtGui.QToolButton(self.mLegendItemColGroupBox) self.mUpdateAllPushButton.setObjectName(_fromUtf8("mUpdateAllPushButton")) self.horizontalLayout.addWidget(self.mUpdateAllPushButton) self.verticalLayout_2.addLayout(self.horizontalLayout) self.mItemTreeView = QgsLayerTreeView(self.mLegendItemColGroupBox) self.mItemTreeView.setMinimumSize(QtCore.QSize(0, 250)) self.mItemTreeView.setSelectionMode(QtGui.QAbstractItemView.ContiguousSelection) self.mItemTreeView.setHeaderHidden(True) self.mItemTreeView.setObjectName(_fromUtf8("mItemTreeView")) self.mItemTreeView.header().setVisible(False) self.verticalLayout_2.addWidget(self.mItemTreeView) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setSpacing(3) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.mMoveDownToolButton = QtGui.QToolButton(self.mLegendItemColGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mMoveDownToolButton.sizePolicy().hasHeightForWidth()) self.mMoveDownToolButton.setSizePolicy(sizePolicy) self.mMoveDownToolButton.setText(_fromUtf8("")) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8("Resource/images/themes/default/mActionArrowDown.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.mMoveDownToolButton.setIcon(icon) self.mMoveDownToolButton.setIconSize(QtCore.QSize(20, 20)) self.mMoveDownToolButton.setObjectName(_fromUtf8("mMoveDownToolButton")) self.horizontalLayout_2.addWidget(self.mMoveDownToolButton) self.mMoveUpToolButton = QtGui.QToolButton(self.mLegendItemColGroupBox) self.mMoveUpToolButton.setText(_fromUtf8("")) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(_fromUtf8("Resource/images/themes/default/mActionArrowUp.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.mMoveUpToolButton.setIcon(icon1) self.mMoveUpToolButton.setIconSize(QtCore.QSize(20, 20)) self.mMoveUpToolButton.setObjectName(_fromUtf8("mMoveUpToolButton")) self.horizontalLayout_2.addWidget(self.mMoveUpToolButton) self.mAddGroupToolButton = QtGui.QToolButton(self.mLegendItemColGroupBox) icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(_fromUtf8("Resource/images/themes/default/mActionAddGroup.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.mAddGroupToolButton.setIcon(icon2) self.mAddGroupToolButton.setIconSize(QtCore.QSize(20, 20)) self.mAddGroupToolButton.setObjectName(_fromUtf8("mAddGroupToolButton")) self.horizontalLayout_2.addWidget(self.mAddGroupToolButton) self.mAddToolButton = QtGui.QToolButton(self.mLegendItemColGroupBox) self.mAddToolButton.setText(_fromUtf8("")) icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(_fromUtf8("Resource/images/themes/default/symbologyAdd.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.mAddToolButton.setIcon(icon3) self.mAddToolButton.setIconSize(QtCore.QSize(20, 20)) self.mAddToolButton.setObjectName(_fromUtf8("mAddToolButton")) self.horizontalLayout_2.addWidget(self.mAddToolButton) self.mRemoveToolButton = QtGui.QToolButton(self.mLegendItemColGroupBox) self.mRemoveToolButton.setText(_fromUtf8("")) icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(_fromUtf8("Resource/images/themes/default/symbologyRemove.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.mRemoveToolButton.setIcon(icon4) self.mRemoveToolButton.setIconSize(QtCore.QSize(20, 20)) self.mRemoveToolButton.setObjectName(_fromUtf8("mRemoveToolButton")) self.horizontalLayout_2.addWidget(self.mRemoveToolButton) self.mEditPushButton = QtGui.QToolButton(self.mLegendItemColGroupBox) self.mEditPushButton.setText(_fromUtf8("")) icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(_fromUtf8("Resource/images/themes/default/symbologyEdit.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.mEditPushButton.setIcon(icon5) self.mEditPushButton.setIconSize(QtCore.QSize(20, 20)) self.mEditPushButton.setObjectName(_fromUtf8("mEditPushButton")) self.horizontalLayout_2.addWidget(self.mEditPushButton) self.mCountToolButton = QtGui.QToolButton(self.mLegendItemColGroupBox) self.mCountToolButton.setEnabled(False) self.mCountToolButton.setText(_fromUtf8("")) icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap(_fromUtf8("Resource/images/themes/default/mActionSum.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.mCountToolButton.setIcon(icon6) self.mCountToolButton.setIconSize(QtCore.QSize(20, 20)) self.mCountToolButton.setCheckable(True) self.mCountToolButton.setObjectName(_fromUtf8("mCountToolButton")) self.horizontalLayout_2.addWidget(self.mCountToolButton) self.mFilterByMapToolButton = QtGui.QToolButton(self.mLegendItemColGroupBox) icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap(_fromUtf8("Resource/images/themes/default/mActionFilter2.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.mFilterByMapToolButton.setIcon(icon7) self.mFilterByMapToolButton.setIconSize(QtCore.QSize(20, 20)) self.mFilterByMapToolButton.setCheckable(True) self.mFilterByMapToolButton.setObjectName(_fromUtf8("mFilterByMapToolButton")) self.horizontalLayout_2.addWidget(self.mFilterByMapToolButton) self.mExpressionFilterButton = QgsLegendFilterButton(self.mLegendItemColGroupBox) self.mExpressionFilterButton.setText(_fromUtf8("")) icon8 = QtGui.QIcon() icon8.addPixmap(QtGui.QPixmap(_fromUtf8("Resource/images/themes/default/mIconExpressionFilter.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.mExpressionFilterButton.setIcon(icon8) self.mExpressionFilterButton.setIconSize(QtCore.QSize(20, 20)) self.mExpressionFilterButton.setObjectName(_fromUtf8("mExpressionFilterButton")) self.horizontalLayout_2.addWidget(self.mExpressionFilterButton) spacerItem1 = QtGui.QSpacerItem(0, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem1) self.verticalLayout_2.addLayout(self.horizontalLayout_2) self.mFilterLegendByAtlasCheckBox = QtGui.QCheckBox(self.mLegendItemColGroupBox) self.mFilterLegendByAtlasCheckBox.setObjectName(_fromUtf8("mFilterLegendByAtlasCheckBox")) self.verticalLayout_2.addWidget(self.mFilterLegendByAtlasCheckBox) self.mainLayout.addWidget(self.mLegendItemColGroupBox) self.mFontsColGroupBox = QgsCollapsibleGroupBoxBasic(self.scrollAreaWidgetContents) self.mFontsColGroupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.mFontsColGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mFontsColGroupBox.setProperty("collapsed", True) self.mFontsColGroupBox.setObjectName(_fromUtf8("mFontsColGroupBox")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.mFontsColGroupBox) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.mTitleFontButton = QtGui.QPushButton(self.mFontsColGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mTitleFontButton.sizePolicy().hasHeightForWidth()) self.mTitleFontButton.setSizePolicy(sizePolicy) self.mTitleFontButton.setObjectName(_fromUtf8("mTitleFontButton")) self.verticalLayout_3.addWidget(self.mTitleFontButton) self.mLayerFontButton = QtGui.QPushButton(self.mFontsColGroupBox) self.mLayerFontButton.setObjectName(_fromUtf8("mLayerFontButton")) self.verticalLayout_3.addWidget(self.mLayerFontButton) self.mGroupFontButton = QtGui.QPushButton(self.mFontsColGroupBox) self.mGroupFontButton.setObjectName(_fromUtf8("mGroupFontButton")) self.verticalLayout_3.addWidget(self.mGroupFontButton) self.mItemFontButton = QtGui.QPushButton(self.mFontsColGroupBox) self.mItemFontButton.setObjectName(_fromUtf8("mItemFontButton")) self.verticalLayout_3.addWidget(self.mItemFontButton) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.label_16 = QtGui.QLabel(self.mFontsColGroupBox) self.label_16.setObjectName(_fromUtf8("label_16")) self.horizontalLayout_3.addWidget(self.label_16) self.mFontColorButton = QgsColorButtonV2(self.mFontsColGroupBox) self.mFontColorButton.setMinimumSize(QtCore.QSize(120, 0)) self.mFontColorButton.setMaximumSize(QtCore.QSize(120, 16777215)) self.mFontColorButton.setText(_fromUtf8("")) self.mFontColorButton.setObjectName(_fromUtf8("mFontColorButton")) self.horizontalLayout_3.addWidget(self.mFontColorButton) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem2) self.verticalLayout_3.addLayout(self.horizontalLayout_3) self.mainLayout.addWidget(self.mFontsColGroupBox) self.mColumnsColGroupBox = QgsCollapsibleGroupBoxBasic(self.scrollAreaWidgetContents) self.mColumnsColGroupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.mColumnsColGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mColumnsColGroupBox.setProperty("collapsed", True) self.mColumnsColGroupBox.setObjectName(_fromUtf8("mColumnsColGroupBox")) self.formLayout_2 = QtGui.QFormLayout(self.mColumnsColGroupBox) self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow) self.formLayout_2.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.formLayout_2.setObjectName(_fromUtf8("formLayout_2")) self.label_2 = QtGui.QLabel(self.mColumnsColGroupBox) self.label_2.setObjectName(_fromUtf8("label_2")) self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2) self.mColumnCountSpinBox = QgsSpinBox(self.mColumnsColGroupBox) self.mColumnCountSpinBox.setPrefix(_fromUtf8("")) self.mColumnCountSpinBox.setMinimum(1) self.mColumnCountSpinBox.setMaximum(1000) self.mColumnCountSpinBox.setObjectName(_fromUtf8("mColumnCountSpinBox")) self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.mColumnCountSpinBox) self.mEqualColumnWidthCheckBox = QtGui.QCheckBox(self.mColumnsColGroupBox) self.mEqualColumnWidthCheckBox.setObjectName(_fromUtf8("mEqualColumnWidthCheckBox")) self.formLayout_2.setWidget(3, QtGui.QFormLayout.SpanningRole, self.mEqualColumnWidthCheckBox) self.mSplitLayerCheckBox = QtGui.QCheckBox(self.mColumnsColGroupBox) self.mSplitLayerCheckBox.setObjectName(_fromUtf8("mSplitLayerCheckBox")) self.formLayout_2.setWidget(4, QtGui.QFormLayout.SpanningRole, self.mSplitLayerCheckBox) self.mainLayout.addWidget(self.mColumnsColGroupBox) self.mSymbolsColGroupBox = QgsCollapsibleGroupBoxBasic(self.scrollAreaWidgetContents) self.mSymbolsColGroupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.mSymbolsColGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mSymbolsColGroupBox.setProperty("collapsed", True) self.mSymbolsColGroupBox.setObjectName(_fromUtf8("mSymbolsColGroupBox")) self.formLayout_3 = QtGui.QFormLayout(self.mSymbolsColGroupBox) self.formLayout_3.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow) self.formLayout_3.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.formLayout_3.setObjectName(_fromUtf8("formLayout_3")) self.label_3 = QtGui.QLabel(self.mSymbolsColGroupBox) self.label_3.setObjectName(_fromUtf8("label_3")) self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_3) self.mSymbolWidthSpinBox = QgsDoubleSpinBox(self.mSymbolsColGroupBox) self.mSymbolWidthSpinBox.setPrefix(_fromUtf8("")) self.mSymbolWidthSpinBox.setProperty("showClearButton", False) self.mSymbolWidthSpinBox.setObjectName(_fromUtf8("mSymbolWidthSpinBox")) self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.mSymbolWidthSpinBox) self.label_4 = QtGui.QLabel(self.mSymbolsColGroupBox) self.label_4.setObjectName(_fromUtf8("label_4")) self.formLayout_3.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_4) self.mSymbolHeightSpinBox = QgsDoubleSpinBox(self.mSymbolsColGroupBox) self.mSymbolHeightSpinBox.setPrefix(_fromUtf8("")) self.mSymbolHeightSpinBox.setProperty("showClearButton", False) self.mSymbolHeightSpinBox.setObjectName(_fromUtf8("mSymbolHeightSpinBox")) self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.mSymbolHeightSpinBox) self.mRasterBorderGroupBox = QgsCollapsibleGroupBoxBasic(self.mSymbolsColGroupBox) self.mRasterBorderGroupBox.setCheckable(True) self.mRasterBorderGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mRasterBorderGroupBox.setProperty("collapsed", True) self.mRasterBorderGroupBox.setObjectName(_fromUtf8("mRasterBorderGroupBox")) self.gridLayout = QtGui.QGridLayout(self.mRasterBorderGroupBox) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.label_17 = QtGui.QLabel(self.mRasterBorderGroupBox) self.label_17.setObjectName(_fromUtf8("label_17")) self.gridLayout.addWidget(self.label_17, 0, 0, 1, 1) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.mRasterBorderColorButton = QgsColorButtonV2(self.mRasterBorderGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mRasterBorderColorButton.sizePolicy().hasHeightForWidth()) self.mRasterBorderColorButton.setSizePolicy(sizePolicy) self.mRasterBorderColorButton.setMinimumSize(QtCore.QSize(120, 0)) self.mRasterBorderColorButton.setMaximumSize(QtCore.QSize(120, 16777215)) self.mRasterBorderColorButton.setText(_fromUtf8("")) self.mRasterBorderColorButton.setObjectName(_fromUtf8("mRasterBorderColorButton")) self.horizontalLayout_6.addWidget(self.mRasterBorderColorButton) spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem3) self.gridLayout.addLayout(self.horizontalLayout_6, 0, 1, 1, 1) self.mOutlineWidthLabel = QtGui.QLabel(self.mRasterBorderGroupBox) self.mOutlineWidthLabel.setObjectName(_fromUtf8("mOutlineWidthLabel")) self.gridLayout.addWidget(self.mOutlineWidthLabel, 1, 0, 1, 1) self.mRasterBorderWidthSpinBox = QgsDoubleSpinBox(self.mRasterBorderGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mRasterBorderWidthSpinBox.sizePolicy().hasHeightForWidth()) self.mRasterBorderWidthSpinBox.setSizePolicy(sizePolicy) self.mRasterBorderWidthSpinBox.setSingleStep(0.1) self.mRasterBorderWidthSpinBox.setProperty("showClearButton", False) self.mRasterBorderWidthSpinBox.setObjectName(_fromUtf8("mRasterBorderWidthSpinBox")) self.gridLayout.addWidget(self.mRasterBorderWidthSpinBox, 1, 1, 1, 1) self.formLayout_3.setWidget(2, QtGui.QFormLayout.SpanningRole, self.mRasterBorderGroupBox) self.mainLayout.addWidget(self.mSymbolsColGroupBox) self.mSymbolsColGroupBox_2 = QgsCollapsibleGroupBoxBasic(self.scrollAreaWidgetContents) self.mSymbolsColGroupBox_2.setFocusPolicy(QtCore.Qt.StrongFocus) self.mSymbolsColGroupBox_2.setProperty("syncGroup", _fromUtf8("composeritem")) self.mSymbolsColGroupBox_2.setProperty("collapsed", True) self.mSymbolsColGroupBox_2.setObjectName(_fromUtf8("mSymbolsColGroupBox_2")) self.formLayout_5 = QtGui.QFormLayout(self.mSymbolsColGroupBox_2) self.formLayout_5.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow) self.formLayout_5.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.formLayout_5.setObjectName(_fromUtf8("formLayout_5")) self.label_13 = QtGui.QLabel(self.mSymbolsColGroupBox_2) self.label_13.setObjectName(_fromUtf8("label_13")) self.formLayout_5.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_13) self.mWmsLegendWidthSpinBox = QgsDoubleSpinBox(self.mSymbolsColGroupBox_2) self.mWmsLegendWidthSpinBox.setPrefix(_fromUtf8("")) self.mWmsLegendWidthSpinBox.setMaximum(9999.0) self.mWmsLegendWidthSpinBox.setProperty("showClearButton", False) self.mWmsLegendWidthSpinBox.setObjectName(_fromUtf8("mWmsLegendWidthSpinBox")) self.formLayout_5.setWidget(0, QtGui.QFormLayout.FieldRole, self.mWmsLegendWidthSpinBox) self.label_14 = QtGui.QLabel(self.mSymbolsColGroupBox_2) self.label_14.setObjectName(_fromUtf8("label_14")) self.formLayout_5.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_14) self.mWmsLegendHeightSpinBox = QgsDoubleSpinBox(self.mSymbolsColGroupBox_2) self.mWmsLegendHeightSpinBox.setPrefix(_fromUtf8("")) self.mWmsLegendHeightSpinBox.setMaximum(9999.0) self.mWmsLegendHeightSpinBox.setProperty("showClearButton", False) self.mWmsLegendHeightSpinBox.setObjectName(_fromUtf8("mWmsLegendHeightSpinBox")) self.formLayout_5.setWidget(1, QtGui.QFormLayout.FieldRole, self.mWmsLegendHeightSpinBox) self.mainLayout.addWidget(self.mSymbolsColGroupBox_2) self.mSpacingColGroupBox = QgsCollapsibleGroupBoxBasic(self.scrollAreaWidgetContents) self.mSpacingColGroupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.mSpacingColGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mSpacingColGroupBox.setProperty("collapsed", True) self.mSpacingColGroupBox.setObjectName(_fromUtf8("mSpacingColGroupBox")) self.formLayout_4 = QtGui.QFormLayout(self.mSpacingColGroupBox) self.formLayout_4.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow) self.formLayout_4.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.formLayout_4.setObjectName(_fromUtf8("formLayout_4")) self.label_5 = QtGui.QLabel(self.mSpacingColGroupBox) self.label_5.setObjectName(_fromUtf8("label_5")) self.formLayout_4.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_5) self.mGroupSpaceSpinBox = QgsDoubleSpinBox(self.mSpacingColGroupBox) self.mGroupSpaceSpinBox.setPrefix(_fromUtf8("")) self.mGroupSpaceSpinBox.setObjectName(_fromUtf8("mGroupSpaceSpinBox")) self.formLayout_4.setWidget(1, QtGui.QFormLayout.FieldRole, self.mGroupSpaceSpinBox) self.label_6 = QtGui.QLabel(self.mSpacingColGroupBox) self.label_6.setObjectName(_fromUtf8("label_6")) self.formLayout_4.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_6) self.mLayerSpaceSpinBox = QgsDoubleSpinBox(self.mSpacingColGroupBox) self.mLayerSpaceSpinBox.setPrefix(_fromUtf8("")) self.mLayerSpaceSpinBox.setObjectName(_fromUtf8("mLayerSpaceSpinBox")) self.formLayout_4.setWidget(2, QtGui.QFormLayout.FieldRole, self.mLayerSpaceSpinBox) self.label_7 = QtGui.QLabel(self.mSpacingColGroupBox) self.label_7.setObjectName(_fromUtf8("label_7")) self.formLayout_4.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_7) self.mSymbolSpaceSpinBox = QgsDoubleSpinBox(self.mSpacingColGroupBox) self.mSymbolSpaceSpinBox.setPrefix(_fromUtf8("")) self.mSymbolSpaceSpinBox.setObjectName(_fromUtf8("mSymbolSpaceSpinBox")) self.formLayout_4.setWidget(3, QtGui.QFormLayout.FieldRole, self.mSymbolSpaceSpinBox) self.label_8 = QtGui.QLabel(self.mSpacingColGroupBox) self.label_8.setObjectName(_fromUtf8("label_8")) self.formLayout_4.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_8) self.mIconLabelSpaceSpinBox = QgsDoubleSpinBox(self.mSpacingColGroupBox) self.mIconLabelSpaceSpinBox.setPrefix(_fromUtf8("")) self.mIconLabelSpaceSpinBox.setObjectName(_fromUtf8("mIconLabelSpaceSpinBox")) self.formLayout_4.setWidget(4, QtGui.QFormLayout.FieldRole, self.mIconLabelSpaceSpinBox) self.label_9 = QtGui.QLabel(self.mSpacingColGroupBox) self.label_9.setObjectName(_fromUtf8("label_9")) self.formLayout_4.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_9) self.mBoxSpaceSpinBox = QgsDoubleSpinBox(self.mSpacingColGroupBox) self.mBoxSpaceSpinBox.setPrefix(_fromUtf8("")) self.mBoxSpaceSpinBox.setObjectName(_fromUtf8("mBoxSpaceSpinBox")) self.formLayout_4.setWidget(5, QtGui.QFormLayout.FieldRole, self.mBoxSpaceSpinBox) self.label_12 = QtGui.QLabel(self.mSpacingColGroupBox) self.label_12.setObjectName(_fromUtf8("label_12")) self.formLayout_4.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_12) self.mColumnSpaceSpinBox = QgsDoubleSpinBox(self.mSpacingColGroupBox) self.mColumnSpaceSpinBox.setPrefix(_fromUtf8("")) self.mColumnSpaceSpinBox.setObjectName(_fromUtf8("mColumnSpaceSpinBox")) self.formLayout_4.setWidget(6, QtGui.QFormLayout.FieldRole, self.mColumnSpaceSpinBox) self.label_10 = QtGui.QLabel(self.mSpacingColGroupBox) self.label_10.setObjectName(_fromUtf8("label_10")) self.formLayout_4.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_10) self.mTitleSpaceBottomSpinBox = QgsDoubleSpinBox(self.mSpacingColGroupBox) self.mTitleSpaceBottomSpinBox.setObjectName(_fromUtf8("mTitleSpaceBottomSpinBox")) self.formLayout_4.setWidget(0, QtGui.QFormLayout.FieldRole, self.mTitleSpaceBottomSpinBox) self.mainLayout.addWidget(self.mSpacingColGroupBox) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout.addWidget(self.scrollArea) self.mTitleLabel.setBuddy(self.mTitleLineEdit) self.mOutlineWidthLabel.setBuddy(self.mRasterBorderWidthSpinBox) self.retranslateUi(QgsComposerLegendWidgetBase) QtCore.QMetaObject.connectSlotsByName(QgsComposerLegendWidgetBase) QgsComposerLegendWidgetBase.setTabOrder(self.scrollArea, self.mMainPropertiesColGroupBox) QgsComposerLegendWidgetBase.setTabOrder(self.mMainPropertiesColGroupBox, self.mTitleLineEdit) QgsComposerLegendWidgetBase.setTabOrder(self.mTitleLineEdit, self.mTitleAlignCombo) QgsComposerLegendWidgetBase.setTabOrder(self.mTitleAlignCombo, self.mMapComboBox) QgsComposerLegendWidgetBase.setTabOrder(self.mMapComboBox, self.mWrapCharLineEdit) QgsComposerLegendWidgetBase.setTabOrder(self.mWrapCharLineEdit, self.mLegendItemColGroupBox) QgsComposerLegendWidgetBase.setTabOrder(self.mLegendItemColGroupBox, self.mCheckBoxAutoUpdate) QgsComposerLegendWidgetBase.setTabOrder(self.mCheckBoxAutoUpdate, self.mUpdateAllPushButton) QgsComposerLegendWidgetBase.setTabOrder(self.mUpdateAllPushButton, self.mItemTreeView) QgsComposerLegendWidgetBase.setTabOrder(self.mItemTreeView, self.mMoveDownToolButton) QgsComposerLegendWidgetBase.setTabOrder(self.mMoveDownToolButton, self.mMoveUpToolButton) QgsComposerLegendWidgetBase.setTabOrder(self.mMoveUpToolButton, self.mAddGroupToolButton) QgsComposerLegendWidgetBase.setTabOrder(self.mAddGroupToolButton, self.mAddToolButton) QgsComposerLegendWidgetBase.setTabOrder(self.mAddToolButton, self.mRemoveToolButton) QgsComposerLegendWidgetBase.setTabOrder(self.mRemoveToolButton, self.mEditPushButton) QgsComposerLegendWidgetBase.setTabOrder(self.mEditPushButton, self.mCountToolButton) QgsComposerLegendWidgetBase.setTabOrder(self.mCountToolButton, self.mFilterByMapToolButton) QgsComposerLegendWidgetBase.setTabOrder(self.mFilterByMapToolButton, self.mExpressionFilterButton) QgsComposerLegendWidgetBase.setTabOrder(self.mExpressionFilterButton, self.mFilterLegendByAtlasCheckBox) QgsComposerLegendWidgetBase.setTabOrder(self.mFilterLegendByAtlasCheckBox, self.mFontsColGroupBox) QgsComposerLegendWidgetBase.setTabOrder(self.mFontsColGroupBox, self.mTitleFontButton) QgsComposerLegendWidgetBase.setTabOrder(self.mTitleFontButton, self.mLayerFontButton) QgsComposerLegendWidgetBase.setTabOrder(self.mLayerFontButton, self.mGroupFontButton) QgsComposerLegendWidgetBase.setTabOrder(self.mGroupFontButton, self.mItemFontButton) QgsComposerLegendWidgetBase.setTabOrder(self.mItemFontButton, self.mFontColorButton) QgsComposerLegendWidgetBase.setTabOrder(self.mFontColorButton, self.mColumnsColGroupBox) QgsComposerLegendWidgetBase.setTabOrder(self.mColumnsColGroupBox, self.mColumnCountSpinBox) QgsComposerLegendWidgetBase.setTabOrder(self.mColumnCountSpinBox, self.mEqualColumnWidthCheckBox) QgsComposerLegendWidgetBase.setTabOrder(self.mEqualColumnWidthCheckBox, self.mSplitLayerCheckBox) QgsComposerLegendWidgetBase.setTabOrder(self.mSplitLayerCheckBox, self.mSymbolsColGroupBox) QgsComposerLegendWidgetBase.setTabOrder(self.mSymbolsColGroupBox, self.mSymbolWidthSpinBox) QgsComposerLegendWidgetBase.setTabOrder(self.mSymbolWidthSpinBox, self.mSymbolHeightSpinBox) QgsComposerLegendWidgetBase.setTabOrder(self.mSymbolHeightSpinBox, self.mRasterBorderGroupBox) QgsComposerLegendWidgetBase.setTabOrder(self.mRasterBorderGroupBox, self.mRasterBorderColorButton) QgsComposerLegendWidgetBase.setTabOrder(self.mRasterBorderColorButton, self.mRasterBorderWidthSpinBox) QgsComposerLegendWidgetBase.setTabOrder(self.mRasterBorderWidthSpinBox, self.mSymbolsColGroupBox_2) QgsComposerLegendWidgetBase.setTabOrder(self.mSymbolsColGroupBox_2, self.mWmsLegendWidthSpinBox) QgsComposerLegendWidgetBase.setTabOrder(self.mWmsLegendWidthSpinBox, self.mWmsLegendHeightSpinBox) QgsComposerLegendWidgetBase.setTabOrder(self.mWmsLegendHeightSpinBox, self.mSpacingColGroupBox) QgsComposerLegendWidgetBase.setTabOrder(self.mSpacingColGroupBox, self.mTitleSpaceBottomSpinBox) QgsComposerLegendWidgetBase.setTabOrder(self.mTitleSpaceBottomSpinBox, self.mGroupSpaceSpinBox) QgsComposerLegendWidgetBase.setTabOrder(self.mGroupSpaceSpinBox, self.mLayerSpaceSpinBox) QgsComposerLegendWidgetBase.setTabOrder(self.mLayerSpaceSpinBox, self.mSymbolSpaceSpinBox) QgsComposerLegendWidgetBase.setTabOrder(self.mSymbolSpaceSpinBox, self.mIconLabelSpaceSpinBox) QgsComposerLegendWidgetBase.setTabOrder(self.mIconLabelSpaceSpinBox, self.mBoxSpaceSpinBox) QgsComposerLegendWidgetBase.setTabOrder(self.mBoxSpaceSpinBox, self.mColumnSpaceSpinBox) def retranslateUi(self, QgsComposerLegendWidgetBase): QgsComposerLegendWidgetBase.setWindowTitle(_translate("QgsComposerLegendWidgetBase", "Legend Options", None)) self.label_11.setText(_translate("QgsComposerLegendWidgetBase", "Legend", None)) self.mMainPropertiesColGroupBox.setTitle(_translate("QgsComposerLegendWidgetBase", "Main properties", None)) self.mTitleLabel.setText(_translate("QgsComposerLegendWidgetBase", "&Title", None)) self.mMapLabel.setText(_translate("QgsComposerLegendWidgetBase", "Map", None)) self.label.setText(_translate("QgsComposerLegendWidgetBase", "Wrap text on", None)) self.label_15.setText(_translate("QgsComposerLegendWidgetBase", "Title alignment:", None)) self.mTitleAlignCombo.setItemText(0, _translate("QgsComposerLegendWidgetBase", "Left", None)) self.mTitleAlignCombo.setItemText(1, _translate("QgsComposerLegendWidgetBase", "Center", None)) self.mTitleAlignCombo.setItemText(2, _translate("QgsComposerLegendWidgetBase", "Right", None)) self.mLegendItemColGroupBox.setTitle(_translate("QgsComposerLegendWidgetBase", "Legend items", None)) self.mCheckBoxAutoUpdate.setText(_translate("QgsComposerLegendWidgetBase", "Auto update", None)) self.mUpdateAllPushButton.setToolTip(_translate("QgsComposerLegendWidgetBase", "Update whole legend. Layers are added/removed according to main application legend. User defined labels will be deleted.", None)) self.mUpdateAllPushButton.setText(_translate("QgsComposerLegendWidgetBase", "Update all", None)) self.mAddGroupToolButton.setToolTip(_translate("QgsComposerLegendWidgetBase", "Add group", None)) self.mAddGroupToolButton.setText(_translate("QgsComposerLegendWidgetBase", "...", None)) self.mCountToolButton.setToolTip(_translate("QgsComposerLegendWidgetBase", "Show feature count for each class of vector layer.", None)) self.mFilterByMapToolButton.setToolTip(_translate("QgsComposerLegendWidgetBase", "Filter Legend By Map Content", None)) self.mFilterLegendByAtlasCheckBox.setToolTip(_translate("QgsComposerLegendWidgetBase", "Filter out legend elements that lie outside the current atlas feature.", None)) self.mFilterLegendByAtlasCheckBox.setText(_translate("QgsComposerLegendWidgetBase", "Only show items inside current atlas feature", None)) self.mFontsColGroupBox.setTitle(_translate("QgsComposerLegendWidgetBase", "Fonts", None)) self.mTitleFontButton.setText(_translate("QgsComposerLegendWidgetBase", "Title font...", None)) self.mLayerFontButton.setText(_translate("QgsComposerLegendWidgetBase", "Subgroup font...", None)) self.mGroupFontButton.setText(_translate("QgsComposerLegendWidgetBase", "Group font...", None)) self.mItemFontButton.setText(_translate("QgsComposerLegendWidgetBase", "Item font...", None)) self.label_16.setText(_translate("QgsComposerLegendWidgetBase", "Font color", None)) self.mColumnsColGroupBox.setTitle(_translate("QgsComposerLegendWidgetBase", "Columns", None)) self.label_2.setText(_translate("QgsComposerLegendWidgetBase", "Count", None)) self.mEqualColumnWidthCheckBox.setText(_translate("QgsComposerLegendWidgetBase", "Equal column widths", None)) self.mSplitLayerCheckBox.setToolTip(_translate("QgsComposerLegendWidgetBase", "Allow splitting layer items into multiple columns.", None)) self.mSplitLayerCheckBox.setText(_translate("QgsComposerLegendWidgetBase", "Split layers", None)) self.mSymbolsColGroupBox.setTitle(_translate("QgsComposerLegendWidgetBase", "Symbol", None)) self.label_3.setText(_translate("QgsComposerLegendWidgetBase", "Symbol width", None)) self.mSymbolWidthSpinBox.setSuffix(_translate("QgsComposerLegendWidgetBase", " mm", None)) self.label_4.setText(_translate("QgsComposerLegendWidgetBase", "Symbol height", None)) self.mSymbolHeightSpinBox.setSuffix(_translate("QgsComposerLegendWidgetBase", " mm", None)) self.mRasterBorderGroupBox.setTitle(_translate("QgsComposerLegendWidgetBase", "Draw border for raster symbols", None)) self.label_17.setText(_translate("QgsComposerLegendWidgetBase", "Border color", None)) self.mOutlineWidthLabel.setText(_translate("QgsComposerLegendWidgetBase", "Thickness", None)) self.mRasterBorderWidthSpinBox.setSpecialValueText(_translate("QgsComposerLegendWidgetBase", "Hairline", None)) self.mRasterBorderWidthSpinBox.setSuffix(_translate("QgsComposerLegendWidgetBase", " mm", None)) self.mSymbolsColGroupBox_2.setTitle(_translate("QgsComposerLegendWidgetBase", "WMS LegendGraphic", None)) self.label_13.setText(_translate("QgsComposerLegendWidgetBase", "Legend width", None)) self.mWmsLegendWidthSpinBox.setSuffix(_translate("QgsComposerLegendWidgetBase", " mm", None)) self.label_14.setText(_translate("QgsComposerLegendWidgetBase", "Legend height", None)) self.mWmsLegendHeightSpinBox.setSuffix(_translate("QgsComposerLegendWidgetBase", " mm", None)) self.mSpacingColGroupBox.setTitle(_translate("QgsComposerLegendWidgetBase", "Spacing", None)) self.label_5.setToolTip(_translate("QgsComposerLegendWidgetBase", "Space above text using group style.", None)) self.label_5.setText(_translate("QgsComposerLegendWidgetBase", "Group Space", None)) self.mGroupSpaceSpinBox.setSuffix(_translate("QgsComposerLegendWidgetBase", " mm", None)) self.label_6.setToolTip(_translate("QgsComposerLegendWidgetBase", "Space above text using subgroup style.", None)) self.label_6.setText(_translate("QgsComposerLegendWidgetBase", "Subgroup space", None)) self.mLayerSpaceSpinBox.setSuffix(_translate("QgsComposerLegendWidgetBase", " mm", None)) self.label_7.setToolTip(_translate("QgsComposerLegendWidgetBase", "Space above symbol and symbol label.", None)) self.label_7.setText(_translate("QgsComposerLegendWidgetBase", "Symbol space", None)) self.mSymbolSpaceSpinBox.setSuffix(_translate("QgsComposerLegendWidgetBase", " mm", None)) self.label_8.setToolTip(_translate("QgsComposerLegendWidgetBase", "Space between symbol icon and symbol label (symbol label left margin).", None)) self.label_8.setText(_translate("QgsComposerLegendWidgetBase", "Icon label space", None)) self.mIconLabelSpaceSpinBox.setSuffix(_translate("QgsComposerLegendWidgetBase", " mm", None)) self.label_9.setText(_translate("QgsComposerLegendWidgetBase", "Box space", None)) self.mBoxSpaceSpinBox.setSuffix(_translate("QgsComposerLegendWidgetBase", " mm", None)) self.label_12.setText(_translate("QgsComposerLegendWidgetBase", "Column space", None)) self.mColumnSpaceSpinBox.setSuffix(_translate("QgsComposerLegendWidgetBase", " mm", None)) self.label_10.setToolTip(_translate("QgsComposerLegendWidgetBase", "Space below title.", None)) self.label_10.setText(_translate("QgsComposerLegendWidgetBase", "Title space", None)) self.mTitleSpaceBottomSpinBox.setToolTip(_translate("QgsComposerLegendWidgetBase", "Space below title.", None)) self.mTitleSpaceBottomSpinBox.setSuffix(_translate("QgsComposerLegendWidgetBase", " mm", None))
class Ui_QgsComposerArrowWidgetBase(object): def setupUi(self, QgsComposerArrowWidgetBase): QgsComposerArrowWidgetBase.setObjectName(_fromUtf8("QgsComposerArrowWidgetBase")) QgsComposerArrowWidgetBase.resize(334, 383) self.verticalLayout = QtGui.QVBoxLayout(QgsComposerArrowWidgetBase) self.verticalLayout.setSpacing(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.label_3 = QtGui.QLabel(QgsComposerArrowWidgetBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth()) self.label_3.setSizePolicy(sizePolicy) self.label_3.setStyleSheet(_fromUtf8("padding: 2px; font-weight: bold; background-color: rgb(200, 200, 200);")) self.label_3.setObjectName(_fromUtf8("label_3")) self.verticalLayout.addWidget(self.label_3) self.scrollArea = QtGui.QScrollArea(QgsComposerArrowWidgetBase) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 332, 360)) self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents")) self.mainLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents) self.mainLayout.setObjectName(_fromUtf8("mainLayout")) self.groupBox = QgsCollapsibleGroupBoxBasic(self.scrollAreaWidgetContents) self.groupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.groupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.groupBox.setProperty("collapsed", False) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.mLineStyleButton = QtGui.QPushButton(self.groupBox) self.mLineStyleButton.setObjectName(_fromUtf8("mLineStyleButton")) self.verticalLayout_2.addWidget(self.mLineStyleButton) self.mainLayout.addWidget(self.groupBox) self.mArrowMarkersGroupBox = QgsCollapsibleGroupBoxBasic(self.scrollAreaWidgetContents) self.mArrowMarkersGroupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.mArrowMarkersGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mArrowMarkersGroupBox.setProperty("collapsed", False) self.mArrowMarkersGroupBox.setObjectName(_fromUtf8("mArrowMarkersGroupBox")) self.gridLayout = QtGui.QGridLayout(self.mArrowMarkersGroupBox) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.mDefaultMarkerRadioButton = QtGui.QRadioButton(self.mArrowMarkersGroupBox) self.mDefaultMarkerRadioButton.setObjectName(_fromUtf8("mDefaultMarkerRadioButton")) self.horizontalLayout_3.addWidget(self.mDefaultMarkerRadioButton) self.mNoMarkerRadioButton = QtGui.QRadioButton(self.mArrowMarkersGroupBox) self.mNoMarkerRadioButton.setObjectName(_fromUtf8("mNoMarkerRadioButton")) self.horizontalLayout_3.addWidget(self.mNoMarkerRadioButton) self.mSvgMarkerRadioButton = QtGui.QRadioButton(self.mArrowMarkersGroupBox) self.mSvgMarkerRadioButton.setObjectName(_fromUtf8("mSvgMarkerRadioButton")) self.horizontalLayout_3.addWidget(self.mSvgMarkerRadioButton) self.gridLayout.addLayout(self.horizontalLayout_3, 0, 0, 1, 2) self.label_5 = QtGui.QLabel(self.mArrowMarkersGroupBox) self.label_5.setObjectName(_fromUtf8("label_5")) self.gridLayout.addWidget(self.label_5, 1, 0, 1, 1) self.mArrowHeadOutlineColorButton = QgsColorButtonV2(self.mArrowMarkersGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mArrowHeadOutlineColorButton.sizePolicy().hasHeightForWidth()) self.mArrowHeadOutlineColorButton.setSizePolicy(sizePolicy) self.mArrowHeadOutlineColorButton.setMinimumSize(QtCore.QSize(120, 0)) self.mArrowHeadOutlineColorButton.setMaximumSize(QtCore.QSize(120, 16777215)) self.mArrowHeadOutlineColorButton.setText(_fromUtf8("")) self.mArrowHeadOutlineColorButton.setObjectName(_fromUtf8("mArrowHeadOutlineColorButton")) self.gridLayout.addWidget(self.mArrowHeadOutlineColorButton, 1, 1, 1, 1) self.label_4 = QtGui.QLabel(self.mArrowMarkersGroupBox) self.label_4.setObjectName(_fromUtf8("label_4")) self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1) self.mArrowHeadFillColorButton = QgsColorButtonV2(self.mArrowMarkersGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mArrowHeadFillColorButton.sizePolicy().hasHeightForWidth()) self.mArrowHeadFillColorButton.setSizePolicy(sizePolicy) self.mArrowHeadFillColorButton.setMinimumSize(QtCore.QSize(120, 0)) self.mArrowHeadFillColorButton.setMaximumSize(QtCore.QSize(120, 16777215)) self.mArrowHeadFillColorButton.setText(_fromUtf8("")) self.mArrowHeadFillColorButton.setObjectName(_fromUtf8("mArrowHeadFillColorButton")) self.gridLayout.addWidget(self.mArrowHeadFillColorButton, 2, 1, 1, 1) self.label = QtGui.QLabel(self.mArrowMarkersGroupBox) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 3, 0, 1, 1) self.mOutlineWidthSpinBox = QgsDoubleSpinBox(self.mArrowMarkersGroupBox) self.mOutlineWidthSpinBox.setPrefix(_fromUtf8("")) self.mOutlineWidthSpinBox.setShowClearButton(False) self.mOutlineWidthSpinBox.setObjectName(_fromUtf8("mOutlineWidthSpinBox")) self.gridLayout.addWidget(self.mOutlineWidthSpinBox, 3, 1, 1, 1) self.label_2 = QtGui.QLabel(self.mArrowMarkersGroupBox) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 4, 0, 1, 1) self.mArrowHeadWidthSpinBox = QgsDoubleSpinBox(self.mArrowMarkersGroupBox) self.mArrowHeadWidthSpinBox.setPrefix(_fromUtf8("")) self.mArrowHeadWidthSpinBox.setShowClearButton(False) self.mArrowHeadWidthSpinBox.setObjectName(_fromUtf8("mArrowHeadWidthSpinBox")) self.gridLayout.addWidget(self.mArrowHeadWidthSpinBox, 4, 1, 1, 1) self.mStartMarkerLabel = QtGui.QLabel(self.mArrowMarkersGroupBox) self.mStartMarkerLabel.setObjectName(_fromUtf8("mStartMarkerLabel")) self.gridLayout.addWidget(self.mStartMarkerLabel, 5, 0, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.mStartMarkerLineEdit = QtGui.QLineEdit(self.mArrowMarkersGroupBox) self.mStartMarkerLineEdit.setObjectName(_fromUtf8("mStartMarkerLineEdit")) self.horizontalLayout.addWidget(self.mStartMarkerLineEdit) self.mStartMarkerToolButton = QtGui.QToolButton(self.mArrowMarkersGroupBox) self.mStartMarkerToolButton.setObjectName(_fromUtf8("mStartMarkerToolButton")) self.horizontalLayout.addWidget(self.mStartMarkerToolButton) self.gridLayout.addLayout(self.horizontalLayout, 5, 1, 1, 1) self.mEndMarkerLabel = QtGui.QLabel(self.mArrowMarkersGroupBox) self.mEndMarkerLabel.setObjectName(_fromUtf8("mEndMarkerLabel")) self.gridLayout.addWidget(self.mEndMarkerLabel, 6, 0, 1, 1) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.mEndMarkerLineEdit = QtGui.QLineEdit(self.mArrowMarkersGroupBox) self.mEndMarkerLineEdit.setObjectName(_fromUtf8("mEndMarkerLineEdit")) self.horizontalLayout_2.addWidget(self.mEndMarkerLineEdit) self.mEndMarkerToolButton = QtGui.QToolButton(self.mArrowMarkersGroupBox) self.mEndMarkerToolButton.setObjectName(_fromUtf8("mEndMarkerToolButton")) self.horizontalLayout_2.addWidget(self.mEndMarkerToolButton) self.gridLayout.addLayout(self.horizontalLayout_2, 6, 1, 1, 1) self.mainLayout.addWidget(self.mArrowMarkersGroupBox) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout.addWidget(self.scrollArea) self.retranslateUi(QgsComposerArrowWidgetBase) QtCore.QMetaObject.connectSlotsByName(QgsComposerArrowWidgetBase) QgsComposerArrowWidgetBase.setTabOrder(self.scrollArea, self.groupBox) QgsComposerArrowWidgetBase.setTabOrder(self.groupBox, self.mLineStyleButton) QgsComposerArrowWidgetBase.setTabOrder(self.mLineStyleButton, self.mArrowMarkersGroupBox) QgsComposerArrowWidgetBase.setTabOrder(self.mArrowMarkersGroupBox, self.mDefaultMarkerRadioButton) QgsComposerArrowWidgetBase.setTabOrder(self.mDefaultMarkerRadioButton, self.mNoMarkerRadioButton) QgsComposerArrowWidgetBase.setTabOrder(self.mNoMarkerRadioButton, self.mSvgMarkerRadioButton) QgsComposerArrowWidgetBase.setTabOrder(self.mSvgMarkerRadioButton, self.mArrowHeadOutlineColorButton) QgsComposerArrowWidgetBase.setTabOrder(self.mArrowHeadOutlineColorButton, self.mArrowHeadFillColorButton) QgsComposerArrowWidgetBase.setTabOrder(self.mArrowHeadFillColorButton, self.mOutlineWidthSpinBox) QgsComposerArrowWidgetBase.setTabOrder(self.mOutlineWidthSpinBox, self.mArrowHeadWidthSpinBox) QgsComposerArrowWidgetBase.setTabOrder(self.mArrowHeadWidthSpinBox, self.mStartMarkerLineEdit) QgsComposerArrowWidgetBase.setTabOrder(self.mStartMarkerLineEdit, self.mStartMarkerToolButton) QgsComposerArrowWidgetBase.setTabOrder(self.mStartMarkerToolButton, self.mEndMarkerLineEdit) QgsComposerArrowWidgetBase.setTabOrder(self.mEndMarkerLineEdit, self.mEndMarkerToolButton) def retranslateUi(self, QgsComposerArrowWidgetBase): QgsComposerArrowWidgetBase.setWindowTitle(_translate("QgsComposerArrowWidgetBase", "Form", None)) self.label_3.setText(_translate("QgsComposerArrowWidgetBase", "Arrow", None)) self.groupBox.setTitle(_translate("QgsComposerArrowWidgetBase", "Main properties", None)) self.mLineStyleButton.setText(_translate("QgsComposerArrowWidgetBase", "Line style...", None)) self.mArrowMarkersGroupBox.setTitle(_translate("QgsComposerArrowWidgetBase", "Arrow markers", None)) self.mDefaultMarkerRadioButton.setText(_translate("QgsComposerArrowWidgetBase", "Default", None)) self.mNoMarkerRadioButton.setText(_translate("QgsComposerArrowWidgetBase", "None", None)) self.mSvgMarkerRadioButton.setText(_translate("QgsComposerArrowWidgetBase", "SVG", None)) self.label_5.setText(_translate("QgsComposerArrowWidgetBase", "Arrow outline color", None)) self.label_4.setText(_translate("QgsComposerArrowWidgetBase", "Arrow fill color", None)) self.label.setText(_translate("QgsComposerArrowWidgetBase", "Arrow outline width", None)) self.mOutlineWidthSpinBox.setSuffix(_translate("QgsComposerArrowWidgetBase", " mm", None)) self.label_2.setText(_translate("QgsComposerArrowWidgetBase", "Arrow head width", None)) self.mArrowHeadWidthSpinBox.setSuffix(_translate("QgsComposerArrowWidgetBase", " mm", None)) self.mStartMarkerLabel.setText(_translate("QgsComposerArrowWidgetBase", "Start marker", None)) self.mStartMarkerToolButton.setText(_translate("QgsComposerArrowWidgetBase", "...", None)) self.mEndMarkerLabel.setText(_translate("QgsComposerArrowWidgetBase", "End marker", None)) self.mEndMarkerToolButton.setText(_translate("QgsComposerArrowWidgetBase", "...", None))
class Ui_hcmgis_medialaxis_form(object): def setupUi(self, hcmgis_medialaxis_form): hcmgis_medialaxis_form.setObjectName("hcmgis_medialaxis_form") hcmgis_medialaxis_form.setWindowModality(QtCore.Qt.ApplicationModal) hcmgis_medialaxis_form.setEnabled(True) hcmgis_medialaxis_form.resize(479, 343) hcmgis_medialaxis_form.setMouseTracking(False) self.verticalLayout = QtWidgets.QVBoxLayout(hcmgis_medialaxis_form) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.LblStatus = QtWidgets.QLabel(hcmgis_medialaxis_form) self.LblStatus.setText("") self.LblStatus.setObjectName("LblStatus") self.gridLayout.addWidget(self.LblStatus, 10, 0, 1, 2) self.label = QtWidgets.QLabel(hcmgis_medialaxis_form) font = QtGui.QFont() font.setBold(False) font.setItalic(True) font.setWeight(50) font.setKerning(False) self.label.setFont(font) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 6, 0, 1, 2) self.LblInput = QtWidgets.QLabel(hcmgis_medialaxis_form) self.LblInput.setObjectName("LblInput") self.gridLayout.addWidget(self.LblInput, 0, 0, 1, 2) self.LblInput_2 = QtWidgets.QLabel(hcmgis_medialaxis_form) self.LblInput_2.setObjectName("LblInput_2") self.gridLayout.addWidget(self.LblInput_2, 4, 0, 1, 2) self.LblInput_3 = QtWidgets.QLabel(hcmgis_medialaxis_form) self.LblInput_3.setObjectName("LblInput_3") self.gridLayout.addWidget(self.LblInput_3, 2, 0, 1, 2) self.LblOutput = QtWidgets.QLabel(hcmgis_medialaxis_form) self.LblOutput.setObjectName("LblOutput") self.gridLayout.addWidget(self.LblOutput, 7, 0, 1, 2) self.status = QtWidgets.QProgressBar(hcmgis_medialaxis_form) self.status.setProperty("value", 24) self.status.setObjectName("status") self.gridLayout.addWidget(self.status, 11, 0, 1, 2) self.CboField = QgsFieldComboBox(hcmgis_medialaxis_form) self.CboField.setObjectName("CboField") self.gridLayout.addWidget(self.CboField, 3, 0, 1, 2) self.CboInput = QgsMapLayerComboBox(hcmgis_medialaxis_form) self.CboInput.setObjectName("CboInput") self.gridLayout.addWidget(self.CboInput, 1, 0, 1, 2) self.output_file_name = QgsFileWidget(hcmgis_medialaxis_form) self.output_file_name.setObjectName("output_file_name") self.gridLayout.addWidget(self.output_file_name, 8, 0, 1, 1) self.spinBox = QgsDoubleSpinBox(hcmgis_medialaxis_form) self.spinBox.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.spinBox.setDecimals(1) self.spinBox.setMinimum(0.1) self.spinBox.setMaximum(10.0) self.spinBox.setSingleStep(0.1) self.spinBox.setProperty("value", 0.5) self.spinBox.setObjectName("spinBox") self.gridLayout.addWidget(self.spinBox, 5, 0, 1, 1) self.verticalLayout.addLayout(self.gridLayout) self.BtnApplyClose = QtWidgets.QDialogButtonBox(hcmgis_medialaxis_form) self.BtnApplyClose.setStandardButtons( QtWidgets.QDialogButtonBox.Apply | QtWidgets.QDialogButtonBox.Close) self.BtnApplyClose.setObjectName("BtnApplyClose") self.verticalLayout.addWidget(self.BtnApplyClose) self.retranslateUi(hcmgis_medialaxis_form) self.BtnApplyClose.accepted.connect(hcmgis_medialaxis_form.accept) self.BtnApplyClose.rejected.connect(hcmgis_medialaxis_form.reject) QtCore.QMetaObject.connectSlotsByName(hcmgis_medialaxis_form) def retranslateUi(self, hcmgis_medialaxis_form): _translate = QtCore.QCoreApplication.translate hcmgis_medialaxis_form.setWindowTitle( _translate("hcmgis_medialaxis_form", "Skeleton/Medial Axis")) self.label.setText( _translate("hcmgis_medialaxis_form", "(Notice: Output should be refined after running)")) self.LblInput.setText( _translate("hcmgis_medialaxis_form", "Input Polygon (1..100 selected features limit!)")) self.LblInput_2.setText( _translate("hcmgis_medialaxis_form", "Density (m)")) self.LblInput_3.setText( _translate("hcmgis_medialaxis_form", "Unique field")) self.LblOutput.setText(_translate("hcmgis_medialaxis_form", "Output"))
class Ui_QgsComposerShapeWidgetBase(object): def setupUi(self, QgsComposerShapeWidgetBase): QgsComposerShapeWidgetBase.setObjectName( _fromUtf8("QgsComposerShapeWidgetBase")) QgsComposerShapeWidgetBase.resize(285, 148) self.verticalLayout = QtGui.QVBoxLayout(QgsComposerShapeWidgetBase) self.verticalLayout.setSpacing(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.label_2 = QtGui.QLabel(QgsComposerShapeWidgetBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.label_2.sizePolicy().hasHeightForWidth()) self.label_2.setSizePolicy(sizePolicy) self.label_2.setStyleSheet( _fromUtf8( "padding: 2px; font-weight: bold; background-color: rgb(200, 200, 200);" )) self.label_2.setObjectName(_fromUtf8("label_2")) self.verticalLayout.addWidget(self.label_2) self.scrollArea = QtGui.QScrollArea(QgsComposerShapeWidgetBase) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry( QtCore.QRect(0, -22, 267, 147)) self.scrollAreaWidgetContents.setObjectName( _fromUtf8("scrollAreaWidgetContents")) self.mainLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents) self.mainLayout.setObjectName(_fromUtf8("mainLayout")) self.groupBox = QgsCollapsibleGroupBoxBasic( self.scrollAreaWidgetContents) self.groupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.groupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.groupBox.setProperty("collapsed", False) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout = QtGui.QGridLayout(self.groupBox) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.label_3 = QtGui.QLabel(self.groupBox) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1) self.mCornerRadiusSpinBox = QgsDoubleSpinBox(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mCornerRadiusSpinBox.sizePolicy().hasHeightForWidth()) self.mCornerRadiusSpinBox.setSizePolicy(sizePolicy) self.mCornerRadiusSpinBox.setMaximum(999.0) self.mCornerRadiusSpinBox.setObjectName( _fromUtf8("mCornerRadiusSpinBox")) self.gridLayout.addWidget(self.mCornerRadiusSpinBox, 1, 1, 1, 1) self.label = QtGui.QLabel(self.groupBox) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 2, 0, 1, 1) self.mShapeStyleButton = QtGui.QPushButton(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mShapeStyleButton.sizePolicy().hasHeightForWidth()) self.mShapeStyleButton.setSizePolicy(sizePolicy) self.mShapeStyleButton.setObjectName(_fromUtf8("mShapeStyleButton")) self.gridLayout.addWidget(self.mShapeStyleButton, 2, 1, 1, 1) self.mShapeComboBox = QtGui.QComboBox(self.groupBox) self.mShapeComboBox.setObjectName(_fromUtf8("mShapeComboBox")) self.gridLayout.addWidget(self.mShapeComboBox, 0, 0, 1, 2) self.mainLayout.addWidget(self.groupBox) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout.addWidget(self.scrollArea) self.retranslateUi(QgsComposerShapeWidgetBase) QtCore.QMetaObject.connectSlotsByName(QgsComposerShapeWidgetBase) QgsComposerShapeWidgetBase.setTabOrder(self.groupBox, self.scrollArea) QgsComposerShapeWidgetBase.setTabOrder(self.scrollArea, self.mShapeComboBox) QgsComposerShapeWidgetBase.setTabOrder(self.mShapeComboBox, self.mCornerRadiusSpinBox) QgsComposerShapeWidgetBase.setTabOrder(self.mCornerRadiusSpinBox, self.mShapeStyleButton) def retranslateUi(self, QgsComposerShapeWidgetBase): QgsComposerShapeWidgetBase.setWindowTitle( _translate("QgsComposerShapeWidgetBase", "Form", None)) self.label_2.setText( _translate("QgsComposerShapeWidgetBase", "Shape", None)) self.groupBox.setTitle( _translate("QgsComposerShapeWidgetBase", "Main properties", None)) self.label_3.setText( _translate("QgsComposerShapeWidgetBase", "Corner radius", None)) self.mCornerRadiusSpinBox.setSuffix( _translate("QgsComposerShapeWidgetBase", " mm", None)) self.label.setText( _translate("QgsComposerShapeWidgetBase", "Style", None)) self.mShapeStyleButton.setText( _translate("QgsComposerShapeWidgetBase", "Change...", None))
class Ui_QgsCompositionWidgetBase(object): def setupUi(self, QgsCompositionWidgetBase): QgsCompositionWidgetBase.setObjectName( _fromUtf8("QgsCompositionWidgetBase")) QgsCompositionWidgetBase.resize(345, 506) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( QgsCompositionWidgetBase.sizePolicy().hasHeightForWidth()) QgsCompositionWidgetBase.setSizePolicy(sizePolicy) self.verticalLayout = QtGui.QVBoxLayout(QgsCompositionWidgetBase) self.verticalLayout.setSpacing(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.scrollArea = QtGui.QScrollArea(QgsCompositionWidgetBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.scrollArea.sizePolicy().hasHeightForWidth()) self.scrollArea.setSizePolicy(sizePolicy) self.scrollArea.setFocusPolicy(QtCore.Qt.WheelFocus) self.scrollArea.setFrameShape(QtGui.QFrame.StyledPanel) self.scrollArea.setFrameShadow(QtGui.QFrame.Plain) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect( 0, 0, 327, 1085)) self.scrollAreaWidgetContents.setObjectName( _fromUtf8("scrollAreaWidgetContents")) self.verticalLayout_2 = QtGui.QVBoxLayout( self.scrollAreaWidgetContents) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.groupBox = QgsCollapsibleGroupBoxBasic( self.scrollAreaWidgetContents) self.groupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.groupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.groupBox.setProperty("collapsed", False) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout = QtGui.QGridLayout(self.groupBox) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.textLabel7 = QtGui.QLabel(self.groupBox) self.textLabel7.setWordWrap(True) self.textLabel7.setObjectName(_fromUtf8("textLabel7")) self.gridLayout.addWidget(self.textLabel7, 4, 0, 1, 1) self.label_2 = QtGui.QLabel(self.groupBox) self.label_2.setWordWrap(True) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1) self.mPaperUnitsComboBox = QtGui.QComboBox(self.groupBox) self.mPaperUnitsComboBox.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mPaperUnitsComboBox.sizePolicy().hasHeightForWidth()) self.mPaperUnitsComboBox.setSizePolicy(sizePolicy) self.mPaperUnitsComboBox.setObjectName( _fromUtf8("mPaperUnitsComboBox")) self.gridLayout.addWidget(self.mPaperUnitsComboBox, 3, 1, 1, 1) self.label_3 = QtGui.QLabel(self.groupBox) self.label_3.setWordWrap(True) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1) self.textLabel3 = QtGui.QLabel(self.groupBox) self.textLabel3.setWordWrap(True) self.textLabel3.setObjectName(_fromUtf8("textLabel3")) self.gridLayout.addWidget(self.textLabel3, 0, 0, 1, 1) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.mPaperHeightDoubleSpinBox = QgsDoubleSpinBox(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mPaperHeightDoubleSpinBox.sizePolicy().hasHeightForWidth()) self.mPaperHeightDoubleSpinBox.setSizePolicy(sizePolicy) self.mPaperHeightDoubleSpinBox.setPrefix(_fromUtf8("")) self.mPaperHeightDoubleSpinBox.setSuffix(_fromUtf8("")) self.mPaperHeightDoubleSpinBox.setMaximum(99999.0) self.mPaperHeightDoubleSpinBox.setProperty("showClearButton", False) self.mPaperHeightDoubleSpinBox.setObjectName( _fromUtf8("mPaperHeightDoubleSpinBox")) self.horizontalLayout_3.addWidget(self.mPaperHeightDoubleSpinBox) self.mPaperHeightDDBtn = QgsDataDefinedButton(self.groupBox) self.mPaperHeightDDBtn.setObjectName(_fromUtf8("mPaperHeightDDBtn")) self.horizontalLayout_3.addWidget(self.mPaperHeightDDBtn) self.gridLayout.addLayout(self.horizontalLayout_3, 2, 1, 1, 1) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.mPaperWidthDoubleSpinBox = QgsDoubleSpinBox(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mPaperWidthDoubleSpinBox.sizePolicy().hasHeightForWidth()) self.mPaperWidthDoubleSpinBox.setSizePolicy(sizePolicy) self.mPaperWidthDoubleSpinBox.setPrefix(_fromUtf8("")) self.mPaperWidthDoubleSpinBox.setSuffix(_fromUtf8("")) self.mPaperWidthDoubleSpinBox.setMaximum(99999.0) self.mPaperWidthDoubleSpinBox.setProperty("showClearButton", False) self.mPaperWidthDoubleSpinBox.setObjectName( _fromUtf8("mPaperWidthDoubleSpinBox")) self.horizontalLayout_2.addWidget(self.mPaperWidthDoubleSpinBox) self.mPaperWidthDDBtn = QgsDataDefinedButton(self.groupBox) self.mPaperWidthDDBtn.setObjectName(_fromUtf8("mPaperWidthDDBtn")) self.horizontalLayout_2.addWidget(self.mPaperWidthDDBtn) self.gridLayout.addLayout(self.horizontalLayout_2, 1, 1, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.mPaperSizeComboBox = QtGui.QComboBox(self.groupBox) self.mPaperSizeComboBox.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mPaperSizeComboBox.sizePolicy().hasHeightForWidth()) self.mPaperSizeComboBox.setSizePolicy(sizePolicy) self.mPaperSizeComboBox.setObjectName(_fromUtf8("mPaperSizeComboBox")) self.horizontalLayout.addWidget(self.mPaperSizeComboBox) self.mPaperSizeDDBtn = QgsDataDefinedButton(self.groupBox) self.mPaperSizeDDBtn.setObjectName(_fromUtf8("mPaperSizeDDBtn")) self.horizontalLayout.addWidget(self.mPaperSizeDDBtn) self.gridLayout.addLayout(self.horizontalLayout, 0, 1, 1, 1) self.label = QtGui.QLabel(self.groupBox) self.label.setWordWrap(True) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 1, 0, 1, 1) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.mPaperOrientationComboBox = QtGui.QComboBox(self.groupBox) self.mPaperOrientationComboBox.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mPaperOrientationComboBox.sizePolicy().hasHeightForWidth()) self.mPaperOrientationComboBox.setSizePolicy(sizePolicy) self.mPaperOrientationComboBox.setObjectName( _fromUtf8("mPaperOrientationComboBox")) self.horizontalLayout_5.addWidget(self.mPaperOrientationComboBox) self.mPaperOrientationDDBtn = QgsDataDefinedButton(self.groupBox) self.mPaperOrientationDDBtn.setObjectName( _fromUtf8("mPaperOrientationDDBtn")) self.horizontalLayout_5.addWidget(self.mPaperOrientationDDBtn) self.gridLayout.addLayout(self.horizontalLayout_5, 4, 1, 1, 1) self.verticalLayout_2.addWidget(self.groupBox) self.groupBox_5 = QgsCollapsibleGroupBoxBasic( self.scrollAreaWidgetContents) self.groupBox_5.setObjectName(_fromUtf8("groupBox_5")) self.verticalLayout_5 = QtGui.QVBoxLayout(self.groupBox_5) self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5")) self.gridLayout_5 = QtGui.QGridLayout() self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.label_4 = QtGui.QLabel(self.groupBox_5) self.label_4.setObjectName(_fromUtf8("label_4")) self.gridLayout_5.addWidget(self.label_4, 0, 1, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem, 0, 0, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem1, 0, 3, 1, 1) self.mTopMarginSpinBox = QgsDoubleSpinBox(self.groupBox_5) self.mTopMarginSpinBox.setSingleStep(0.1) self.mTopMarginSpinBox.setObjectName(_fromUtf8("mTopMarginSpinBox")) self.gridLayout_5.addWidget(self.mTopMarginSpinBox, 0, 2, 1, 1) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.label_5 = QtGui.QLabel(self.groupBox_5) self.label_5.setObjectName(_fromUtf8("label_5")) self.horizontalLayout_7.addWidget(self.label_5) self.mLeftMarginSpinBox = QgsDoubleSpinBox(self.groupBox_5) self.mLeftMarginSpinBox.setSingleStep(0.1) self.mLeftMarginSpinBox.setObjectName(_fromUtf8("mLeftMarginSpinBox")) self.horizontalLayout_7.addWidget(self.mLeftMarginSpinBox) self.label_11 = QtGui.QLabel(self.groupBox_5) self.label_11.setObjectName(_fromUtf8("label_11")) self.horizontalLayout_7.addWidget(self.label_11) self.mRightMarginSpinBox = QgsDoubleSpinBox(self.groupBox_5) self.mRightMarginSpinBox.setSingleStep(0.1) self.mRightMarginSpinBox.setObjectName( _fromUtf8("mRightMarginSpinBox")) self.horizontalLayout_7.addWidget(self.mRightMarginSpinBox) self.gridLayout_5.addLayout(self.horizontalLayout_7, 1, 0, 1, 4) self.label_12 = QtGui.QLabel(self.groupBox_5) self.label_12.setObjectName(_fromUtf8("label_12")) self.gridLayout_5.addWidget(self.label_12, 2, 1, 1, 1) self.mBottomMarginSpinBox = QgsDoubleSpinBox(self.groupBox_5) self.mBottomMarginSpinBox.setSingleStep(0.1) self.mBottomMarginSpinBox.setObjectName( _fromUtf8("mBottomMarginSpinBox")) self.gridLayout_5.addWidget(self.mBottomMarginSpinBox, 2, 2, 1, 1) self.mResizePageButton = QtGui.QPushButton(self.groupBox_5) self.mResizePageButton.setObjectName(_fromUtf8("mResizePageButton")) self.gridLayout_5.addWidget(self.mResizePageButton, 3, 1, 1, 2) self.verticalLayout_5.addLayout(self.gridLayout_5) self.verticalLayout_2.addWidget(self.groupBox_5) self.groupBox_4 = QgsCollapsibleGroupBoxBasic( self.scrollAreaWidgetContents) self.groupBox_4.setObjectName(_fromUtf8("groupBox_4")) self.gridLayout_4 = QtGui.QGridLayout(self.groupBox_4) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.mNumPagesLabel = QtGui.QLabel(self.groupBox_4) self.mNumPagesLabel.setWordWrap(True) self.mNumPagesLabel.setObjectName(_fromUtf8("mNumPagesLabel")) self.gridLayout_4.addWidget(self.mNumPagesLabel, 0, 0, 1, 1) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.mNumPagesSpinBox = QgsSpinBox(self.groupBox_4) self.mNumPagesSpinBox.setMinimum(1) self.mNumPagesSpinBox.setProperty("showClearButton", False) self.mNumPagesSpinBox.setObjectName(_fromUtf8("mNumPagesSpinBox")) self.horizontalLayout_4.addWidget(self.mNumPagesSpinBox) self.mNumPagesDDBtn = QgsDataDefinedButton(self.groupBox_4) self.mNumPagesDDBtn.setObjectName(_fromUtf8("mNumPagesDDBtn")) self.horizontalLayout_4.addWidget(self.mNumPagesDDBtn) self.gridLayout_4.addLayout(self.horizontalLayout_4, 0, 1, 1, 1) self.label_10 = QtGui.QLabel(self.groupBox_4) self.label_10.setObjectName(_fromUtf8("label_10")) self.gridLayout_4.addWidget(self.label_10, 1, 0, 1, 1) self.mPageStyleButton = QtGui.QPushButton(self.groupBox_4) self.mPageStyleButton.setObjectName(_fromUtf8("mPageStyleButton")) self.gridLayout_4.addWidget(self.mPageStyleButton, 1, 1, 1, 1) self.verticalLayout_2.addWidget(self.groupBox_4) self.groupBox_3 = QgsCollapsibleGroupBoxBasic( self.scrollAreaWidgetContents) self.groupBox_3.setObjectName(_fromUtf8("groupBox_3")) self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_3) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.mResolutionSpinBox = QgsSpinBox(self.groupBox_3) self.mResolutionSpinBox.setPrefix(_fromUtf8("")) self.mResolutionSpinBox.setMaximum(3000) self.mResolutionSpinBox.setProperty("showClearButton", False) self.mResolutionSpinBox.setObjectName(_fromUtf8("mResolutionSpinBox")) self.gridLayout_3.addWidget(self.mResolutionSpinBox, 1, 1, 1, 1) self.mPrintAsRasterCheckBox = QtGui.QCheckBox(self.groupBox_3) self.mPrintAsRasterCheckBox.setCheckable(True) self.mPrintAsRasterCheckBox.setChecked(False) self.mPrintAsRasterCheckBox.setObjectName( _fromUtf8("mPrintAsRasterCheckBox")) self.gridLayout_3.addWidget(self.mPrintAsRasterCheckBox, 2, 0, 1, 1) self.mWorldFileMapComboBox = QtGui.QComboBox(self.groupBox_3) self.mWorldFileMapComboBox.setEnabled(False) self.mWorldFileMapComboBox.setEditable(False) self.mWorldFileMapComboBox.setObjectName( _fromUtf8("mWorldFileMapComboBox")) self.gridLayout_3.addWidget(self.mWorldFileMapComboBox, 3, 1, 1, 1) self.mGenerateWorldFileCheckBox = QtGui.QCheckBox(self.groupBox_3) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mGenerateWorldFileCheckBox.sizePolicy().hasHeightForWidth()) self.mGenerateWorldFileCheckBox.setSizePolicy(sizePolicy) self.mGenerateWorldFileCheckBox.setObjectName( _fromUtf8("mGenerateWorldFileCheckBox")) self.gridLayout_3.addWidget(self.mGenerateWorldFileCheckBox, 3, 0, 1, 1) self.label_9 = QtGui.QLabel(self.groupBox_3) self.label_9.setObjectName(_fromUtf8("label_9")) self.gridLayout_3.addWidget(self.label_9, 1, 0, 1, 1) self.verticalLayout_2.addWidget(self.groupBox_3) self.mSnapToGridGroupCheckBox = QgsCollapsibleGroupBoxBasic( self.scrollAreaWidgetContents) self.mSnapToGridGroupCheckBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.mSnapToGridGroupCheckBox.setCheckable(False) self.mSnapToGridGroupCheckBox.setChecked(False) self.mSnapToGridGroupCheckBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mSnapToGridGroupCheckBox.setProperty("collapsed", True) self.mSnapToGridGroupCheckBox.setObjectName( _fromUtf8("mSnapToGridGroupCheckBox")) self.gridLayout_2 = QtGui.QGridLayout(self.mSnapToGridGroupCheckBox) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.label_8 = QtGui.QLabel(self.mSnapToGridGroupCheckBox) self.label_8.setWordWrap(True) self.label_8.setObjectName(_fromUtf8("label_8")) self.gridLayout_2.addWidget(self.label_8, 0, 0, 1, 1) self.mGridResolutionSpinBox = QgsDoubleSpinBox( self.mSnapToGridGroupCheckBox) self.mGridResolutionSpinBox.setPrefix(_fromUtf8("")) self.mGridResolutionSpinBox.setMinimum(0.5) self.mGridResolutionSpinBox.setMaximum(9999.0) self.mGridResolutionSpinBox.setProperty("showClearButton", False) self.mGridResolutionSpinBox.setObjectName( _fromUtf8("mGridResolutionSpinBox")) self.gridLayout_2.addWidget(self.mGridResolutionSpinBox, 0, 1, 1, 1) self.label_6 = QtGui.QLabel(self.mSnapToGridGroupCheckBox) self.label_6.setWordWrap(True) self.label_6.setObjectName(_fromUtf8("label_6")) self.gridLayout_2.addWidget(self.label_6, 1, 0, 1, 1) self.verticalLayout_3 = QtGui.QVBoxLayout() self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.mOffsetXSpinBox = QgsDoubleSpinBox(self.mSnapToGridGroupCheckBox) self.mOffsetXSpinBox.setMaximum(9999.0) self.mOffsetXSpinBox.setObjectName(_fromUtf8("mOffsetXSpinBox")) self.verticalLayout_3.addWidget(self.mOffsetXSpinBox) self.mOffsetYSpinBox = QgsDoubleSpinBox(self.mSnapToGridGroupCheckBox) self.mOffsetYSpinBox.setMaximum(9999.0) self.mOffsetYSpinBox.setObjectName(_fromUtf8("mOffsetYSpinBox")) self.verticalLayout_3.addWidget(self.mOffsetYSpinBox) self.gridLayout_2.addLayout(self.verticalLayout_3, 1, 1, 1, 1) self.label_7 = QtGui.QLabel(self.mSnapToGridGroupCheckBox) self.label_7.setObjectName(_fromUtf8("label_7")) self.gridLayout_2.addWidget(self.label_7, 2, 0, 1, 1) self.mSnapToleranceSpinBox = QgsSpinBox(self.mSnapToGridGroupCheckBox) self.mSnapToleranceSpinBox.setMaximum(200) self.mSnapToleranceSpinBox.setProperty("showClearButton", False) self.mSnapToleranceSpinBox.setObjectName( _fromUtf8("mSnapToleranceSpinBox")) self.gridLayout_2.addWidget(self.mSnapToleranceSpinBox, 2, 1, 1, 1) self.gridLayout_2.setColumnStretch(1, 1) self.verticalLayout_2.addWidget(self.mSnapToGridGroupCheckBox) self.groupBox_2 = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_2) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.mVariableEditor = QgsVariableEditorWidget(self.groupBox_2) self.mVariableEditor.setMinimumSize(QtCore.QSize(0, 200)) self.mVariableEditor.setObjectName(_fromUtf8("mVariableEditor")) self.verticalLayout_4.addWidget(self.mVariableEditor) self.verticalLayout_2.addWidget(self.groupBox_2) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem2) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout.addWidget(self.scrollArea) self.textLabel7.setBuddy(self.mPaperOrientationComboBox) self.textLabel3.setBuddy(self.mPaperSizeComboBox) self.retranslateUi(QgsCompositionWidgetBase) QtCore.QMetaObject.connectSlotsByName(QgsCompositionWidgetBase) QgsCompositionWidgetBase.setTabOrder(self.scrollArea, self.groupBox) QgsCompositionWidgetBase.setTabOrder(self.groupBox, self.mPaperSizeComboBox) QgsCompositionWidgetBase.setTabOrder(self.mPaperSizeComboBox, self.mPaperSizeDDBtn) QgsCompositionWidgetBase.setTabOrder(self.mPaperSizeDDBtn, self.mPaperWidthDoubleSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mPaperWidthDoubleSpinBox, self.mPaperWidthDDBtn) QgsCompositionWidgetBase.setTabOrder(self.mPaperWidthDDBtn, self.mPaperHeightDoubleSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mPaperHeightDoubleSpinBox, self.mPaperHeightDDBtn) QgsCompositionWidgetBase.setTabOrder(self.mPaperHeightDDBtn, self.mPaperUnitsComboBox) QgsCompositionWidgetBase.setTabOrder(self.mPaperUnitsComboBox, self.mPaperOrientationComboBox) QgsCompositionWidgetBase.setTabOrder(self.mPaperOrientationComboBox, self.mPaperOrientationDDBtn) QgsCompositionWidgetBase.setTabOrder(self.mPaperOrientationDDBtn, self.mTopMarginSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mTopMarginSpinBox, self.mLeftMarginSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mLeftMarginSpinBox, self.mRightMarginSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mRightMarginSpinBox, self.mBottomMarginSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mBottomMarginSpinBox, self.mResizePageButton) QgsCompositionWidgetBase.setTabOrder(self.mResizePageButton, self.mNumPagesSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mNumPagesSpinBox, self.mNumPagesDDBtn) QgsCompositionWidgetBase.setTabOrder(self.mNumPagesDDBtn, self.mPageStyleButton) QgsCompositionWidgetBase.setTabOrder(self.mPageStyleButton, self.mResolutionSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mResolutionSpinBox, self.mPrintAsRasterCheckBox) QgsCompositionWidgetBase.setTabOrder(self.mPrintAsRasterCheckBox, self.mGenerateWorldFileCheckBox) QgsCompositionWidgetBase.setTabOrder(self.mGenerateWorldFileCheckBox, self.mWorldFileMapComboBox) QgsCompositionWidgetBase.setTabOrder(self.mWorldFileMapComboBox, self.mSnapToGridGroupCheckBox) QgsCompositionWidgetBase.setTabOrder(self.mSnapToGridGroupCheckBox, self.mGridResolutionSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mGridResolutionSpinBox, self.mOffsetXSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mOffsetXSpinBox, self.mOffsetYSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mOffsetYSpinBox, self.mSnapToleranceSpinBox) def retranslateUi(self, QgsCompositionWidgetBase): QgsCompositionWidgetBase.setWindowTitle( _translate("QgsCompositionWidgetBase", "Composition", None)) self.groupBox.setTitle( _translate("QgsCompositionWidgetBase", "Page size", None)) self.textLabel7.setText( _translate("QgsCompositionWidgetBase", "Orientation", None)) self.label_2.setText( _translate("QgsCompositionWidgetBase", "Height", None)) self.label_3.setText( _translate("QgsCompositionWidgetBase", "Units", None)) self.textLabel3.setText( _translate("QgsCompositionWidgetBase", "Presets", None)) self.mPaperHeightDDBtn.setText( _translate("QgsCompositionWidgetBase", "...", None)) self.mPaperWidthDDBtn.setText( _translate("QgsCompositionWidgetBase", "...", None)) self.mPaperSizeDDBtn.setText( _translate("QgsCompositionWidgetBase", "...", None)) self.label.setText( _translate("QgsCompositionWidgetBase", "Width", None)) self.mPaperOrientationDDBtn.setText( _translate("QgsCompositionWidgetBase", "...", None)) self.groupBox_5.setTitle( _translate("QgsCompositionWidgetBase", "Resize page to content", None)) self.label_4.setText( _translate("QgsCompositionWidgetBase", "Top margin (mm)", None)) self.label_5.setText( _translate("QgsCompositionWidgetBase", "Left", None)) self.label_11.setText( _translate("QgsCompositionWidgetBase", "Right", None)) self.label_12.setText( _translate("QgsCompositionWidgetBase", "Bottom", None)) self.mResizePageButton.setText( _translate("QgsCompositionWidgetBase", "Resize page", None)) self.groupBox_4.setTitle( _translate("QgsCompositionWidgetBase", "Page settings", None)) self.mNumPagesLabel.setText( _translate("QgsCompositionWidgetBase", "Number of pages", None)) self.mNumPagesDDBtn.setText( _translate("QgsCompositionWidgetBase", "...", None)) self.label_10.setText( _translate("QgsCompositionWidgetBase", "Page background", None)) self.mPageStyleButton.setText( _translate("QgsCompositionWidgetBase", "Change...", None)) self.groupBox_3.setTitle( _translate("QgsCompositionWidgetBase", "Export settings", None)) self.mResolutionSpinBox.setSuffix( _translate("QgsCompositionWidgetBase", " dpi", None)) self.mPrintAsRasterCheckBox.setText( _translate("QgsCompositionWidgetBase", "Print as raster", None)) self.mGenerateWorldFileCheckBox.setText( _translate("QgsCompositionWidgetBase", "World file on", None)) self.label_9.setText( _translate("QgsCompositionWidgetBase", "Export resolution", None)) self.mSnapToGridGroupCheckBox.setTitle( _translate("QgsCompositionWidgetBase", "Guides and Grid", None)) self.label_8.setText( _translate("QgsCompositionWidgetBase", "Grid spacing", None)) self.mGridResolutionSpinBox.setSuffix( _translate("QgsCompositionWidgetBase", " mm", None)) self.label_6.setText( _translate("QgsCompositionWidgetBase", "Grid offset", None)) self.mOffsetXSpinBox.setPrefix( _translate("QgsCompositionWidgetBase", "x: ", None)) self.mOffsetXSpinBox.setSuffix( _translate("QgsCompositionWidgetBase", " mm", None)) self.mOffsetYSpinBox.setPrefix( _translate("QgsCompositionWidgetBase", "y: ", None)) self.mOffsetYSpinBox.setSuffix( _translate("QgsCompositionWidgetBase", " mm", None)) self.label_7.setText( _translate("QgsCompositionWidgetBase", "Snap tolerance", None)) self.mSnapToleranceSpinBox.setSuffix( _translate("QgsCompositionWidgetBase", " px", None)) self.groupBox_2.setTitle( _translate("QgsCompositionWidgetBase", "Variables", None))
class Ui_QgsComposerItemWidgetBase(object): def setupUi(self, QgsComposerItemWidgetBase): QgsComposerItemWidgetBase.setObjectName( _fromUtf8("QgsComposerItemWidgetBase")) QgsComposerItemWidgetBase.resize(290, 847) self.verticalLayout_2 = QtGui.QVBoxLayout(QgsComposerItemWidgetBase) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.mGeneralOptionsGroupBox = QgsCollapsibleGroupBoxBasic( QgsComposerItemWidgetBase) self.mGeneralOptionsGroupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.mGeneralOptionsGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mGeneralOptionsGroupBox.setProperty("collapsed", True) self.mGeneralOptionsGroupBox.setObjectName( _fromUtf8("mGeneralOptionsGroupBox")) self.verticalLayout = QtGui.QVBoxLayout(self.mGeneralOptionsGroupBox) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.gridLayout_3 = QtGui.QGridLayout() self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.mWidthLabel = QtGui.QLabel(self.mGeneralOptionsGroupBox) self.mWidthLabel.setObjectName(_fromUtf8("mWidthLabel")) self.gridLayout_3.addWidget(self.mWidthLabel, 3, 0, 1, 1) self.mXLabel = QtGui.QLabel(self.mGeneralOptionsGroupBox) self.mXLabel.setObjectName(_fromUtf8("mXLabel")) self.gridLayout_3.addWidget(self.mXLabel, 1, 0, 1, 1) self.mHeightLabel = QtGui.QLabel(self.mGeneralOptionsGroupBox) self.mHeightLabel.setObjectName(_fromUtf8("mHeightLabel")) self.gridLayout_3.addWidget(self.mHeightLabel, 4, 0, 1, 1) self.mYLabel = QtGui.QLabel(self.mGeneralOptionsGroupBox) self.mYLabel.setObjectName(_fromUtf8("mYLabel")) self.gridLayout_3.addWidget(self.mYLabel, 2, 0, 1, 1) self.mPageLabel = QtGui.QLabel(self.mGeneralOptionsGroupBox) self.mPageLabel.setObjectName(_fromUtf8("mPageLabel")) self.gridLayout_3.addWidget(self.mPageLabel, 0, 0, 1, 1) self.mXPositionDDBtn = QgsDataDefinedButton( self.mGeneralOptionsGroupBox) self.mXPositionDDBtn.setObjectName(_fromUtf8("mXPositionDDBtn")) self.gridLayout_3.addWidget(self.mXPositionDDBtn, 1, 3, 1, 1) self.mYPositionDDBtn = QgsDataDefinedButton( self.mGeneralOptionsGroupBox) self.mYPositionDDBtn.setObjectName(_fromUtf8("mYPositionDDBtn")) self.gridLayout_3.addWidget(self.mYPositionDDBtn, 2, 3, 1, 1) self.mWidthDDBtn = QgsDataDefinedButton(self.mGeneralOptionsGroupBox) self.mWidthDDBtn.setObjectName(_fromUtf8("mWidthDDBtn")) self.gridLayout_3.addWidget(self.mWidthDDBtn, 3, 3, 1, 1) self.mHeightDDBtn = QgsDataDefinedButton(self.mGeneralOptionsGroupBox) self.mHeightDDBtn.setObjectName(_fromUtf8("mHeightDDBtn")) self.gridLayout_3.addWidget(self.mHeightDDBtn, 4, 3, 1, 1) self.mPageSpinBox = QgsSpinBox(self.mGeneralOptionsGroupBox) self.mPageSpinBox.setMinimum(1) self.mPageSpinBox.setProperty("showClearButton", False) self.mPageSpinBox.setObjectName(_fromUtf8("mPageSpinBox")) self.gridLayout_3.addWidget(self.mPageSpinBox, 0, 1, 1, 3) self.mWidthSpin = QgsDoubleSpinBox(self.mGeneralOptionsGroupBox) self.mWidthSpin.setDecimals(3) self.mWidthSpin.setMaximum(9999999.0) self.mWidthSpin.setProperty("showClearButton", False) self.mWidthSpin.setObjectName(_fromUtf8("mWidthSpin")) self.gridLayout_3.addWidget(self.mWidthSpin, 3, 1, 1, 2) self.mHeightSpin = QgsDoubleSpinBox(self.mGeneralOptionsGroupBox) self.mHeightSpin.setDecimals(3) self.mHeightSpin.setMaximum(9999999.0) self.mHeightSpin.setProperty("showClearButton", False) self.mHeightSpin.setObjectName(_fromUtf8("mHeightSpin")) self.gridLayout_3.addWidget(self.mHeightSpin, 4, 1, 1, 2) self.mYPosSpin = QgsDoubleSpinBox(self.mGeneralOptionsGroupBox) self.mYPosSpin.setDecimals(3) self.mYPosSpin.setMinimum(-9999999.0) self.mYPosSpin.setMaximum(9999999.0) self.mYPosSpin.setProperty("showClearButton", False) self.mYPosSpin.setObjectName(_fromUtf8("mYPosSpin")) self.gridLayout_3.addWidget(self.mYPosSpin, 2, 1, 1, 2) self.mXPosSpin = QgsDoubleSpinBox(self.mGeneralOptionsGroupBox) self.mXPosSpin.setDecimals(3) self.mXPosSpin.setMinimum(-9999999.0) self.mXPosSpin.setMaximum(9999999.0) self.mXPosSpin.setProperty("showClearButton", False) self.mXPosSpin.setObjectName(_fromUtf8("mXPosSpin")) self.gridLayout_3.addWidget(self.mXPosSpin, 1, 1, 1, 2) self.gridLayout_3.setColumnStretch(1, 1) self.gridLayout_3.setColumnStretch(2, 1) self.gridLayout_3.setColumnStretch(3, 1) self.verticalLayout.addLayout(self.gridLayout_3) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.label_2 = QtGui.QLabel(self.mGeneralOptionsGroupBox) self.label_2.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter) self.label_2.setObjectName(_fromUtf8("label_2")) self.horizontalLayout_7.addWidget(self.label_2) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.mUpperMiddleCheckBox = QtGui.QCheckBox( self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mUpperMiddleCheckBox.sizePolicy().hasHeightForWidth()) self.mUpperMiddleCheckBox.setSizePolicy(sizePolicy) self.mUpperMiddleCheckBox.setText(_fromUtf8("")) self.mUpperMiddleCheckBox.setObjectName( _fromUtf8("mUpperMiddleCheckBox")) self.gridLayout.addWidget(self.mUpperMiddleCheckBox, 0, 1, 1, 1) self.mMiddleRightCheckBox = QtGui.QCheckBox( self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mMiddleRightCheckBox.sizePolicy().hasHeightForWidth()) self.mMiddleRightCheckBox.setSizePolicy(sizePolicy) self.mMiddleRightCheckBox.setText(_fromUtf8("")) self.mMiddleRightCheckBox.setObjectName( _fromUtf8("mMiddleRightCheckBox")) self.gridLayout.addWidget(self.mMiddleRightCheckBox, 1, 2, 1, 1) self.mMiddleCheckBox = QtGui.QCheckBox(self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mMiddleCheckBox.sizePolicy().hasHeightForWidth()) self.mMiddleCheckBox.setSizePolicy(sizePolicy) self.mMiddleCheckBox.setText(_fromUtf8("")) self.mMiddleCheckBox.setObjectName(_fromUtf8("mMiddleCheckBox")) self.gridLayout.addWidget(self.mMiddleCheckBox, 1, 1, 1, 1) self.mUpperRightCheckBox = QtGui.QCheckBox( self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mUpperRightCheckBox.sizePolicy().hasHeightForWidth()) self.mUpperRightCheckBox.setSizePolicy(sizePolicy) self.mUpperRightCheckBox.setText(_fromUtf8("")) self.mUpperRightCheckBox.setObjectName( _fromUtf8("mUpperRightCheckBox")) self.gridLayout.addWidget(self.mUpperRightCheckBox, 0, 2, 1, 1) self.mLowerMiddleCheckBox = QtGui.QCheckBox( self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mLowerMiddleCheckBox.sizePolicy().hasHeightForWidth()) self.mLowerMiddleCheckBox.setSizePolicy(sizePolicy) self.mLowerMiddleCheckBox.setText(_fromUtf8("")) self.mLowerMiddleCheckBox.setObjectName( _fromUtf8("mLowerMiddleCheckBox")) self.gridLayout.addWidget(self.mLowerMiddleCheckBox, 2, 1, 1, 1) self.mLowerRightCheckBox = QtGui.QCheckBox( self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mLowerRightCheckBox.sizePolicy().hasHeightForWidth()) self.mLowerRightCheckBox.setSizePolicy(sizePolicy) self.mLowerRightCheckBox.setText(_fromUtf8("")) self.mLowerRightCheckBox.setObjectName( _fromUtf8("mLowerRightCheckBox")) self.gridLayout.addWidget(self.mLowerRightCheckBox, 2, 2, 1, 1) self.mUpperLeftCheckBox = QtGui.QCheckBox(self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mUpperLeftCheckBox.sizePolicy().hasHeightForWidth()) self.mUpperLeftCheckBox.setSizePolicy(sizePolicy) self.mUpperLeftCheckBox.setText(_fromUtf8("")) self.mUpperLeftCheckBox.setObjectName(_fromUtf8("mUpperLeftCheckBox")) self.gridLayout.addWidget(self.mUpperLeftCheckBox, 0, 0, 1, 1) self.mLowerLeftCheckBox = QtGui.QCheckBox(self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mLowerLeftCheckBox.sizePolicy().hasHeightForWidth()) self.mLowerLeftCheckBox.setSizePolicy(sizePolicy) self.mLowerLeftCheckBox.setText(_fromUtf8("")) self.mLowerLeftCheckBox.setObjectName(_fromUtf8("mLowerLeftCheckBox")) self.gridLayout.addWidget(self.mLowerLeftCheckBox, 2, 0, 1, 1) self.mMiddleLeftCheckBox = QtGui.QCheckBox( self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mMiddleLeftCheckBox.sizePolicy().hasHeightForWidth()) self.mMiddleLeftCheckBox.setSizePolicy(sizePolicy) self.mMiddleLeftCheckBox.setText(_fromUtf8("")) self.mMiddleLeftCheckBox.setObjectName( _fromUtf8("mMiddleLeftCheckBox")) self.gridLayout.addWidget(self.mMiddleLeftCheckBox, 1, 0, 1, 1) self.horizontalLayout_7.addLayout(self.gridLayout) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_7.addItem(spacerItem) self.verticalLayout.addLayout(self.horizontalLayout_7) self.verticalLayout_2.addWidget(self.mGeneralOptionsGroupBox) self.mTransformsGroupBox = QgsCollapsibleGroupBoxBasic( QgsComposerItemWidgetBase) self.mTransformsGroupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.mTransformsGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mTransformsGroupBox.setProperty("collapsed", True) self.mTransformsGroupBox.setObjectName( _fromUtf8("mTransformsGroupBox")) self.gridLayout_5 = QtGui.QGridLayout(self.mTransformsGroupBox) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.label = QtGui.QLabel(self.mTransformsGroupBox) self.label.setObjectName(_fromUtf8("label")) self.gridLayout_5.addWidget(self.label, 0, 0, 1, 1) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.mItemRotationSpinBox = QgsDoubleSpinBox(self.mTransformsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mItemRotationSpinBox.sizePolicy().hasHeightForWidth()) self.mItemRotationSpinBox.setSizePolicy(sizePolicy) self.mItemRotationSpinBox.setMaximum(360.0) self.mItemRotationSpinBox.setObjectName( _fromUtf8("mItemRotationSpinBox")) self.horizontalLayout_4.addWidget(self.mItemRotationSpinBox) self.mItemRotationDDBtn = QgsDataDefinedButton( self.mTransformsGroupBox) self.mItemRotationDDBtn.setObjectName(_fromUtf8("mItemRotationDDBtn")) self.horizontalLayout_4.addWidget(self.mItemRotationDDBtn) self.gridLayout_5.addLayout(self.horizontalLayout_4, 0, 1, 1, 1) self.gridLayout_5.setColumnStretch(1, 1) self.verticalLayout_2.addWidget(self.mTransformsGroupBox) self.mFrameGroupBox = QgsCollapsibleGroupBoxBasic( QgsComposerItemWidgetBase) self.mFrameGroupBox.setCheckable(True) self.mFrameGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mFrameGroupBox.setProperty("collapsed", True) self.mFrameGroupBox.setObjectName(_fromUtf8("mFrameGroupBox")) self.gridLayout_6 = QtGui.QGridLayout(self.mFrameGroupBox) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.label_3 = QtGui.QLabel(self.mFrameGroupBox) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout_6.addWidget(self.label_3, 0, 0, 1, 1) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.mFrameColorButton = QgsColorButtonV2(self.mFrameGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mFrameColorButton.sizePolicy().hasHeightForWidth()) self.mFrameColorButton.setSizePolicy(sizePolicy) self.mFrameColorButton.setMinimumSize(QtCore.QSize(120, 0)) self.mFrameColorButton.setMaximumSize(QtCore.QSize(120, 16777215)) self.mFrameColorButton.setText(_fromUtf8("")) self.mFrameColorButton.setObjectName(_fromUtf8("mFrameColorButton")) self.horizontalLayout_6.addWidget(self.mFrameColorButton) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem1) self.gridLayout_6.addLayout(self.horizontalLayout_6, 0, 1, 1, 1) self.mOutlineWidthLabel = QtGui.QLabel(self.mFrameGroupBox) self.mOutlineWidthLabel.setWordWrap(True) self.mOutlineWidthLabel.setObjectName(_fromUtf8("mOutlineWidthLabel")) self.gridLayout_6.addWidget(self.mOutlineWidthLabel, 1, 0, 1, 1) self.mOutlineWidthSpinBox = QgsDoubleSpinBox(self.mFrameGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mOutlineWidthSpinBox.sizePolicy().hasHeightForWidth()) self.mOutlineWidthSpinBox.setSizePolicy(sizePolicy) self.mOutlineWidthSpinBox.setSingleStep(0.1) self.mOutlineWidthSpinBox.setProperty("showClearButton", False) self.mOutlineWidthSpinBox.setObjectName( _fromUtf8("mOutlineWidthSpinBox")) self.gridLayout_6.addWidget(self.mOutlineWidthSpinBox, 1, 1, 1, 1) self.label_8 = QtGui.QLabel(self.mFrameGroupBox) self.label_8.setObjectName(_fromUtf8("label_8")) self.gridLayout_6.addWidget(self.label_8, 2, 0, 1, 1) self.mFrameJoinStyleCombo = QgsPenJoinStyleComboBox( self.mFrameGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mFrameJoinStyleCombo.sizePolicy().hasHeightForWidth()) self.mFrameJoinStyleCombo.setSizePolicy(sizePolicy) self.mFrameJoinStyleCombo.setObjectName( _fromUtf8("mFrameJoinStyleCombo")) self.gridLayout_6.addWidget(self.mFrameJoinStyleCombo, 2, 1, 1, 1) self.verticalLayout_2.addWidget(self.mFrameGroupBox) self.mBackgroundGroupBox = QgsCollapsibleGroupBoxBasic( QgsComposerItemWidgetBase) self.mBackgroundGroupBox.setCheckable(True) self.mBackgroundGroupBox.setChecked(True) self.mBackgroundGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mBackgroundGroupBox.setProperty("collapsed", True) self.mBackgroundGroupBox.setObjectName( _fromUtf8("mBackgroundGroupBox")) self.gridLayout_7 = QtGui.QGridLayout(self.mBackgroundGroupBox) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) self.label_4 = QtGui.QLabel(self.mBackgroundGroupBox) self.label_4.setObjectName(_fromUtf8("label_4")) self.gridLayout_7.addWidget(self.label_4, 0, 0, 1, 1) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.mBackgroundColorButton = QgsColorButtonV2( self.mBackgroundGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mBackgroundColorButton.sizePolicy().hasHeightForWidth()) self.mBackgroundColorButton.setSizePolicy(sizePolicy) self.mBackgroundColorButton.setMinimumSize(QtCore.QSize(120, 0)) self.mBackgroundColorButton.setMaximumSize(QtCore.QSize(120, 16777215)) self.mBackgroundColorButton.setText(_fromUtf8("")) self.mBackgroundColorButton.setObjectName( _fromUtf8("mBackgroundColorButton")) self.horizontalLayout_5.addWidget(self.mBackgroundColorButton) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem2) self.gridLayout_7.addLayout(self.horizontalLayout_5, 0, 1, 1, 1) self.verticalLayout_2.addWidget(self.mBackgroundGroupBox) self.groupBox = QgsCollapsibleGroupBoxBasic(QgsComposerItemWidgetBase) self.groupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.groupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.groupBox.setProperty("collapsed", True) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout_8 = QtGui.QGridLayout(self.groupBox) self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8")) self.mItemIdLabel = QtGui.QLabel(self.groupBox) self.mItemIdLabel.setObjectName(_fromUtf8("mItemIdLabel")) self.gridLayout_8.addWidget(self.mItemIdLabel, 0, 0, 1, 1) self.mItemIdLineEdit = QtGui.QLineEdit(self.groupBox) self.mItemIdLineEdit.setObjectName(_fromUtf8("mItemIdLineEdit")) self.gridLayout_8.addWidget(self.mItemIdLineEdit, 0, 1, 1, 1) self.verticalLayout_2.addWidget(self.groupBox) self.groupRendering = QgsCollapsibleGroupBoxBasic( QgsComposerItemWidgetBase) self.groupRendering.setFocusPolicy(QtCore.Qt.StrongFocus) self.groupRendering.setProperty("collapsed", True) self.groupRendering.setProperty("syncGroup", _fromUtf8("composeritem")) self.groupRendering.setObjectName(_fromUtf8("groupRendering")) self.gridLayout_4 = QtGui.QGridLayout(self.groupRendering) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.labelBlendMode = QtGui.QLabel(self.groupRendering) self.labelBlendMode.setObjectName(_fromUtf8("labelBlendMode")) self.gridLayout_4.addWidget(self.labelBlendMode, 0, 0, 1, 1) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.mBlendModeCombo = QgsBlendModeComboBox(self.groupRendering) self.mBlendModeCombo.setObjectName(_fromUtf8("mBlendModeCombo")) self.horizontalLayout_3.addWidget(self.mBlendModeCombo) self.mBlendModeDDBtn = QgsDataDefinedButton(self.groupRendering) self.mBlendModeDDBtn.setObjectName(_fromUtf8("mBlendModeDDBtn")) self.horizontalLayout_3.addWidget(self.mBlendModeDDBtn) self.gridLayout_4.addLayout(self.horizontalLayout_3, 0, 1, 1, 1) self.labelTransparency = QtGui.QLabel(self.groupRendering) self.labelTransparency.setObjectName(_fromUtf8("labelTransparency")) self.gridLayout_4.addWidget(self.labelTransparency, 1, 0, 1, 1) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.mTransparencySlider = QtGui.QSlider(self.groupRendering) self.mTransparencySlider.setMaximum(100) self.mTransparencySlider.setOrientation(QtCore.Qt.Horizontal) self.mTransparencySlider.setObjectName( _fromUtf8("mTransparencySlider")) self.horizontalLayout_2.addWidget(self.mTransparencySlider) self.mTransparencySpnBx = QgsSpinBox(self.groupRendering) self.mTransparencySpnBx.setMinimumSize(QtCore.QSize(80, 25)) self.mTransparencySpnBx.setMaximum(100) self.mTransparencySpnBx.setObjectName(_fromUtf8("mTransparencySpnBx")) self.horizontalLayout_2.addWidget(self.mTransparencySpnBx) self.mTransparencyDDBtn = QgsDataDefinedButton(self.groupRendering) self.mTransparencyDDBtn.setObjectName(_fromUtf8("mTransparencyDDBtn")) self.horizontalLayout_2.addWidget(self.mTransparencyDDBtn) self.gridLayout_4.addLayout(self.horizontalLayout_2, 1, 1, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.mExcludeFromPrintsCheckBox = QtGui.QCheckBox(self.groupRendering) self.mExcludeFromPrintsCheckBox.setObjectName( _fromUtf8("mExcludeFromPrintsCheckBox")) self.horizontalLayout.addWidget(self.mExcludeFromPrintsCheckBox) self.mExcludePrintsDDBtn = QgsDataDefinedButton(self.groupRendering) self.mExcludePrintsDDBtn.setObjectName( _fromUtf8("mExcludePrintsDDBtn")) self.horizontalLayout.addWidget(self.mExcludePrintsDDBtn) self.gridLayout_4.addLayout(self.horizontalLayout, 2, 0, 1, 2) self.verticalLayout_2.addWidget(self.groupRendering) self.groupBox_3 = QgsCollapsibleGroupBox(QgsComposerItemWidgetBase) self.groupBox_3.setObjectName(_fromUtf8("groupBox_3")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_3) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.mVariableEditor = QgsVariableEditorWidget(self.groupBox_3) self.mVariableEditor.setMinimumSize(QtCore.QSize(0, 200)) self.mVariableEditor.setObjectName(_fromUtf8("mVariableEditor")) self.verticalLayout_4.addWidget(self.mVariableEditor) self.verticalLayout_2.addWidget(self.groupBox_3) spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.MinimumExpanding) self.verticalLayout_2.addItem(spacerItem3) self.mOutlineWidthLabel.setBuddy(self.mOutlineWidthSpinBox) self.retranslateUi(QgsComposerItemWidgetBase) QtCore.QMetaObject.connectSlotsByName(QgsComposerItemWidgetBase) QgsComposerItemWidgetBase.setTabOrder(self.mGeneralOptionsGroupBox, self.mPageSpinBox) QgsComposerItemWidgetBase.setTabOrder(self.mPageSpinBox, self.mXPosSpin) QgsComposerItemWidgetBase.setTabOrder(self.mXPosSpin, self.mXPositionDDBtn) QgsComposerItemWidgetBase.setTabOrder(self.mXPositionDDBtn, self.mYPosSpin) QgsComposerItemWidgetBase.setTabOrder(self.mYPosSpin, self.mYPositionDDBtn) QgsComposerItemWidgetBase.setTabOrder(self.mYPositionDDBtn, self.mWidthSpin) QgsComposerItemWidgetBase.setTabOrder(self.mWidthSpin, self.mWidthDDBtn) QgsComposerItemWidgetBase.setTabOrder(self.mWidthDDBtn, self.mHeightSpin) QgsComposerItemWidgetBase.setTabOrder(self.mHeightSpin, self.mHeightDDBtn) QgsComposerItemWidgetBase.setTabOrder(self.mHeightDDBtn, self.mUpperLeftCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mUpperLeftCheckBox, self.mUpperMiddleCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mUpperMiddleCheckBox, self.mUpperRightCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mUpperRightCheckBox, self.mMiddleLeftCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mMiddleLeftCheckBox, self.mMiddleCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mMiddleCheckBox, self.mMiddleRightCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mMiddleRightCheckBox, self.mLowerLeftCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mLowerLeftCheckBox, self.mLowerMiddleCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mLowerMiddleCheckBox, self.mLowerRightCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mLowerRightCheckBox, self.mTransformsGroupBox) QgsComposerItemWidgetBase.setTabOrder(self.mTransformsGroupBox, self.mItemRotationSpinBox) QgsComposerItemWidgetBase.setTabOrder(self.mItemRotationSpinBox, self.mItemRotationDDBtn) QgsComposerItemWidgetBase.setTabOrder(self.mItemRotationDDBtn, self.mFrameGroupBox) QgsComposerItemWidgetBase.setTabOrder(self.mFrameGroupBox, self.mFrameColorButton) QgsComposerItemWidgetBase.setTabOrder(self.mFrameColorButton, self.mOutlineWidthSpinBox) QgsComposerItemWidgetBase.setTabOrder(self.mOutlineWidthSpinBox, self.mFrameJoinStyleCombo) QgsComposerItemWidgetBase.setTabOrder(self.mFrameJoinStyleCombo, self.mBackgroundGroupBox) QgsComposerItemWidgetBase.setTabOrder(self.mBackgroundGroupBox, self.mBackgroundColorButton) QgsComposerItemWidgetBase.setTabOrder(self.mBackgroundColorButton, self.groupBox) QgsComposerItemWidgetBase.setTabOrder(self.groupBox, self.mItemIdLineEdit) QgsComposerItemWidgetBase.setTabOrder(self.mItemIdLineEdit, self.groupRendering) QgsComposerItemWidgetBase.setTabOrder(self.groupRendering, self.mBlendModeCombo) QgsComposerItemWidgetBase.setTabOrder(self.mBlendModeCombo, self.mBlendModeDDBtn) QgsComposerItemWidgetBase.setTabOrder(self.mBlendModeDDBtn, self.mTransparencySlider) QgsComposerItemWidgetBase.setTabOrder(self.mTransparencySlider, self.mTransparencySpnBx) QgsComposerItemWidgetBase.setTabOrder(self.mTransparencySpnBx, self.mTransparencyDDBtn) QgsComposerItemWidgetBase.setTabOrder(self.mTransparencyDDBtn, self.mExcludeFromPrintsCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mExcludeFromPrintsCheckBox, self.mExcludePrintsDDBtn) def retranslateUi(self, QgsComposerItemWidgetBase): QgsComposerItemWidgetBase.setWindowTitle( _translate("QgsComposerItemWidgetBase", "Global Options", None)) self.mGeneralOptionsGroupBox.setTitle( _translate("QgsComposerItemWidgetBase", "Position and size", None)) self.mWidthLabel.setText( _translate("QgsComposerItemWidgetBase", "Width", None)) self.mXLabel.setText(_translate("QgsComposerItemWidgetBase", "X", None)) self.mHeightLabel.setText( _translate("QgsComposerItemWidgetBase", "Height", None)) self.mYLabel.setText(_translate("QgsComposerItemWidgetBase", "Y", None)) self.mPageLabel.setText( _translate("QgsComposerItemWidgetBase", "Page", None)) self.mXPositionDDBtn.setText( _translate("QgsComposerItemWidgetBase", "...", None)) self.mYPositionDDBtn.setText( _translate("QgsComposerItemWidgetBase", "...", None)) self.mWidthDDBtn.setText( _translate("QgsComposerItemWidgetBase", "...", None)) self.mHeightDDBtn.setText( _translate("QgsComposerItemWidgetBase", "...", None)) self.mWidthSpin.setSuffix( _translate("QgsComposerItemWidgetBase", " mm", None)) self.mHeightSpin.setSuffix( _translate("QgsComposerItemWidgetBase", " mm", None)) self.mYPosSpin.setSuffix( _translate("QgsComposerItemWidgetBase", " mm", None)) self.mXPosSpin.setSuffix( _translate("QgsComposerItemWidgetBase", " mm", None)) self.label_2.setText( _translate("QgsComposerItemWidgetBase", "Reference point", None)) self.mTransformsGroupBox.setTitle( _translate("QgsComposerItemWidgetBase", "Rotation", None)) self.label.setText( _translate("QgsComposerItemWidgetBase", "Rotation", None)) self.mItemRotationSpinBox.setSuffix( _translate("QgsComposerItemWidgetBase", " °", None)) self.mItemRotationDDBtn.setText( _translate("QgsComposerItemWidgetBase", "...", None)) self.mFrameGroupBox.setTitle( _translate("QgsComposerItemWidgetBase", "Frame", None)) self.label_3.setText( _translate("QgsComposerItemWidgetBase", "Frame color", None)) self.mOutlineWidthLabel.setText( _translate("QgsComposerItemWidgetBase", "Thickness", None)) self.mOutlineWidthSpinBox.setSuffix( _translate("QgsComposerItemWidgetBase", " mm", None)) self.label_8.setText( _translate("QgsComposerItemWidgetBase", "Join style", None)) self.mBackgroundGroupBox.setTitle( _translate("QgsComposerItemWidgetBase", "Background", None)) self.label_4.setText( _translate("QgsComposerItemWidgetBase", "Background color", None)) self.groupBox.setTitle( _translate("QgsComposerItemWidgetBase", "Item ID", None)) self.mItemIdLabel.setText( _translate("QgsComposerItemWidgetBase", "Id", None)) self.groupRendering.setTitle( _translate("QgsComposerItemWidgetBase", "Rendering", None)) self.labelBlendMode.setText( _translate("QgsComposerItemWidgetBase", "Blending mode", None)) self.mBlendModeDDBtn.setText( _translate("QgsComposerItemWidgetBase", "...", None)) self.labelTransparency.setText( _translate("QgsComposerItemWidgetBase", "Transparency", None)) self.mTransparencyDDBtn.setText( _translate("QgsComposerItemWidgetBase", "...", None)) self.mExcludeFromPrintsCheckBox.setText( _translate("QgsComposerItemWidgetBase", "Exclude item from exports", None)) self.mExcludePrintsDDBtn.setText( _translate("QgsComposerItemWidgetBase", "...", None)) self.groupBox_3.setTitle( _translate("QgsComposerItemWidgetBase", "Variables", None))
class Ui_MFAM_LoaderDockWidgetBase(object): def setupUi(self, MFAM_LoaderDockWidgetBase): MFAM_LoaderDockWidgetBase.setObjectName("MFAM_LoaderDockWidgetBase") MFAM_LoaderDockWidgetBase.resize(770, 1038) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) MFAM_LoaderDockWidgetBase.setPalette(palette) self.dockWidget = QtWidgets.QWidget() self.dockWidget.setObjectName("dockWidget") self.gridLayout = QtWidgets.QGridLayout(self.dockWidget) self.gridLayout.setObjectName("gridLayout") self.line = QtWidgets.QFrame(self.dockWidget) self.line.setFrameShape(QtWidgets.QFrame.HLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.gridLayout.addWidget(self.line, 15, 2, 1, 1) self.radioButton_2 = QtWidgets.QRadioButton(self.dockWidget) self.radioButton_2.setObjectName("radioButton_2") self.gridLayout.addWidget(self.radioButton_2, 2, 2, 1, 1) self.clear_List = QtWidgets.QPushButton(self.dockWidget) self.clear_List.setObjectName("clear_List") self.gridLayout.addWidget(self.clear_List, 11, 2, 1, 1) self.label_2 = QtWidgets.QLabel(self.dockWidget) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 8, 2, 1, 1) self.line_2 = QtWidgets.QFrame(self.dockWidget) self.line_2.setFrameShape(QtWidgets.QFrame.HLine) self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_2.setObjectName("line_2") self.gridLayout.addWidget(self.line_2, 7, 2, 1, 1) self.listWidget = QtWidgets.QListWidget(self.dockWidget) self.listWidget.setObjectName("listWidget") self.gridLayout.addWidget(self.listWidget, 9, 2, 1, 1) self.outputCheckBox = QtWidgets.QCheckBox(self.dockWidget) self.outputCheckBox.setObjectName("outputCheckBox") self.gridLayout.addWidget(self.outputCheckBox, 18, 2, 1, 1) self.line_3 = QtWidgets.QFrame(self.dockWidget) self.line_3.setFrameShape(QtWidgets.QFrame.HLine) self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_3.setObjectName("line_3") self.gridLayout.addWidget(self.line_3, 12, 2, 1, 1) spacerItem = QtWidgets.QSpacerItem(10, 10, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 9, 0, 1, 1) self.Drone_button = QtWidgets.QRadioButton(self.dockWidget) self.Drone_button.setChecked(True) self.Drone_button.setObjectName("Drone_button") self.gridLayout.addWidget(self.Drone_button, 0, 2, 1, 1) self.outputFileName = QgsFileWidget(self.dockWidget) self.outputFileName.setFileWidgetButtonVisible(False) self.outputFileName.setObjectName("outputFileName") self.gridLayout.addWidget(self.outputFileName, 22, 2, 1, 1) self.load_files = QtWidgets.QPushButton(self.dockWidget) self.load_files.setObjectName("load_files") self.gridLayout.addWidget(self.load_files, 4, 2, 1, 1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setContentsMargins(-1, 0, -1, -1) self.horizontalLayout.setObjectName("horizontalLayout") self.label_3 = QtWidgets.QLabel(self.dockWidget) self.label_3.setMaximumSize(QtCore.QSize(140, 16777215)) self.label_3.setObjectName("label_3") self.horizontalLayout.addWidget(self.label_3) self.sampleRateSpin = QgsDoubleSpinBox(self.dockWidget) self.sampleRateSpin.setMaximumSize(QtCore.QSize(100, 16777215)) self.sampleRateSpin.setObjectName("sampleRateSpin") self.horizontalLayout.addWidget(self.sampleRateSpin) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.gridLayout.addLayout(self.horizontalLayout, 14, 2, 1, 1) self.label = QtWidgets.QLabel(self.dockWidget) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 21, 2, 1, 1) self.process_files = QtWidgets.QPushButton(self.dockWidget) self.process_files.setObjectName("process_files") self.gridLayout.addWidget(self.process_files, 13, 2, 1, 1) self.MplWindow = MatplotlibWidget(self.dockWidget) self.MplWindow.setMinimumSize(QtCore.QSize(0, 200)) self.MplWindow.setMaximumSize(QtCore.QSize(16777215, 250)) self.MplWindow.setObjectName("MplWindow") self.gridLayout.addWidget(self.MplWindow, 10, 2, 1, 1) MFAM_LoaderDockWidgetBase.setWidget(self.dockWidget) self.retranslateUi(MFAM_LoaderDockWidgetBase) QtCore.QMetaObject.connectSlotsByName(MFAM_LoaderDockWidgetBase) def retranslateUi(self, MFAM_LoaderDockWidgetBase): _translate = QtCore.QCoreApplication.translate MFAM_LoaderDockWidgetBase.setWindowTitle(_translate("MFAM_LoaderDockWidgetBase", "mfam_loader")) self.radioButton_2.setText(_translate("MFAM_LoaderDockWidgetBase", "Magview MFAM")) self.clear_List.setText(_translate("MFAM_LoaderDockWidgetBase", "Clear List")) self.label_2.setText(_translate("MFAM_LoaderDockWidgetBase", "List of Files for Processing:")) self.outputCheckBox.setText(_translate("MFAM_LoaderDockWidgetBase", "Generate an output file")) self.Drone_button.setText(_translate("MFAM_LoaderDockWidgetBase", "Drone Data")) self.load_files.setText(_translate("MFAM_LoaderDockWidgetBase", "Select MFAM file(s)")) self.label_3.setText(_translate("MFAM_LoaderDockWidgetBase", "Sampling Rate Detected (Hz):")) self.label.setText(_translate("MFAM_LoaderDockWidgetBase", "Output File (*.txt)")) self.process_files.setText(_translate("MFAM_LoaderDockWidgetBase", "Process File(s)"))
class Ui_QgsSvgExportOptionsDialog(object): def setupUi(self, QgsSvgExportOptionsDialog): QgsSvgExportOptionsDialog.setObjectName( _fromUtf8("QgsSvgExportOptionsDialog")) QgsSvgExportOptionsDialog.resize(489, 282) self.verticalLayout = QtGui.QVBoxLayout(QgsSvgExportOptionsDialog) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.groupBox = QgsCollapsibleGroupBoxBasic(QgsSvgExportOptionsDialog) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.chkMapLayersAsGroup = QtGui.QCheckBox(self.groupBox) self.chkMapLayersAsGroup.setChecked(False) self.chkMapLayersAsGroup.setObjectName( _fromUtf8("chkMapLayersAsGroup")) self.verticalLayout_2.addWidget(self.chkMapLayersAsGroup) self.chkTextAsOutline = QtGui.QCheckBox(self.groupBox) self.chkTextAsOutline.setEnabled(True) self.chkTextAsOutline.setChecked(True) self.chkTextAsOutline.setObjectName(_fromUtf8("chkTextAsOutline")) self.verticalLayout_2.addWidget(self.chkTextAsOutline) self.verticalLayout.addWidget(self.groupBox) self.mClipToContentGroupBox = QgsCollapsibleGroupBoxBasic( QgsSvgExportOptionsDialog) self.mClipToContentGroupBox.setCheckable(True) self.mClipToContentGroupBox.setChecked(False) self.mClipToContentGroupBox.setObjectName( _fromUtf8("mClipToContentGroupBox")) self.verticalLayout_5 = QtGui.QVBoxLayout(self.mClipToContentGroupBox) self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5")) self.gridLayout_5 = QtGui.QGridLayout() self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.mTopMarginSpinBox = QgsDoubleSpinBox(self.mClipToContentGroupBox) self.mTopMarginSpinBox.setSingleStep(0.1) self.mTopMarginSpinBox.setObjectName(_fromUtf8("mTopMarginSpinBox")) self.gridLayout_5.addWidget(self.mTopMarginSpinBox, 0, 2, 1, 1) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.label_5 = QtGui.QLabel(self.mClipToContentGroupBox) self.label_5.setObjectName(_fromUtf8("label_5")) self.horizontalLayout_7.addWidget(self.label_5) self.mLeftMarginSpinBox = QgsDoubleSpinBox(self.mClipToContentGroupBox) self.mLeftMarginSpinBox.setSingleStep(0.1) self.mLeftMarginSpinBox.setObjectName(_fromUtf8("mLeftMarginSpinBox")) self.horizontalLayout_7.addWidget(self.mLeftMarginSpinBox) self.label_11 = QtGui.QLabel(self.mClipToContentGroupBox) self.label_11.setObjectName(_fromUtf8("label_11")) self.horizontalLayout_7.addWidget(self.label_11) self.mRightMarginSpinBox = QgsDoubleSpinBox( self.mClipToContentGroupBox) self.mRightMarginSpinBox.setSingleStep(0.1) self.mRightMarginSpinBox.setObjectName( _fromUtf8("mRightMarginSpinBox")) self.horizontalLayout_7.addWidget(self.mRightMarginSpinBox) self.gridLayout_5.addLayout(self.horizontalLayout_7, 1, 0, 1, 4) self.label_12 = QtGui.QLabel(self.mClipToContentGroupBox) self.label_12.setObjectName(_fromUtf8("label_12")) self.gridLayout_5.addWidget(self.label_12, 2, 1, 1, 1) self.mBottomMarginSpinBox = QgsDoubleSpinBox( self.mClipToContentGroupBox) self.mBottomMarginSpinBox.setSingleStep(0.1) self.mBottomMarginSpinBox.setObjectName( _fromUtf8("mBottomMarginSpinBox")) self.gridLayout_5.addWidget(self.mBottomMarginSpinBox, 2, 2, 1, 1) self.label_4 = QtGui.QLabel(self.mClipToContentGroupBox) self.label_4.setObjectName(_fromUtf8("label_4")) self.gridLayout_5.addWidget(self.label_4, 0, 1, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem, 0, 3, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem1, 0, 0, 1, 1) self.verticalLayout_5.addLayout(self.gridLayout_5) self.verticalLayout.addWidget(self.mClipToContentGroupBox) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem2) self.buttonBox = QtGui.QDialogButtonBox(QgsSvgExportOptionsDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Save) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.verticalLayout.addWidget(self.buttonBox) self.retranslateUi(QgsSvgExportOptionsDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), QgsSvgExportOptionsDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), QgsSvgExportOptionsDialog.reject) QtCore.QMetaObject.connectSlotsByName(QgsSvgExportOptionsDialog) QgsSvgExportOptionsDialog.setTabOrder(self.chkMapLayersAsGroup, self.chkTextAsOutline) QgsSvgExportOptionsDialog.setTabOrder(self.chkTextAsOutline, self.mClipToContentGroupBox) QgsSvgExportOptionsDialog.setTabOrder(self.mClipToContentGroupBox, self.mTopMarginSpinBox) QgsSvgExportOptionsDialog.setTabOrder(self.mTopMarginSpinBox, self.mLeftMarginSpinBox) QgsSvgExportOptionsDialog.setTabOrder(self.mLeftMarginSpinBox, self.mRightMarginSpinBox) QgsSvgExportOptionsDialog.setTabOrder(self.mRightMarginSpinBox, self.mBottomMarginSpinBox) def retranslateUi(self, QgsSvgExportOptionsDialog): QgsSvgExportOptionsDialog.setWindowTitle( _translate("QgsSvgExportOptionsDialog", "SVG export options", None)) self.groupBox.setTitle( _translate("QgsSvgExportOptionsDialog", "SVG options", None)) self.chkMapLayersAsGroup.setText( _translate( "QgsSvgExportOptionsDialog", "Export map layers as svg groups (may affect label placement)", None)) self.chkTextAsOutline.setToolTip( _translate( "QgsSvgExportOptionsDialog", "Uncheck to render map labels as text objects. This will degrade the quality of the map labels but allow editing in vector illustration software.", None)) self.chkTextAsOutline.setText( _translate("QgsSvgExportOptionsDialog", "Render map labels as outlines", None)) self.mClipToContentGroupBox.setTitle( _translate("QgsSvgExportOptionsDialog", "Crop to content", None)) self.label_5.setText( _translate("QgsSvgExportOptionsDialog", "Left", None)) self.label_11.setText( _translate("QgsSvgExportOptionsDialog", "Right", None)) self.label_12.setText( _translate("QgsSvgExportOptionsDialog", "Bottom", None)) self.label_4.setText( _translate("QgsSvgExportOptionsDialog", "Top margin (mm)", None))
class Ui_hcmgis_centerline_form(object): def setupUi(self, hcmgis_centerline_form): hcmgis_centerline_form.setObjectName("hcmgis_centerline_form") hcmgis_centerline_form.setWindowModality(QtCore.Qt.ApplicationModal) hcmgis_centerline_form.setEnabled(True) hcmgis_centerline_form.resize(467, 394) hcmgis_centerline_form.setMouseTracking(False) self.verticalLayout = QtWidgets.QVBoxLayout(hcmgis_centerline_form) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.spinBox = QgsDoubleSpinBox(hcmgis_centerline_form) self.spinBox.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.spinBox.setDecimals(1) self.spinBox.setMinimum(0.1) self.spinBox.setMaximum(10.0) self.spinBox.setSingleStep(0.1) self.spinBox.setProperty("value", 0.5) self.spinBox.setObjectName("spinBox") self.gridLayout.addWidget(self.spinBox, 3, 0, 1, 2) self.lblsurround = QtWidgets.QLabel(hcmgis_centerline_form) self.lblsurround.setObjectName("lblsurround") self.gridLayout.addWidget(self.lblsurround, 5, 0, 1, 2) self.output_file_name = QgsFileWidget(hcmgis_centerline_form) self.output_file_name.setObjectName("output_file_name") self.gridLayout.addWidget(self.output_file_name, 9, 0, 1, 2) self.LblInput = QtWidgets.QLabel(hcmgis_centerline_form) self.LblInput.setObjectName("LblInput") self.gridLayout.addWidget(self.LblInput, 0, 0, 1, 2) self.chksurround = QtWidgets.QCheckBox(hcmgis_centerline_form) self.chksurround.setChecked(False) self.chksurround.setObjectName("chksurround") self.gridLayout.addWidget(self.chksurround, 4, 0, 1, 2) self.status = QtWidgets.QProgressBar(hcmgis_centerline_form) self.status.setProperty("value", 24) self.status.setObjectName("status") self.gridLayout.addWidget(self.status, 11, 0, 1, 2) self.CboInput = QgsMapLayerComboBox(hcmgis_centerline_form) self.CboInput.setObjectName("CboInput") self.gridLayout.addWidget(self.CboInput, 1, 0, 1, 2) self.LblOutput = QtWidgets.QLabel(hcmgis_centerline_form) self.LblOutput.setObjectName("LblOutput") self.gridLayout.addWidget(self.LblOutput, 8, 0, 1, 2) self.label = QtWidgets.QLabel(hcmgis_centerline_form) font = QtGui.QFont() font.setBold(False) font.setItalic(True) font.setWeight(50) font.setKerning(False) self.label.setFont(font) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 7, 0, 1, 2) self.LblStatus = QtWidgets.QLabel(hcmgis_centerline_form) self.LblStatus.setText("") self.LblStatus.setObjectName("LblStatus") self.gridLayout.addWidget(self.LblStatus, 10, 0, 1, 2) self.LblInput_2 = QtWidgets.QLabel(hcmgis_centerline_form) self.LblInput_2.setObjectName("LblInput_2") self.gridLayout.addWidget(self.LblInput_2, 2, 0, 1, 2) self.distance = QgsDoubleSpinBox(hcmgis_centerline_form) self.distance.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.distance.setDecimals(1) self.distance.setMinimum(0.1) self.distance.setSingleStep(0.1) self.distance.setProperty("value", 1.0) self.distance.setObjectName("distance") self.gridLayout.addWidget(self.distance, 6, 0, 1, 2) self.verticalLayout.addLayout(self.gridLayout) self.BtnApplyClose = QtWidgets.QDialogButtonBox(hcmgis_centerline_form) self.BtnApplyClose.setStandardButtons( QtWidgets.QDialogButtonBox.Apply | QtWidgets.QDialogButtonBox.Close) self.BtnApplyClose.setObjectName("BtnApplyClose") self.verticalLayout.addWidget(self.BtnApplyClose) self.retranslateUi(hcmgis_centerline_form) self.BtnApplyClose.accepted.connect(hcmgis_centerline_form.accept) self.BtnApplyClose.rejected.connect(hcmgis_centerline_form.reject) QtCore.QMetaObject.connectSlotsByName(hcmgis_centerline_form) def retranslateUi(self, hcmgis_centerline_form): _translate = QtCore.QCoreApplication.translate hcmgis_centerline_form.setWindowTitle( _translate("hcmgis_centerline_form", "Centerline in the gaps between polygons")) self.lblsurround.setText( _translate("hcmgis_centerline_form", "Distance to the bounding box of polygon (m)")) self.LblInput.setText( _translate("hcmgis_centerline_form", "Input Polygon (Ex: Block of Buildings)")) self.chksurround.setText( _translate("hcmgis_centerline_form", "Also create line surrounding the polygon")) self.LblOutput.setText(_translate("hcmgis_centerline_form", "Output")) self.label.setText( _translate("hcmgis_centerline_form", "(Notice: Output should be refined after running)")) self.LblInput_2.setText( _translate("hcmgis_centerline_form", "Density (m)"))
class Ui_QgsMapfileExportDialogBase(object): def setupUi(self, QgsMapfileExportDialogBase): QgsMapfileExportDialogBase.setObjectName( _fromUtf8("QgsMapfileExportDialogBase")) QgsMapfileExportDialogBase.resize(687, 460) QgsMapfileExportDialogBase.setMinimumSize(QtCore.QSize(686, 460)) QgsMapfileExportDialogBase.setMaximumSize(QtCore.QSize(687, 460)) self.tabWidget = QtGui.QTabWidget(QgsMapfileExportDialogBase) self.tabWidget.setGeometry(QtCore.QRect(170, 9, 501, 401)) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tab0 = QtGui.QWidget() self.tab0.setObjectName(_fromUtf8("tab0")) self.lblMapFilePath = QtGui.QLabel(self.tab0) self.lblMapFilePath.setGeometry(QtCore.QRect(10, 10, 361, 20)) self.lblMapFilePath.setObjectName(_fromUtf8("lblMapFilePath")) self.txtMapFilePath = QtGui.QLineEdit(self.tab0) self.txtMapFilePath.setGeometry(QtCore.QRect(10, 30, 431, 20)) self.txtMapFilePath.setText(_fromUtf8("")) self.txtMapFilePath.setObjectName(_fromUtf8("txtMapFilePath")) self.btnChooseFile = QtGui.QToolButton(self.tab0) self.btnChooseFile.setGeometry(QtCore.QRect(450, 30, 25, 19)) self.btnChooseFile.setObjectName(_fromUtf8("btnChooseFile")) self.check_include = QtGui.QCheckBox(self.tab0) self.check_include.setGeometry(QtCore.QRect(10, 50, 201, 17)) self.check_include.setChecked(True) self.check_include.setObjectName(_fromUtf8("check_include")) self.groupShapePath = QtGui.QGroupBox(self.tab0) self.groupShapePath.setEnabled(False) self.groupShapePath.setGeometry(QtCore.QRect(10, 80, 471, 81)) self.groupShapePath.setFlat(False) self.groupShapePath.setObjectName(_fromUtf8("groupShapePath")) self.label_4 = QtGui.QLabel(self.groupShapePath) self.label_4.setGeometry(QtCore.QRect(20, 60, 351, 16)) font = QtGui.QFont() font.setItalic(True) self.label_4.setFont(font) self.label_4.setObjectName(_fromUtf8("label_4")) self.label_5 = QtGui.QLabel(self.groupShapePath) self.label_5.setGeometry(QtCore.QRect(10, 10, 381, 20)) self.label_5.setText(_fromUtf8("")) self.label_5.setObjectName(_fromUtf8("label_5")) self.btnShapePath = QtGui.QToolButton(self.groupShapePath) self.btnShapePath.setGeometry(QtCore.QRect(440, 30, 25, 19)) self.btnShapePath.setObjectName(_fromUtf8("btnShapePath")) self.txtShapePath = QtGui.QLineEdit(self.groupShapePath) self.txtShapePath.setGeometry(QtCore.QRect(10, 30, 421, 20)) self.txtShapePath.setText(_fromUtf8("")) self.txtShapePath.setObjectName(_fromUtf8("txtShapePath")) self.groupIconsetPath = QtGui.QGroupBox(self.tab0) self.groupIconsetPath.setEnabled(False) self.groupIconsetPath.setGeometry(QtCore.QRect(10, 310, 471, 61)) self.groupIconsetPath.setObjectName(_fromUtf8("groupIconsetPath")) self.txtIconsetPath = QtGui.QLineEdit(self.groupIconsetPath) self.txtIconsetPath.setGeometry(QtCore.QRect(10, 30, 421, 20)) self.txtIconsetPath.setText(_fromUtf8("")) self.txtIconsetPath.setObjectName(_fromUtf8("txtIconsetPath")) self.btnIconsetPath = QtGui.QToolButton(self.groupIconsetPath) self.btnIconsetPath.setGeometry(QtCore.QRect(440, 30, 25, 19)) self.btnIconsetPath.setObjectName(_fromUtf8("btnIconsetPath")) self.groupSymbolsetPath = QtGui.QGroupBox(self.tab0) self.groupSymbolsetPath.setEnabled(False) self.groupSymbolsetPath.setGeometry(QtCore.QRect(10, 170, 471, 61)) self.groupSymbolsetPath.setObjectName(_fromUtf8("groupSymbolsetPath")) self.txtSymbolsetPath = QtGui.QLineEdit(self.groupSymbolsetPath) self.txtSymbolsetPath.setGeometry(QtCore.QRect(10, 30, 421, 20)) self.txtSymbolsetPath.setText(_fromUtf8("")) self.txtSymbolsetPath.setObjectName(_fromUtf8("txtSymbolsetPath")) self.btnSymbolsetPath = QtGui.QToolButton(self.groupSymbolsetPath) self.btnSymbolsetPath.setGeometry(QtCore.QRect(440, 30, 25, 19)) self.btnSymbolsetPath.setObjectName(_fromUtf8("btnSymbolsetPath")) self.groupFontsetPath = QtGui.QGroupBox(self.tab0) self.groupFontsetPath.setEnabled(False) self.groupFontsetPath.setGeometry(QtCore.QRect(10, 240, 471, 61)) self.groupFontsetPath.setObjectName(_fromUtf8("groupFontsetPath")) self.txtFontsetPath = QtGui.QLineEdit(self.groupFontsetPath) self.txtFontsetPath.setGeometry(QtCore.QRect(10, 30, 421, 20)) self.txtFontsetPath.setText(_fromUtf8("")) self.txtFontsetPath.setObjectName(_fromUtf8("txtFontsetPath")) self.btnFontsetPath = QtGui.QToolButton(self.groupFontsetPath) self.btnFontsetPath.setGeometry(QtCore.QRect(440, 30, 25, 19)) self.btnFontsetPath.setObjectName(_fromUtf8("btnFontsetPath")) self.tabWidget.addTab(self.tab0, _fromUtf8("")) self.tab1 = QtGui.QWidget() self.tab1.setObjectName(_fromUtf8("tab1")) self.txt_mapfile_general = QtGui.QPlainTextEdit(self.tab1) self.txt_mapfile_general.setGeometry(QtCore.QRect(10, 10, 471, 331)) self.txt_mapfile_general.setObjectName( _fromUtf8("txt_mapfile_general")) self.tabWidget.addTab(self.tab1, _fromUtf8("")) self.tab2 = QtGui.QWidget() self.tab2.setObjectName(_fromUtf8("tab2")) self.cb_layers = QtGui.QComboBox(self.tab2) self.cb_layers.setGeometry(QtCore.QRect(170, 20, 301, 22)) self.cb_layers.setObjectName(_fromUtf8("cb_layers")) self.label = QtGui.QLabel(self.tab2) self.label.setGeometry(QtCore.QRect(20, 20, 131, 16)) self.label.setObjectName(_fromUtf8("label")) self.label_2 = QtGui.QLabel(self.tab2) self.label_2.setGeometry(QtCore.QRect(20, 80, 46, 13)) self.label_2.setObjectName(_fromUtf8("label_2")) self.label_3 = QtGui.QLabel(self.tab2) self.label_3.setGeometry(QtCore.QRect(20, 110, 46, 13)) self.label_3.setObjectName(_fromUtf8("label_3")) self.title_ = QtGui.QLineEdit(self.tab2) self.title_.setGeometry(QtCore.QRect(170, 80, 301, 20)) self.title_.setObjectName(_fromUtf8("title_")) self.category_ = QtGui.QLineEdit(self.tab2) self.category_.setGeometry(QtCore.QRect(170, 110, 301, 20)) self.category_.setObjectName(_fromUtf8("category_")) self.result_fields = QtGui.QLineEdit(self.tab2) self.result_fields.setEnabled(False) self.result_fields.setGeometry(QtCore.QRect(30, 240, 441, 20)) self.result_fields.setObjectName(_fromUtf8("result_fields")) self.visible_ = QtGui.QCheckBox(self.tab2) self.visible_.setGeometry(QtCore.QRect(20, 50, 70, 17)) self.visible_.setChecked(True) self.visible_.setObjectName(_fromUtf8("visible_")) self.querylable_ = QtGui.QGroupBox(self.tab2) self.querylable_.setGeometry(QtCore.QRect(20, 150, 461, 56)) self.querylable_.setCheckable(True) self.querylable_.setObjectName(_fromUtf8("querylable_")) self.tolerance_ = QgsDoubleSpinBox(self.querylable_) self.tolerance_.setGeometry(QtCore.QRect(308, 23, 141, 23)) self.tolerance_.setDecimals(4) self.tolerance_.setSingleStep(0.001) self.tolerance_.setProperty("value", 0.001) self.tolerance_.setObjectName(_fromUtf8("tolerance_")) self.label_7 = QtGui.QLabel(self.querylable_) self.label_7.setGeometry(QtCore.QRect(30, 20, 91, 16)) self.label_7.setObjectName(_fromUtf8("label_7")) self.tolerance_unit = QtGui.QComboBox(self.querylable_) self.tolerance_unit.setGeometry(QtCore.QRect(147, 24, 141, 20)) self.tolerance_unit.setObjectName(_fromUtf8("tolerance_unit")) self.label_8 = QtGui.QLabel(self.tab2) self.label_8.setEnabled(False) self.label_8.setGeometry(QtCore.QRect(30, 220, 151, 16)) self.label_8.setObjectName(_fromUtf8("label_8")) self.result_headers = QtGui.QLineEdit(self.tab2) self.result_headers.setEnabled(False) self.result_headers.setGeometry(QtCore.QRect(30, 290, 441, 20)) self.result_headers.setObjectName(_fromUtf8("result_headers")) self.label_9 = QtGui.QLabel(self.tab2) self.label_9.setEnabled(False) self.label_9.setGeometry(QtCore.QRect(30, 270, 161, 16)) self.label_9.setObjectName(_fromUtf8("label_9")) self.result_hyperlink = QtGui.QLineEdit(self.tab2) self.result_hyperlink.setEnabled(False) self.result_hyperlink.setGeometry(QtCore.QRect(30, 340, 441, 20)) self.result_hyperlink.setObjectName(_fromUtf8("result_hyperlink")) self.label_10 = QtGui.QLabel(self.tab2) self.label_10.setEnabled(False) self.label_10.setGeometry(QtCore.QRect(30, 320, 161, 16)) self.label_10.setObjectName(_fromUtf8("label_10")) self.tabWidget.addTab(self.tab2, _fromUtf8("")) self.tab3 = QtGui.QWidget() self.tab3.setObjectName(_fromUtf8("tab3")) self.listWidget = QtGui.QListWidget(self.tab3) self.listWidget.setGeometry(QtCore.QRect(30, 30, 161, 271)) self.listWidget.setObjectName(_fromUtf8("listWidget")) item = QtGui.QListWidgetItem() self.listWidget.addItem(item) self.listWidget_2 = QtGui.QListWidget(self.tab3) self.listWidget_2.setGeometry(QtCore.QRect(310, 30, 161, 271)) self.listWidget_2.setObjectName(_fromUtf8("listWidget_2")) self.pushButton = QtGui.QPushButton(self.tab3) self.pushButton.setGeometry(QtCore.QRect(210, 110, 75, 23)) self.pushButton.setObjectName(_fromUtf8("pushButton")) self.tabWidget.addTab(self.tab3, _fromUtf8("")) self.groupBox = QtGui.QGroupBox(QgsMapfileExportDialogBase) self.groupBox.setGeometry(QtCore.QRect(-1, -10, 161, 511)) self.groupBox.setStyleSheet( _fromUtf8("background-color: rgb(76, 76, 76);")) self.groupBox.setTitle(_fromUtf8("")) self.groupBox.setFlat(True) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.tableWidget = QtGui.QTableWidget(self.groupBox) self.tableWidget.setGeometry(QtCore.QRect(0, 10, 161, 141)) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.tableWidget.setFont(font) self.tableWidget.setStyleSheet( _fromUtf8("color: rgb(227, 227, 227);\n" "background-color: rgb(76, 76, 76);\n" "selection-background-color: rgb(207, 207, 207);\n" "selection-color: rgb(50, 50, 50);\n" "")) self.tableWidget.setFrameShape(QtGui.QFrame.Box) self.tableWidget.setLineWidth(0) self.tableWidget.setAutoScroll(False) self.tableWidget.setEditTriggers( QtGui.QAbstractItemView.NoEditTriggers) self.tableWidget.setSelectionMode( QtGui.QAbstractItemView.SingleSelection) self.tableWidget.setShowGrid(False) self.tableWidget.setGridStyle(QtCore.Qt.NoPen) self.tableWidget.setRowCount(4) self.tableWidget.setObjectName(_fromUtf8("tableWidget")) self.tableWidget.setColumnCount(1) item = QtGui.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(2, item) item = QtGui.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(3, item) item = QtGui.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(0, 0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(1, 0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(2, 0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(3, 0, item) self.tableWidget.horizontalHeader().setVisible(False) self.tableWidget.horizontalHeader().setStretchLastSection(True) self.tableWidget.verticalHeader().setVisible(False) self.tableWidget.verticalHeader().setDefaultSectionSize(34) self.tableWidget.verticalHeader().setMinimumSectionSize(34) self.tableWidget.verticalHeader().setStretchLastSection(True) self.button_box = QtGui.QDialogButtonBox(QgsMapfileExportDialogBase) self.button_box.setGeometry(QtCore.QRect(440, 420, 231, 32)) self.button_box.setOrientation(QtCore.Qt.Horizontal) self.button_box.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.button_box.setObjectName(_fromUtf8("button_box")) self.lblMapFilePath.setBuddy(self.txtMapFilePath) self.label_5.setBuddy(QgsMapfileExportDialogBase.txtMapfilePath) self.retranslateUi(QgsMapfileExportDialogBase) self.tabWidget.setCurrentIndex(3) QtCore.QObject.connect(self.button_box, QtCore.SIGNAL(_fromUtf8("accepted()")), QgsMapfileExportDialogBase.accept) QtCore.QObject.connect(self.button_box, QtCore.SIGNAL(_fromUtf8("rejected()")), QgsMapfileExportDialogBase.reject) QtCore.QObject.connect( self.tableWidget, QtCore.SIGNAL(_fromUtf8("cellClicked(int,int)")), self.tabWidget.setCurrentIndex) QtCore.QMetaObject.connectSlotsByName(QgsMapfileExportDialogBase) def retranslateUi(self, QgsMapfileExportDialogBase): QgsMapfileExportDialogBase.setWindowTitle( _translate("QgsMapfileExportDialogBase", "Exportar capa de un archivo Mapfile", None)) self.lblMapFilePath.setText( _translate( "QgsMapfileExportDialogBase", "Archivo mapfile con definición de una o varias capas (*.map, *.lay)", None)) self.txtMapFilePath.setToolTip( _translate( "QgsMapfileExportDialogBase", "Nombre del archivo MAPFILE con definición de al menos un LAYER", None)) self.btnChooseFile.setText( _translate("QgsMapfileExportDialogBase", "...", None)) self.check_include.setText( _translate("QgsMapfileExportDialogBase", "Archivo contiene directiva INCLUDE", None)) self.groupShapePath.setTitle( _translate( "QgsMapfileExportDialogBase", "Carpeta que contiene archivos shapefiles, imágenes raster, etc (SHAPEPATH)", None)) self.label_4.setText( _translate( "QgsMapfileExportDialogBase", "(Requerido si las capas tienen configurado DATA con rutas relativas)", None)) self.btnShapePath.setText( _translate("QgsMapfileExportDialogBase", "...", None)) self.txtShapePath.setToolTip( _translate( "QgsMapfileExportDialogBase", "Nombre de la ruta a la carpeta que se alojan archivos shapefiles, etc. (SHAPEPATH)", None)) self.groupIconsetPath.setTitle( _translate("QgsMapfileExportDialogBase", "Carpeta que contine iconos, svg, png, etc (ICONSET)", None)) self.txtIconsetPath.setToolTip( _translate( "QgsMapfileExportDialogBase", "Especificar el directorio donde se guardan los iconos (Opcional)", None)) self.btnIconsetPath.setText( _translate("QgsMapfileExportDialogBase", "...", None)) self.groupSymbolsetPath.setTitle( _translate( "QgsMapfileExportDialogBase", "Ruta al archivo con definición de símbolos (SYMBOLSET)", None)) self.txtSymbolsetPath.setToolTip( _translate( "QgsMapfileExportDialogBase", "Especificar la ruta al archivo SYMBOLSET (No se recomienda que se encuentre dentro del mapfile) (Requerido)", None)) self.btnSymbolsetPath.setText( _translate("QgsMapfileExportDialogBase", "...", None)) self.groupFontsetPath.setTitle( _translate("QgsMapfileExportDialogBase", "Ruta al archivo con fuentes (FONTSET)", None)) self.txtFontsetPath.setToolTip( _translate( "QgsMapfileExportDialogBase", "Especificar la ruta al archivo FONTSET (requerido para etiquetas y marcadores por fuentes)", None)) self.btnFontsetPath.setText( _translate("QgsMapfileExportDialogBase", "...", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tab0), _translate("QgsMapfileExportDialogBase", "General", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tab1), _translate("QgsMapfileExportDialogBase", "Previsualización General", None)) self.label.setText( _translate("QgsMapfileExportDialogBase", "Propiedades de la capa:", None)) self.label_2.setText( _translate("QgsMapfileExportDialogBase", "Título:", None)) self.label_3.setText( _translate("QgsMapfileExportDialogBase", "Categoría", None)) self.visible_.setText( _translate("QgsMapfileExportDialogBase", "Visible", None)) self.querylable_.setTitle( _translate("QgsMapfileExportDialogBase", "Consultable", None)) self.label_7.setText( _translate("QgsMapfileExportDialogBase", "Tolerancia", None)) self.label_8.setText( _translate("QgsMapfileExportDialogBase", "Campos a mostrar en consultas", None)) self.label_9.setText( _translate("QgsMapfileExportDialogBase", "Títulos de los campos a mostrar", None)) self.label_10.setText( _translate("QgsMapfileExportDialogBase", "Campo con enlace", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tab2), _translate("QgsMapfileExportDialogBase", "Capas", None)) __sortingEnabled = self.listWidget.isSortingEnabled() self.listWidget.setSortingEnabled(False) item = self.listWidget.item(0) item.setText(_translate("QgsMapfileExportDialogBase", "New Item", None)) self.listWidget.setSortingEnabled(__sortingEnabled) self.pushButton.setText( _translate("QgsMapfileExportDialogBase", ">>", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tab3), _translate("QgsMapfileExportDialogBase", "Previsualización Capa", None)) item = self.tableWidget.verticalHeaderItem(0) item.setText(_translate("QgsMapfileExportDialogBase", "0", None)) item = self.tableWidget.verticalHeaderItem(1) item.setText(_translate("QgsMapfileExportDialogBase", "1", None)) item = self.tableWidget.verticalHeaderItem(2) item.setText(_translate("QgsMapfileExportDialogBase", "2", None)) item = self.tableWidget.verticalHeaderItem(3) item.setText(_translate("QgsMapfileExportDialogBase", "3", None)) item = self.tableWidget.horizontalHeaderItem(0) item.setText(_translate("QgsMapfileExportDialogBase", "menu", None)) __sortingEnabled = self.tableWidget.isSortingEnabled() self.tableWidget.setSortingEnabled(False) item = self.tableWidget.item(0, 0) item.setText(_translate("QgsMapfileExportDialogBase", "General", None)) item = self.tableWidget.item(1, 0) item.setText( _translate("QgsMapfileExportDialogBase", "Previsualización General", None)) item = self.tableWidget.item(2, 0) item.setText(_translate("QgsMapfileExportDialogBase", "Capas", None)) item = self.tableWidget.item(3, 0) item.setText( _translate("QgsMapfileExportDialogBase", "Previsualización Capa", None)) self.tableWidget.setSortingEnabled(__sortingEnabled)