def setupUi(self, QgsTextAnnotationDialogBase): QgsTextAnnotationDialogBase.setObjectName(_fromUtf8("QgsTextAnnotationDialogBase")) QgsTextAnnotationDialogBase.resize(517, 364) self.gridLayout = QtGui.QGridLayout(QgsTextAnnotationDialogBase) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.mFontComboBox = QtGui.QFontComboBox(QgsTextAnnotationDialogBase) self.mFontComboBox.setObjectName(_fromUtf8("mFontComboBox")) self.horizontalLayout.addWidget(self.mFontComboBox) spacerItem = QtGui.QSpacerItem(38, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.mFontSizeSpinBox = QtGui.QSpinBox(QgsTextAnnotationDialogBase) self.mFontSizeSpinBox.setObjectName(_fromUtf8("mFontSizeSpinBox")) self.horizontalLayout.addWidget(self.mFontSizeSpinBox) self.mBoldPushButton = QtGui.QPushButton(QgsTextAnnotationDialogBase) self.mBoldPushButton.setMinimumSize(QtCore.QSize(50, 0)) self.mBoldPushButton.setCheckable(True) self.mBoldPushButton.setObjectName(_fromUtf8("mBoldPushButton")) self.horizontalLayout.addWidget(self.mBoldPushButton) self.mItalicsPushButton = QtGui.QPushButton(QgsTextAnnotationDialogBase) self.mItalicsPushButton.setMinimumSize(QtCore.QSize(50, 0)) self.mItalicsPushButton.setCheckable(True) self.mItalicsPushButton.setObjectName(_fromUtf8("mItalicsPushButton")) self.horizontalLayout.addWidget(self.mItalicsPushButton) self.mFontColorButton = QgsColorButton(QgsTextAnnotationDialogBase) self.mFontColorButton.setText(_fromUtf8("")) self.mFontColorButton.setAutoDefault(False) self.mFontColorButton.setObjectName(_fromUtf8("mFontColorButton")) self.horizontalLayout.addWidget(self.mFontColorButton) self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1) self.mButtonBox = QtGui.QDialogButtonBox(QgsTextAnnotationDialogBase) self.mButtonBox.setOrientation(QtCore.Qt.Horizontal) self.mButtonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok) self.mButtonBox.setObjectName(_fromUtf8("mButtonBox")) self.gridLayout.addWidget(self.mButtonBox, 3, 0, 1, 1) self.mTextEdit = QtGui.QTextEdit(QgsTextAnnotationDialogBase) self.mTextEdit.setObjectName(_fromUtf8("mTextEdit")) self.gridLayout.addWidget(self.mTextEdit, 1, 0, 1, 1) self.mStackedWidget = QtGui.QStackedWidget(QgsTextAnnotationDialogBase) self.mStackedWidget.setObjectName(_fromUtf8("mStackedWidget")) self.page = QtGui.QWidget() self.page.setObjectName(_fromUtf8("page")) self.mStackedWidget.addWidget(self.page) self.page_2 = QtGui.QWidget() self.page_2.setObjectName(_fromUtf8("page_2")) self.mStackedWidget.addWidget(self.page_2) self.gridLayout.addWidget(self.mStackedWidget, 2, 0, 1, 1) self.retranslateUi(QgsTextAnnotationDialogBase) self.mStackedWidget.setCurrentIndex(0) QtCore.QObject.connect(self.mButtonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), QgsTextAnnotationDialogBase.accept) QtCore.QObject.connect(self.mButtonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), QgsTextAnnotationDialogBase.reject) QtCore.QMetaObject.connectSlotsByName(QgsTextAnnotationDialogBase) QgsTextAnnotationDialogBase.setTabOrder(self.mFontComboBox, self.mFontSizeSpinBox) QgsTextAnnotationDialogBase.setTabOrder(self.mFontSizeSpinBox, self.mBoldPushButton) QgsTextAnnotationDialogBase.setTabOrder(self.mBoldPushButton, self.mItalicsPushButton) QgsTextAnnotationDialogBase.setTabOrder(self.mItalicsPushButton, self.mFontColorButton) QgsTextAnnotationDialogBase.setTabOrder(self.mFontColorButton, self.mTextEdit) QgsTextAnnotationDialogBase.setTabOrder(self.mTextEdit, self.mButtonBox)
def setupUi(self, textPropertiesDialog): textPropertiesDialog.setObjectName("textPropertiesDialog") textPropertiesDialog.resize(444, 127) self.verticalLayout = QtWidgets.QVBoxLayout(textPropertiesDialog) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 0, 2, 1, 1) self.fntButton = QgsFontButton(textPropertiesDialog) self.fntButton.setMinimumSize(QtCore.QSize(0, 21)) self.fntButton.setMode(QgsFontButton.ModeQFont) self.fntButton.setObjectName("fntButton") self.gridLayout.addWidget(self.fntButton, 0, 1, 1, 1) self.backgroundColor = QgsColorButton(textPropertiesDialog) self.backgroundColor.setColor(QtGui.QColor(255, 255, 255)) self.backgroundColor.setDefaultColor(QtGui.QColor(255, 255, 255)) self.backgroundColor.setObjectName("backgroundColor") self.gridLayout.addWidget(self.backgroundColor, 1, 3, 1, 1) self.fntColor = QgsColorButton(textPropertiesDialog) self.fntColor.setMinimumSize(QtCore.QSize(24, 21)) self.fntColor.setColor(QtGui.QColor(0, 0, 0)) self.fntColor.setDefaultColor(QtGui.QColor(0, 0, 0)) self.fntColor.setObjectName("fntColor") self.gridLayout.addWidget(self.fntColor, 0, 3, 1, 1) self.cbBackground = QtWidgets.QCheckBox(textPropertiesDialog) self.cbBackground.setChecked(True) self.cbBackground.setObjectName("cbBackground") self.gridLayout.addWidget(self.cbBackground, 1, 0, 1, 3) self.label = QtWidgets.QLabel(textPropertiesDialog) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 1) self.cbFrame = QtWidgets.QCheckBox(textPropertiesDialog) self.cbFrame.setObjectName("cbFrame") self.gridLayout.addWidget(self.cbFrame, 2, 0, 1, 3) self.frameColor = QgsColorButton(textPropertiesDialog) self.frameColor.setMinimumSize(QtCore.QSize(24, 16)) self.frameColor.setColor(QtGui.QColor(0, 0, 0)) self.frameColor.setDefaultColor(QtGui.QColor(0, 0, 0)) self.frameColor.setObjectName("frameColor") self.gridLayout.addWidget(self.frameColor, 2, 3, 1, 1) self.verticalLayout.addLayout(self.gridLayout) self.buttonBox = QtWidgets.QDialogButtonBox(textPropertiesDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.verticalLayout.addWidget(self.buttonBox) self.retranslateUi(textPropertiesDialog) self.buttonBox.accepted.connect(textPropertiesDialog.accept) self.buttonBox.rejected.connect(textPropertiesDialog.reject) QtCore.QMetaObject.connectSlotsByName(textPropertiesDialog)
def setupUi(self, QgsAnnotationWidgetBase): QgsAnnotationWidgetBase.setObjectName( _fromUtf8("QgsAnnotationWidgetBase")) QgsAnnotationWidgetBase.resize(221, 172) self.gridLayout_2 = QtGui.QGridLayout(QgsAnnotationWidgetBase) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.mMapPositionFixedCheckBox = QtGui.QCheckBox( QgsAnnotationWidgetBase) self.mMapPositionFixedCheckBox.setObjectName( _fromUtf8("mMapPositionFixedCheckBox")) self.gridLayout_2.addWidget(self.mMapPositionFixedCheckBox, 0, 0, 1, 1) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.mFrameColorButton = QgsColorButton(QgsAnnotationWidgetBase) self.mFrameColorButton.setText(_fromUtf8("")) self.mFrameColorButton.setObjectName(_fromUtf8("mFrameColorButton")) self.gridLayout.addWidget(self.mFrameColorButton, 3, 1, 1, 1) self.mBackgroundColorLabel = QtGui.QLabel(QgsAnnotationWidgetBase) self.mBackgroundColorLabel.setObjectName( _fromUtf8("mBackgroundColorLabel")) self.gridLayout.addWidget(self.mBackgroundColorLabel, 2, 0, 1, 1) self.mMapMarkerLabel = QtGui.QLabel(QgsAnnotationWidgetBase) self.mMapMarkerLabel.setObjectName(_fromUtf8("mMapMarkerLabel")) self.gridLayout.addWidget(self.mMapMarkerLabel, 0, 0, 1, 1) self.mBackgroundColorButton = QgsColorButton(QgsAnnotationWidgetBase) self.mBackgroundColorButton.setText(_fromUtf8("")) self.mBackgroundColorButton.setObjectName( _fromUtf8("mBackgroundColorButton")) self.gridLayout.addWidget(self.mBackgroundColorButton, 2, 1, 1, 1) self.mMapMarkerButton = QtGui.QPushButton(QgsAnnotationWidgetBase) self.mMapMarkerButton.setText(_fromUtf8("")) self.mMapMarkerButton.setObjectName(_fromUtf8("mMapMarkerButton")) self.gridLayout.addWidget(self.mMapMarkerButton, 0, 1, 1, 1) self.mFrameWidthLabel = QtGui.QLabel(QgsAnnotationWidgetBase) self.mFrameWidthLabel.setObjectName(_fromUtf8("mFrameWidthLabel")) self.gridLayout.addWidget(self.mFrameWidthLabel, 1, 0, 1, 1) self.mFrameWidthSpinBox = QtGui.QDoubleSpinBox(QgsAnnotationWidgetBase) self.mFrameWidthSpinBox.setObjectName(_fromUtf8("mFrameWidthSpinBox")) self.gridLayout.addWidget(self.mFrameWidthSpinBox, 1, 1, 1, 1) self.mFrameColorLabel = QtGui.QLabel(QgsAnnotationWidgetBase) self.mFrameColorLabel.setObjectName(_fromUtf8("mFrameColorLabel")) self.gridLayout.addWidget(self.mFrameColorLabel, 3, 0, 1, 1) self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 1) self.mMapMarkerLabel.setBuddy(self.mMapMarkerButton) self.mFrameWidthLabel.setBuddy(self.mFrameWidthSpinBox) self.retranslateUi(QgsAnnotationWidgetBase) QtCore.QMetaObject.connectSlotsByName(QgsAnnotationWidgetBase)
def setupUi(self, textPropertiesDialog): textPropertiesDialog.setObjectName("textPropertiesDialog") textPropertiesDialog.resize(444, 127) self.verticalLayout = QtWidgets.QVBoxLayout(textPropertiesDialog) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 0, 2, 1, 1) self.fntButton = QgsFontButton(textPropertiesDialog) self.fntButton.setMinimumSize(QtCore.QSize(0, 21)) self.fntButton.setMode(QgsFontButton.ModeQFont) self.fntButton.setObjectName("fntButton") self.gridLayout.addWidget(self.fntButton, 0, 1, 1, 1) self.backgroundColor = QgsColorButton(textPropertiesDialog) self.backgroundColor.setColor(QtGui.QColor(255, 255, 255)) self.backgroundColor.setDefaultColor(QtGui.QColor(255, 255, 255)) self.backgroundColor.setObjectName("backgroundColor") self.gridLayout.addWidget(self.backgroundColor, 1, 3, 1, 1) self.fntColor = QgsColorButton(textPropertiesDialog) self.fntColor.setMinimumSize(QtCore.QSize(24, 21)) self.fntColor.setColor(QtGui.QColor(0, 0, 0)) self.fntColor.setDefaultColor(QtGui.QColor(0, 0, 0)) self.fntColor.setObjectName("fntColor") self.gridLayout.addWidget(self.fntColor, 0, 3, 1, 1) self.cbBackground = QtWidgets.QCheckBox(textPropertiesDialog) self.cbBackground.setChecked(True) self.cbBackground.setObjectName("cbBackground") self.gridLayout.addWidget(self.cbBackground, 1, 0, 1, 3) self.label = QtWidgets.QLabel(textPropertiesDialog) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 1) self.cbFrame = QtWidgets.QCheckBox(textPropertiesDialog) self.cbFrame.setChecked(True) self.cbFrame.setObjectName("cbFrame") self.gridLayout.addWidget(self.cbFrame, 2, 0, 1, 3) self.frameColor = QgsColorButton(textPropertiesDialog) self.frameColor.setMinimumSize(QtCore.QSize(24, 16)) self.frameColor.setColor(QtGui.QColor(0, 0, 0)) self.frameColor.setDefaultColor(QtGui.QColor(0, 0, 0)) self.frameColor.setObjectName("frameColor") self.gridLayout.addWidget(self.frameColor, 2, 3, 1, 1) self.verticalLayout.addLayout(self.gridLayout) self.buttonBox = QtWidgets.QDialogButtonBox(textPropertiesDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.verticalLayout.addWidget(self.buttonBox) self.retranslateUi(textPropertiesDialog) self.buttonBox.accepted.connect(textPropertiesDialog.accept) self.buttonBox.rejected.connect(textPropertiesDialog.reject) QtCore.QMetaObject.connectSlotsByName(textPropertiesDialog)
def setupUi(self, MapDialog): MapDialog.setObjectName("MapDialog") MapDialog.resize(652, 545) self.verticalLayout = QtWidgets.QVBoxLayout(MapDialog) self.verticalLayout.setObjectName("verticalLayout") self.tabWidget = QtWidgets.QTabWidget(MapDialog) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.tab) self.verticalLayout_6.setObjectName("verticalLayout_6") self.radLayoutDefault = QtWidgets.QRadioButton(self.tab) self.radLayoutDefault.setChecked(True) self.radLayoutDefault.setObjectName("radLayoutDefault") self.buttonGroup = QtWidgets.QButtonGroup(MapDialog) self.buttonGroup.setObjectName("buttonGroup") self.buttonGroup.addButton(self.radLayoutDefault) self.verticalLayout_6.addWidget(self.radLayoutDefault) self.scrollArea = QtWidgets.QScrollArea(self.tab) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, -1222, 591, 1635)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.gridLayout_12 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents) self.gridLayout_12.setObjectName("gridLayout_12") self.groupScaleBar = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupScaleBar.setCheckable(True) self.groupScaleBar.setChecked(False) self.groupScaleBar.setObjectName("groupScaleBar") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupScaleBar) self.verticalLayout_5.setObjectName("verticalLayout_5") self.gridLayout_8 = QtWidgets.QGridLayout() self.gridLayout_8.setObjectName("gridLayout_8") self.cbScaleBarFrame = QtWidgets.QCheckBox(self.groupScaleBar) self.cbScaleBarFrame.setObjectName("cbScaleBarFrame") self.gridLayout_8.addWidget(self.cbScaleBarFrame, 2, 0, 1, 3) self.cboPosScaleBar = QtWidgets.QComboBox(self.groupScaleBar) self.cboPosScaleBar.setObjectName("cboPosScaleBar") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.gridLayout_8.addWidget(self.cboPosScaleBar, 3, 1, 1, 1) self.cbScaleBarBackground = QtWidgets.QCheckBox(self.groupScaleBar) self.cbScaleBarBackground.setObjectName("cbScaleBarBackground") self.gridLayout_8.addWidget(self.cbScaleBarBackground, 1, 0, 1, 3) self.colorScaleBarBackground = QgsColorButton(self.groupScaleBar) self.colorScaleBarBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorScaleBarBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorScaleBarBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorScaleBarBackground.setObjectName("colorScaleBarBackground") self.gridLayout_8.addWidget(self.colorScaleBarBackground, 1, 3, 1, 1) self.label_24 = QtWidgets.QLabel(self.groupScaleBar) self.label_24.setObjectName("label_24") self.gridLayout_8.addWidget(self.label_24, 3, 0, 1, 1) self.colorScaleBarFrame = QgsColorButton(self.groupScaleBar) self.colorScaleBarFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorScaleBarFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarFrame.setObjectName("colorScaleBarFrame") self.gridLayout_8.addWidget(self.colorScaleBarFrame, 2, 3, 1, 1) self.label_8 = QtWidgets.QLabel(self.groupScaleBar) self.label_8.setObjectName("label_8") self.gridLayout_8.addWidget(self.label_8, 0, 0, 1, 1) self.fbtnScaleBar = QgsFontButton(self.groupScaleBar) self.fbtnScaleBar.setMinimumSize(QtCore.QSize(0, 21)) self.fbtnScaleBar.setMode(QgsFontButton.ModeQFont) self.fbtnScaleBar.setObjectName("fbtnScaleBar") self.gridLayout_8.addWidget(self.fbtnScaleBar, 0, 1, 1, 1) self.colorScaleBarText = QgsColorButton(self.groupScaleBar) self.colorScaleBarText.setMinimumSize(QtCore.QSize(24, 21)) self.colorScaleBarText.setColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarText.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarText.setObjectName("colorScaleBarText") self.gridLayout_8.addWidget(self.colorScaleBarText, 0, 3, 1, 1) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_8.addItem(spacerItem, 0, 2, 1, 1) self.verticalLayout_5.addLayout(self.gridLayout_8) self.gridLayout_12.addWidget(self.groupScaleBar, 2, 1, 1, 1) self.groupNorthArrow = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupNorthArrow.setCheckable(True) self.groupNorthArrow.setChecked(False) self.groupNorthArrow.setObjectName("groupNorthArrow") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupNorthArrow) self.verticalLayout_7.setObjectName("verticalLayout_7") self.gridLayout_9 = QtWidgets.QGridLayout() self.gridLayout_9.setObjectName("gridLayout_9") self.cbNorthArrowBackground = QtWidgets.QCheckBox(self.groupNorthArrow) self.cbNorthArrowBackground.setObjectName("cbNorthArrowBackground") self.gridLayout_9.addWidget(self.cbNorthArrowBackground, 0, 0, 1, 3) self.label_25 = QtWidgets.QLabel(self.groupNorthArrow) self.label_25.setObjectName("label_25") self.gridLayout_9.addWidget(self.label_25, 2, 0, 1, 1) self.colorNorthArrowBackground = QgsColorButton(self.groupNorthArrow) self.colorNorthArrowBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorNorthArrowBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorNorthArrowBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorNorthArrowBackground.setObjectName("colorNorthArrowBackground") self.gridLayout_9.addWidget(self.colorNorthArrowBackground, 0, 3, 1, 1) self.cboPosNorthArrow = QtWidgets.QComboBox(self.groupNorthArrow) self.cboPosNorthArrow.setObjectName("cboPosNorthArrow") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.gridLayout_9.addWidget(self.cboPosNorthArrow, 2, 1, 1, 1) self.cbNorthArrowFrame = QtWidgets.QCheckBox(self.groupNorthArrow) self.cbNorthArrowFrame.setObjectName("cbNorthArrowFrame") self.gridLayout_9.addWidget(self.cbNorthArrowFrame, 1, 0, 1, 3) self.colorNorthArrowFrame = QgsColorButton(self.groupNorthArrow) self.colorNorthArrowFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorNorthArrowFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorNorthArrowFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorNorthArrowFrame.setObjectName("colorNorthArrowFrame") self.gridLayout_9.addWidget(self.colorNorthArrowFrame, 1, 3, 1, 1) self.verticalLayout_7.addLayout(self.gridLayout_9) self.gridLayout_12.addWidget(self.groupNorthArrow, 3, 1, 1, 1) self.groupLegend = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupLegend.setCheckable(True) self.groupLegend.setChecked(False) self.groupLegend.setObjectName("groupLegend") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupLegend) self.verticalLayout_3.setObjectName("verticalLayout_3") self.gridLayout_7 = QtWidgets.QGridLayout() self.gridLayout_7.setObjectName("gridLayout_7") self.label_22 = QtWidgets.QLabel(self.groupLegend) self.label_22.setObjectName("label_22") self.gridLayout_7.addWidget(self.label_22, 4, 0, 1, 1) self.colorLegendText = QgsColorButton(self.groupLegend) self.colorLegendText.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendText.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendText.setObjectName("colorLegendText") self.gridLayout_7.addWidget(self.colorLegendText, 1, 3, 1, 1) self.cboPosLegend = QtWidgets.QComboBox(self.groupLegend) self.cboPosLegend.setObjectName("cboPosLegend") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.gridLayout_7.addWidget(self.cboPosLegend, 4, 1, 1, 1) self.label_20 = QtWidgets.QLabel(self.groupLegend) self.label_20.setObjectName("label_20") self.gridLayout_7.addWidget(self.label_20, 0, 0, 1, 1) self.colorLegendBackground = QgsColorButton(self.groupLegend) self.colorLegendBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setObjectName("colorLegendBackground") self.gridLayout_7.addWidget(self.colorLegendBackground, 2, 3, 1, 1) self.label_21 = QtWidgets.QLabel(self.groupLegend) self.label_21.setObjectName("label_21") self.gridLayout_7.addWidget(self.label_21, 1, 0, 1, 1) self.cbLegendBackground = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendBackground.setObjectName("cbLegendBackground") self.gridLayout_7.addWidget(self.cbLegendBackground, 2, 0, 1, 3) self.labelLegend = QtWidgets.QLineEdit(self.groupLegend) self.labelLegend.setObjectName("labelLegend") self.gridLayout_7.addWidget(self.labelLegend, 0, 1, 1, 3) self.fbtnLegend = QgsFontButton(self.groupLegend) self.fbtnLegend.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnLegend.setFont(font) self.fbtnLegend.setMode(QgsFontButton.ModeQFont) self.fbtnLegend.setObjectName("fbtnLegend") self.gridLayout_7.addWidget(self.fbtnLegend, 1, 1, 1, 1) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_7.addItem(spacerItem1, 1, 2, 1, 1) self.cbLegendFrame = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendFrame.setObjectName("cbLegendFrame") self.gridLayout_7.addWidget(self.cbLegendFrame, 3, 0, 1, 3) self.colorLegendFrame = QgsColorButton(self.groupLegend) self.colorLegendFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setObjectName("colorLegendFrame") self.gridLayout_7.addWidget(self.colorLegendFrame, 3, 3, 1, 1) self.verticalLayout_3.addLayout(self.gridLayout_7) self.gridLayout_12.addWidget(self.groupLegend, 1, 1, 1, 1) self.groupPlot = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupPlot.setCheckable(True) self.groupPlot.setChecked(False) self.groupPlot.setCollapsed(False) self.groupPlot.setObjectName("groupPlot") self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.groupPlot) self.verticalLayout_10.setObjectName("verticalLayout_10") self.gridLayout_5 = QtWidgets.QGridLayout() self.gridLayout_5.setObjectName("gridLayout_5") self.btnPlotUp = QtWidgets.QToolButton(self.groupPlot) self.btnPlotUp.setObjectName("btnPlotUp") self.gridLayout_5.addWidget(self.btnPlotUp, 0, 2, 1, 1) self.label_28 = QtWidgets.QLabel(self.groupPlot) self.label_28.setObjectName("label_28") self.gridLayout_5.addWidget(self.label_28, 2, 0, 1, 6) self.tablePlots = PlotItemsTable(self.groupPlot) self.tablePlots.setMinimumSize(QtCore.QSize(0, 150)) self.tablePlots.setEditTriggers(QtWidgets.QAbstractItemView.AllEditTriggers) self.tablePlots.setWordWrap(False) self.tablePlots.setObjectName("tablePlots") self.tablePlots.setColumnCount(4) self.tablePlots.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(3, item) self.tablePlots.horizontalHeader().setVisible(True) self.tablePlots.horizontalHeader().setCascadingSectionResizes(False) self.tablePlots.horizontalHeader().setDefaultSectionSize(110) self.tablePlots.horizontalHeader().setMinimumSectionSize(80) self.tablePlots.horizontalHeader().setStretchLastSection(True) self.tablePlots.verticalHeader().setDefaultSectionSize(20) self.tablePlots.verticalHeader().setMinimumSectionSize(20) self.gridLayout_5.addWidget(self.tablePlots, 1, 0, 1, 6) self.tableGraphics = GraphicItemsTable(self.groupPlot) self.tableGraphics.setMinimumSize(QtCore.QSize(0, 150)) self.tableGraphics.setEditTriggers(QtWidgets.QAbstractItemView.AllEditTriggers) self.tableGraphics.setWordWrap(False) self.tableGraphics.setObjectName("tableGraphics") self.tableGraphics.setColumnCount(4) self.tableGraphics.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(3, item) self.tableGraphics.horizontalHeader().setVisible(True) self.tableGraphics.horizontalHeader().setDefaultSectionSize(110) self.tableGraphics.horizontalHeader().setStretchLastSection(True) self.tableGraphics.verticalHeader().setDefaultSectionSize(20) self.tableGraphics.verticalHeader().setMinimumSectionSize(20) self.gridLayout_5.addWidget(self.tableGraphics, 3, 0, 1, 6) self.btnRemovePlot = QtWidgets.QToolButton(self.groupPlot) self.btnRemovePlot.setObjectName("btnRemovePlot") self.gridLayout_5.addWidget(self.btnRemovePlot, 0, 1, 1, 1) self.btnAddPlot = QtWidgets.QToolButton(self.groupPlot) self.btnAddPlot.setObjectName("btnAddPlot") self.gridLayout_5.addWidget(self.btnAddPlot, 0, 0, 1, 1) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem2, 0, 5, 1, 1) self.btnPlotDown = QtWidgets.QToolButton(self.groupPlot) self.btnPlotDown.setObjectName("btnPlotDown") self.gridLayout_5.addWidget(self.btnPlotDown, 0, 3, 1, 1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.cbDynamicAxisLimits = QtWidgets.QCheckBox(self.groupPlot) self.cbDynamicAxisLimits.setObjectName("cbDynamicAxisLimits") self.horizontalLayout.addWidget(self.cbDynamicAxisLimits) self.gridLayout_5.addLayout(self.horizontalLayout, 0, 4, 1, 1) self.verticalLayout_10.addLayout(self.gridLayout_5) self.gridLayout_12.addWidget(self.groupPlot, 5, 1, 1, 1) self.groupLabel = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupLabel.setCheckable(True) self.groupLabel.setChecked(False) self.groupLabel.setObjectName("groupLabel") self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.groupLabel) self.verticalLayout_9.setObjectName("verticalLayout_9") self.gridLayout_10 = QtWidgets.QGridLayout() self.gridLayout_10.setObjectName("gridLayout_10") self.fbtnLabel = QgsFontButton(self.groupLabel) self.fbtnLabel.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnLabel.setFont(font) self.fbtnLabel.setMode(QgsFontButton.ModeQFont) self.fbtnLabel.setObjectName("fbtnLabel") self.gridLayout_10.addWidget(self.fbtnLabel, 1, 1, 1, 1) self.colorLabelBackground = QgsColorButton(self.groupLabel) self.colorLabelBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorLabelBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorLabelBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorLabelBackground.setObjectName("colorLabelBackground") self.gridLayout_10.addWidget(self.colorLabelBackground, 2, 3, 1, 1) self.label_26 = QtWidgets.QLabel(self.groupLabel) self.label_26.setObjectName("label_26") self.gridLayout_10.addWidget(self.label_26, 4, 0, 1, 1) self.cbLabelBackground = QtWidgets.QCheckBox(self.groupLabel) self.cbLabelBackground.setObjectName("cbLabelBackground") self.gridLayout_10.addWidget(self.cbLabelBackground, 2, 0, 1, 3) self.colorLabelText = QgsColorButton(self.groupLabel) self.colorLabelText.setMinimumSize(QtCore.QSize(24, 21)) self.colorLabelText.setColor(QtGui.QColor(0, 0, 0)) self.colorLabelText.setObjectName("colorLabelText") self.gridLayout_10.addWidget(self.colorLabelText, 1, 3, 1, 1) self.label_23 = QtWidgets.QLabel(self.groupLabel) self.label_23.setObjectName("label_23") self.gridLayout_10.addWidget(self.label_23, 0, 0, 1, 1) self.label_27 = QtWidgets.QLabel(self.groupLabel) self.label_27.setObjectName("label_27") self.gridLayout_10.addWidget(self.label_27, 1, 0, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_10.addItem(spacerItem3, 1, 2, 1, 1) self.labelInput = QtWidgets.QTextEdit(self.groupLabel) self.labelInput.setObjectName("labelInput") self.gridLayout_10.addWidget(self.labelInput, 0, 1, 1, 2) self.cboPosLabel = QtWidgets.QComboBox(self.groupLabel) self.cboPosLabel.setObjectName("cboPosLabel") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.gridLayout_10.addWidget(self.cboPosLabel, 4, 1, 1, 1) self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setObjectName("gridLayout_4") self.pbMapNo = QtWidgets.QPushButton(self.groupLabel) self.pbMapNo.setObjectName("pbMapNo") self.gridLayout_4.addWidget(self.pbMapNo, 0, 0, 1, 1) self.pbResultType = QtWidgets.QPushButton(self.groupLabel) self.pbResultType.setObjectName("pbResultType") self.gridLayout_4.addWidget(self.pbResultType, 2, 0, 1, 1) spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_4.addItem(spacerItem4, 5, 0, 1, 1) self.pbWorkspaceLoc = QtWidgets.QPushButton(self.groupLabel) self.pbWorkspaceLoc.setObjectName("pbWorkspaceLoc") self.gridLayout_4.addWidget(self.pbWorkspaceLoc, 4, 0, 1, 1) self.pbResultName = QtWidgets.QPushButton(self.groupLabel) self.pbResultName.setObjectName("pbResultName") self.gridLayout_4.addWidget(self.pbResultName, 1, 0, 1, 1) self.pbDate = QtWidgets.QPushButton(self.groupLabel) self.pbDate.setObjectName("pbDate") self.gridLayout_4.addWidget(self.pbDate, 3, 0, 1, 1) self.gridLayout_10.addLayout(self.gridLayout_4, 0, 3, 1, 1) self.cbLabelFrame = QtWidgets.QCheckBox(self.groupLabel) self.cbLabelFrame.setObjectName("cbLabelFrame") self.gridLayout_10.addWidget(self.cbLabelFrame, 3, 0, 1, 3) self.colorLabelFrame = QgsColorButton(self.groupLabel) self.colorLabelFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorLabelFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorLabelFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorLabelFrame.setObjectName("colorLabelFrame") self.gridLayout_10.addWidget(self.colorLabelFrame, 3, 3, 1, 1) self.verticalLayout_9.addLayout(self.gridLayout_10) self.gridLayout_12.addWidget(self.groupLabel, 4, 1, 1, 1) self.groupImages = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupImages.setCheckable(True) self.groupImages.setChecked(False) self.groupImages.setCollapsed(False) self.groupImages.setObjectName("groupImages") self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupImages) self.verticalLayout_8.setObjectName("verticalLayout_8") self.gridLayout_6 = QtWidgets.QGridLayout() self.gridLayout_6.setObjectName("gridLayout_6") self.btnImageUp = QtWidgets.QToolButton(self.groupImages) self.btnImageUp.setObjectName("btnImageUp") self.gridLayout_6.addWidget(self.btnImageUp, 0, 2, 1, 1) self.btnRemoveImage = QtWidgets.QToolButton(self.groupImages) self.btnRemoveImage.setObjectName("btnRemoveImage") self.gridLayout_6.addWidget(self.btnRemoveImage, 0, 1, 1, 1) self.btnAddImage = QtWidgets.QToolButton(self.groupImages) self.btnAddImage.setObjectName("btnAddImage") self.gridLayout_6.addWidget(self.btnAddImage, 0, 0, 1, 1) self.btnImageDown = QtWidgets.QToolButton(self.groupImages) self.btnImageDown.setObjectName("btnImageDown") self.gridLayout_6.addWidget(self.btnImageDown, 0, 3, 1, 1) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_6.addItem(spacerItem5, 0, 4, 1, 1) self.tableImages = ImageItemsTable(self.groupImages) self.tableImages.setMinimumSize(QtCore.QSize(0, 150)) self.tableImages.setEditTriggers(QtWidgets.QAbstractItemView.AllEditTriggers) self.tableImages.setWordWrap(False) self.tableImages.setObjectName("tableImages") self.tableImages.setColumnCount(3) self.tableImages.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(2, item) self.tableImages.horizontalHeader().setDefaultSectionSize(150) self.tableImages.horizontalHeader().setMinimumSectionSize(39) self.tableImages.horizontalHeader().setStretchLastSection(True) self.tableImages.verticalHeader().setDefaultSectionSize(20) self.tableImages.verticalHeader().setMinimumSectionSize(20) self.gridLayout_6.addWidget(self.tableImages, 1, 0, 1, 5) self.verticalLayout_8.addLayout(self.gridLayout_6) self.gridLayout_12.addWidget(self.groupImages, 6, 1, 1, 1) self.mGroupBox = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.mGroupBox.setCollapsed(False) self.mGroupBox.setObjectName("mGroupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.mGroupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.label_6 = QtWidgets.QLabel(self.mGroupBox) self.label_6.setObjectName("label_6") self.gridLayout.addWidget(self.label_6, 0, 0, 1, 1) self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.sbHeight = QtWidgets.QDoubleSpinBox(self.mGroupBox) self.sbHeight.setMinimumSize(QtCore.QSize(150, 0)) self.sbHeight.setMinimum(1.0) self.sbHeight.setMaximum(99999.0) self.sbHeight.setObjectName("sbHeight") self.gridLayout_2.addWidget(self.sbHeight, 1, 0, 1, 1) self.sbWidth = QtWidgets.QDoubleSpinBox(self.mGroupBox) self.sbWidth.setMinimumSize(QtCore.QSize(150, 0)) self.sbWidth.setMinimum(1.0) self.sbWidth.setMaximum(99999.0) self.sbWidth.setObjectName("sbWidth") self.gridLayout_2.addWidget(self.sbWidth, 0, 0, 1, 1) self.cboUnits = QtWidgets.QComboBox(self.mGroupBox) self.cboUnits.setObjectName("cboUnits") self.cboUnits.addItem("") self.cboUnits.addItem("") self.gridLayout_2.addWidget(self.cboUnits, 0, 1, 2, 1) spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem6, 0, 2, 2, 1) self.gridLayout.addLayout(self.gridLayout_2, 1, 1, 2, 1) self.label_2 = QtWidgets.QLabel(self.mGroupBox) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1) self.label = QtWidgets.QLabel(self.mGroupBox) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 1, 0, 1, 1) self.cboPageSize = QtWidgets.QComboBox(self.mGroupBox) self.cboPageSize.setObjectName("cboPageSize") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.gridLayout.addWidget(self.cboPageSize, 0, 1, 1, 1) self.label_7 = QtWidgets.QLabel(self.mGroupBox) self.label_7.setObjectName("label_7") self.gridLayout.addWidget(self.label_7, 3, 0, 1, 1) self.label_4 = QtWidgets.QLabel(self.mGroupBox) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1) self.cboOrientation = QtWidgets.QComboBox(self.mGroupBox) self.cboOrientation.setObjectName("cboOrientation") self.cboOrientation.addItem("") self.cboOrientation.addItem("") self.gridLayout.addWidget(self.cboOrientation, 3, 1, 1, 1) self.sbDpi = QtWidgets.QSpinBox(self.mGroupBox) self.sbDpi.setMinimum(1) self.sbDpi.setMaximum(99999) self.sbDpi.setProperty("value", 300) self.sbDpi.setObjectName("sbDpi") self.gridLayout.addWidget(self.sbDpi, 4, 1, 1, 1) self.sbPageFrameThickness = QtWidgets.QDoubleSpinBox(self.mGroupBox) self.sbPageFrameThickness.setDecimals(1) self.sbPageFrameThickness.setMinimum(0.1) self.sbPageFrameThickness.setProperty("value", 0.3) self.sbPageFrameThickness.setObjectName("sbPageFrameThickness") self.gridLayout.addWidget(self.sbPageFrameThickness, 5, 3, 1, 1) self.label_9 = QtWidgets.QLabel(self.mGroupBox) self.label_9.setObjectName("label_9") self.gridLayout.addWidget(self.label_9, 5, 2, 1, 1) self.cbPageFrame = QtWidgets.QCheckBox(self.mGroupBox) self.cbPageFrame.setChecked(True) self.cbPageFrame.setObjectName("cbPageFrame") self.gridLayout.addWidget(self.cbPageFrame, 5, 0, 1, 2) self.colorPageFrame = QgsColorButton(self.mGroupBox) self.colorPageFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorPageFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorPageFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorPageFrame.setObjectName("colorPageFrame") self.gridLayout.addWidget(self.colorPageFrame, 5, 4, 1, 1) self.groupBox = QtWidgets.QGroupBox(self.mGroupBox) self.groupBox.setMinimumSize(QtCore.QSize(0, 100)) self.groupBox.setObjectName("groupBox") self.gridLayout_13 = QtWidgets.QGridLayout(self.groupBox) self.gridLayout_13.setObjectName("gridLayout_13") self.sbPageMarginTop = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginTop.setDecimals(1) self.sbPageMarginTop.setProperty("value", 5.0) self.sbPageMarginTop.setObjectName("sbPageMarginTop") self.gridLayout_13.addWidget(self.sbPageMarginTop, 0, 2, 1, 1) self.label_11 = QtWidgets.QLabel(self.groupBox) self.label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_11.setObjectName("label_11") self.gridLayout_13.addWidget(self.label_11, 0, 1, 1, 1) self.label_12 = QtWidgets.QLabel(self.groupBox) self.label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_12.setObjectName("label_12") self.gridLayout_13.addWidget(self.label_12, 1, 0, 1, 1) self.sbPageMarginLeft = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginLeft.setDecimals(1) self.sbPageMarginLeft.setProperty("value", 5.0) self.sbPageMarginLeft.setObjectName("sbPageMarginLeft") self.gridLayout_13.addWidget(self.sbPageMarginLeft, 1, 1, 1, 1) self.label_14 = QtWidgets.QLabel(self.groupBox) self.label_14.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_14.setObjectName("label_14") self.gridLayout_13.addWidget(self.label_14, 2, 1, 1, 1) self.sbPageMarginBottom = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginBottom.setDecimals(1) self.sbPageMarginBottom.setProperty("value", 5.0) self.sbPageMarginBottom.setObjectName("sbPageMarginBottom") self.gridLayout_13.addWidget(self.sbPageMarginBottom, 2, 2, 1, 1) self.sbPageMarginRight = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginRight.setDecimals(1) self.sbPageMarginRight.setProperty("value", 5.0) self.sbPageMarginRight.setObjectName("sbPageMarginRight") self.gridLayout_13.addWidget(self.sbPageMarginRight, 1, 3, 1, 1) self.label_13 = QtWidgets.QLabel(self.groupBox) self.label_13.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_13.setObjectName("label_13") self.gridLayout_13.addWidget(self.label_13, 1, 2, 1, 1) spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.gridLayout_13.addItem(spacerItem7, 1, 4, 1, 1) self.gridLayout.addWidget(self.groupBox, 6, 0, 1, 5) spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem8, 1, 2, 1, 3) self.verticalLayout_2.addLayout(self.gridLayout) self.gridLayout_12.addWidget(self.mGroupBox, 0, 1, 1, 1) spacerItem9 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_12.addItem(spacerItem9, 0, 0, 3, 1) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_6.addWidget(self.scrollArea) self.radLayoutCustom = QtWidgets.QRadioButton(self.tab) self.radLayoutCustom.setChecked(False) self.radLayoutCustom.setObjectName("radLayoutCustom") self.buttonGroup.addButton(self.radLayoutCustom) self.verticalLayout_6.addWidget(self.radLayoutCustom) self.gridLayout_11 = QtWidgets.QGridLayout() self.gridLayout_11.setObjectName("gridLayout_11") self.btnBrowseTemplate = QtWidgets.QToolButton(self.tab) self.btnBrowseTemplate.setObjectName("btnBrowseTemplate") self.gridLayout_11.addWidget(self.btnBrowseTemplate, 0, 3, 1, 1) self.label_5 = QtWidgets.QLabel(self.tab) self.label_5.setObjectName("label_5") self.gridLayout_11.addWidget(self.label_5, 0, 1, 1, 1) self.editTemplate = QtWidgets.QLineEdit(self.tab) self.editTemplate.setObjectName("editTemplate") self.gridLayout_11.addWidget(self.editTemplate, 0, 2, 1, 1) self.label_10 = QtWidgets.QLabel(self.tab) self.label_10.setText("") self.label_10.setObjectName("label_10") self.gridLayout_11.addWidget(self.label_10, 1, 1, 1, 3) spacerItem10 = QtWidgets.QSpacerItem(28, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_11.addItem(spacerItem10, 0, 0, 2, 1) self.verticalLayout_6.addLayout(self.gridLayout_11) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.tab_2) self.verticalLayout_4.setObjectName("verticalLayout_4") self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setObjectName("gridLayout_3") self.btnMapUp = QtWidgets.QToolButton(self.tab_2) self.btnMapUp.setObjectName("btnMapUp") self.gridLayout_3.addWidget(self.btnMapUp, 1, 2, 1, 1) self.btnAddMap = QtWidgets.QToolButton(self.tab_2) self.btnAddMap.setObjectName("btnAddMap") self.gridLayout_3.addWidget(self.btnAddMap, 1, 0, 1, 1) self.btnRemoveMap = QtWidgets.QToolButton(self.tab_2) self.btnRemoveMap.setObjectName("btnRemoveMap") self.gridLayout_3.addWidget(self.btnRemoveMap, 1, 1, 1, 1) self.btnMapDown = QtWidgets.QToolButton(self.tab_2) self.btnMapDown.setObjectName("btnMapDown") self.gridLayout_3.addWidget(self.btnMapDown, 1, 3, 1, 1) self.label_3 = QtWidgets.QLabel(self.tab_2) self.label_3.setObjectName("label_3") self.gridLayout_3.addWidget(self.label_3, 0, 0, 1, 4) self.tableMaps = MapExportTable(self.tab_2) self.tableMaps.setMinimumSize(QtCore.QSize(0, 300)) self.tableMaps.setEditTriggers(QtWidgets.QAbstractItemView.AllEditTriggers) self.tableMaps.setObjectName("tableMaps") self.tableMaps.setColumnCount(5) self.tableMaps.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(3, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(4, item) self.tableMaps.horizontalHeader().setDefaultSectionSize(120) self.tableMaps.verticalHeader().setDefaultSectionSize(20) self.gridLayout_3.addWidget(self.tableMaps, 2, 0, 1, 6) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") spacerItem11 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem11) self.pbImport = QtWidgets.QPushButton(self.tab_2) self.pbImport.setObjectName("pbImport") self.horizontalLayout_2.addWidget(self.pbImport) self.gridLayout_3.addLayout(self.horizontalLayout_2, 1, 4, 1, 2) self.verticalLayout_4.addLayout(self.gridLayout_3) self.tabWidget.addTab(self.tab_2, "") self.verticalLayout.addWidget(self.tabWidget) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.progress = QtWidgets.QProgressBar(MapDialog) self.progress.setProperty("value", 0) self.progress.setObjectName("progress") self.horizontalLayout_4.addWidget(self.progress) self.pbPreview = QtWidgets.QPushButton(MapDialog) self.pbPreview.setObjectName("pbPreview") self.horizontalLayout_4.addWidget(self.pbPreview) self.buttonBox = QtWidgets.QDialogButtonBox(MapDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.horizontalLayout_4.addWidget(self.buttonBox) self.verticalLayout.addLayout(self.horizontalLayout_4) self.retranslateUi(MapDialog) self.tabWidget.setCurrentIndex(0) self.cboPosScaleBar.setCurrentIndex(1) self.cboPosLegend.setCurrentIndex(3) self.cboPosLabel.setCurrentIndex(2) self.cboPageSize.setCurrentIndex(4) QtCore.QMetaObject.connectSlotsByName(MapDialog)
def setupUi(self, MapDialog): MapDialog.setObjectName("MapDialog") MapDialog.resize(652, 545) self.verticalLayout = QtWidgets.QVBoxLayout(MapDialog) self.verticalLayout.setObjectName("verticalLayout") self.tabWidget = QtWidgets.QTabWidget(MapDialog) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.tab) self.verticalLayout_6.setObjectName("verticalLayout_6") self.radLayoutDefault = QtWidgets.QRadioButton(self.tab) self.radLayoutDefault.setChecked(True) self.radLayoutDefault.setObjectName("radLayoutDefault") self.buttonGroup = QtWidgets.QButtonGroup(MapDialog) self.buttonGroup.setObjectName("buttonGroup") self.buttonGroup.addButton(self.radLayoutDefault) self.verticalLayout_6.addWidget(self.radLayoutDefault) self.scrollArea = QtWidgets.QScrollArea(self.tab) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 591, 1635)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.gridLayout_12 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents) self.gridLayout_12.setObjectName("gridLayout_12") self.groupScaleBar = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupScaleBar.setCheckable(True) self.groupScaleBar.setChecked(False) self.groupScaleBar.setObjectName("groupScaleBar") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupScaleBar) self.verticalLayout_5.setObjectName("verticalLayout_5") self.gridLayout_8 = QtWidgets.QGridLayout() self.gridLayout_8.setObjectName("gridLayout_8") self.cbScaleBarFrame = QtWidgets.QCheckBox(self.groupScaleBar) self.cbScaleBarFrame.setObjectName("cbScaleBarFrame") self.gridLayout_8.addWidget(self.cbScaleBarFrame, 2, 0, 1, 3) self.cboPosScaleBar = QtWidgets.QComboBox(self.groupScaleBar) self.cboPosScaleBar.setObjectName("cboPosScaleBar") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.gridLayout_8.addWidget(self.cboPosScaleBar, 3, 1, 1, 1) self.cbScaleBarBackground = QtWidgets.QCheckBox(self.groupScaleBar) self.cbScaleBarBackground.setObjectName("cbScaleBarBackground") self.gridLayout_8.addWidget(self.cbScaleBarBackground, 1, 0, 1, 3) self.colorScaleBarBackground = QgsColorButton(self.groupScaleBar) self.colorScaleBarBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorScaleBarBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorScaleBarBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorScaleBarBackground.setObjectName("colorScaleBarBackground") self.gridLayout_8.addWidget(self.colorScaleBarBackground, 1, 3, 1, 1) self.label_24 = QtWidgets.QLabel(self.groupScaleBar) self.label_24.setObjectName("label_24") self.gridLayout_8.addWidget(self.label_24, 3, 0, 1, 1) self.colorScaleBarFrame = QgsColorButton(self.groupScaleBar) self.colorScaleBarFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorScaleBarFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarFrame.setObjectName("colorScaleBarFrame") self.gridLayout_8.addWidget(self.colorScaleBarFrame, 2, 3, 1, 1) self.label_8 = QtWidgets.QLabel(self.groupScaleBar) self.label_8.setObjectName("label_8") self.gridLayout_8.addWidget(self.label_8, 0, 0, 1, 1) self.fbtnScaleBar = QgsFontButton(self.groupScaleBar) self.fbtnScaleBar.setMinimumSize(QtCore.QSize(0, 21)) self.fbtnScaleBar.setMode(QgsFontButton.ModeQFont) self.fbtnScaleBar.setObjectName("fbtnScaleBar") self.gridLayout_8.addWidget(self.fbtnScaleBar, 0, 1, 1, 1) self.colorScaleBarText = QgsColorButton(self.groupScaleBar) self.colorScaleBarText.setMinimumSize(QtCore.QSize(24, 21)) self.colorScaleBarText.setColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarText.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarText.setObjectName("colorScaleBarText") self.gridLayout_8.addWidget(self.colorScaleBarText, 0, 3, 1, 1) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_8.addItem(spacerItem, 0, 2, 1, 1) self.verticalLayout_5.addLayout(self.gridLayout_8) self.gridLayout_12.addWidget(self.groupScaleBar, 2, 1, 1, 1) self.groupNorthArrow = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupNorthArrow.setCheckable(True) self.groupNorthArrow.setChecked(False) self.groupNorthArrow.setObjectName("groupNorthArrow") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupNorthArrow) self.verticalLayout_7.setObjectName("verticalLayout_7") self.gridLayout_9 = QtWidgets.QGridLayout() self.gridLayout_9.setObjectName("gridLayout_9") self.cbNorthArrowBackground = QtWidgets.QCheckBox(self.groupNorthArrow) self.cbNorthArrowBackground.setObjectName("cbNorthArrowBackground") self.gridLayout_9.addWidget(self.cbNorthArrowBackground, 0, 0, 1, 3) self.label_25 = QtWidgets.QLabel(self.groupNorthArrow) self.label_25.setObjectName("label_25") self.gridLayout_9.addWidget(self.label_25, 2, 0, 1, 1) self.colorNorthArrowBackground = QgsColorButton(self.groupNorthArrow) self.colorNorthArrowBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorNorthArrowBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorNorthArrowBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorNorthArrowBackground.setObjectName("colorNorthArrowBackground") self.gridLayout_9.addWidget(self.colorNorthArrowBackground, 0, 3, 1, 1) self.cboPosNorthArrow = QtWidgets.QComboBox(self.groupNorthArrow) self.cboPosNorthArrow.setObjectName("cboPosNorthArrow") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.gridLayout_9.addWidget(self.cboPosNorthArrow, 2, 1, 1, 1) self.cbNorthArrowFrame = QtWidgets.QCheckBox(self.groupNorthArrow) self.cbNorthArrowFrame.setObjectName("cbNorthArrowFrame") self.gridLayout_9.addWidget(self.cbNorthArrowFrame, 1, 0, 1, 3) self.colorNorthArrowFrame = QgsColorButton(self.groupNorthArrow) self.colorNorthArrowFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorNorthArrowFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorNorthArrowFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorNorthArrowFrame.setObjectName("colorNorthArrowFrame") self.gridLayout_9.addWidget(self.colorNorthArrowFrame, 1, 3, 1, 1) self.verticalLayout_7.addLayout(self.gridLayout_9) self.gridLayout_12.addWidget(self.groupNorthArrow, 3, 1, 1, 1) self.groupLegend = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupLegend.setCheckable(True) self.groupLegend.setChecked(False) self.groupLegend.setObjectName("groupLegend") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupLegend) self.verticalLayout_3.setObjectName("verticalLayout_3") self.gridLayout_7 = QtWidgets.QGridLayout() self.gridLayout_7.setObjectName("gridLayout_7") self.label_22 = QtWidgets.QLabel(self.groupLegend) self.label_22.setObjectName("label_22") self.gridLayout_7.addWidget(self.label_22, 4, 0, 1, 1) self.colorLegendText = QgsColorButton(self.groupLegend) self.colorLegendText.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendText.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendText.setObjectName("colorLegendText") self.gridLayout_7.addWidget(self.colorLegendText, 1, 3, 1, 1) self.cboPosLegend = QtWidgets.QComboBox(self.groupLegend) self.cboPosLegend.setObjectName("cboPosLegend") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.gridLayout_7.addWidget(self.cboPosLegend, 4, 1, 1, 1) self.label_20 = QtWidgets.QLabel(self.groupLegend) self.label_20.setObjectName("label_20") self.gridLayout_7.addWidget(self.label_20, 0, 0, 1, 1) self.colorLegendBackground = QgsColorButton(self.groupLegend) self.colorLegendBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setObjectName("colorLegendBackground") self.gridLayout_7.addWidget(self.colorLegendBackground, 2, 3, 1, 1) self.label_21 = QtWidgets.QLabel(self.groupLegend) self.label_21.setObjectName("label_21") self.gridLayout_7.addWidget(self.label_21, 1, 0, 1, 1) self.cbLegendBackground = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendBackground.setObjectName("cbLegendBackground") self.gridLayout_7.addWidget(self.cbLegendBackground, 2, 0, 1, 3) self.labelLegend = QtWidgets.QLineEdit(self.groupLegend) self.labelLegend.setObjectName("labelLegend") self.gridLayout_7.addWidget(self.labelLegend, 0, 1, 1, 3) self.fbtnLegend = QgsFontButton(self.groupLegend) self.fbtnLegend.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnLegend.setFont(font) self.fbtnLegend.setMode(QgsFontButton.ModeQFont) self.fbtnLegend.setObjectName("fbtnLegend") self.gridLayout_7.addWidget(self.fbtnLegend, 1, 1, 1, 1) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_7.addItem(spacerItem1, 1, 2, 1, 1) self.cbLegendFrame = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendFrame.setObjectName("cbLegendFrame") self.gridLayout_7.addWidget(self.cbLegendFrame, 3, 0, 1, 3) self.colorLegendFrame = QgsColorButton(self.groupLegend) self.colorLegendFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setObjectName("colorLegendFrame") self.gridLayout_7.addWidget(self.colorLegendFrame, 3, 3, 1, 1) self.verticalLayout_3.addLayout(self.gridLayout_7) self.gridLayout_12.addWidget(self.groupLegend, 1, 1, 1, 1) self.groupPlot = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupPlot.setCheckable(True) self.groupPlot.setChecked(False) self.groupPlot.setCollapsed(False) self.groupPlot.setObjectName("groupPlot") self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.groupPlot) self.verticalLayout_10.setObjectName("verticalLayout_10") self.gridLayout_5 = QtWidgets.QGridLayout() self.gridLayout_5.setObjectName("gridLayout_5") self.btnPlotUp = QtWidgets.QToolButton(self.groupPlot) self.btnPlotUp.setObjectName("btnPlotUp") self.gridLayout_5.addWidget(self.btnPlotUp, 0, 2, 1, 1) self.btnAddPlot = QtWidgets.QToolButton(self.groupPlot) self.btnAddPlot.setObjectName("btnAddPlot") self.gridLayout_5.addWidget(self.btnAddPlot, 0, 0, 1, 1) self.btnRemovePlot = QtWidgets.QToolButton(self.groupPlot) self.btnRemovePlot.setObjectName("btnRemovePlot") self.gridLayout_5.addWidget(self.btnRemovePlot, 0, 1, 1, 1) self.tablePlots = QtWidgets.QTableWidget(self.groupPlot) self.tablePlots.setMinimumSize(QtCore.QSize(0, 150)) self.tablePlots.setObjectName("tablePlots") self.tablePlots.setColumnCount(4) self.tablePlots.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(3, item) self.tablePlots.horizontalHeader().setVisible(False) self.tablePlots.horizontalHeader().setCascadingSectionResizes(False) self.tablePlots.horizontalHeader().setDefaultSectionSize(110) self.tablePlots.horizontalHeader().setMinimumSectionSize(80) self.tablePlots.verticalHeader().setDefaultSectionSize(20) self.gridLayout_5.addWidget(self.tablePlots, 1, 0, 1, 5) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem2, 0, 4, 1, 1) self.btnPlotDown = QtWidgets.QToolButton(self.groupPlot) self.btnPlotDown.setObjectName("btnPlotDown") self.gridLayout_5.addWidget(self.btnPlotDown, 0, 3, 1, 1) self.tableGraphics = QtWidgets.QTableWidget(self.groupPlot) self.tableGraphics.setMinimumSize(QtCore.QSize(0, 150)) self.tableGraphics.setObjectName("tableGraphics") self.tableGraphics.setColumnCount(4) self.tableGraphics.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(3, item) self.tableGraphics.horizontalHeader().setVisible(False) self.tableGraphics.horizontalHeader().setDefaultSectionSize(110) self.tableGraphics.verticalHeader().setDefaultSectionSize(20) self.tableGraphics.verticalHeader().setMinimumSectionSize(20) self.gridLayout_5.addWidget(self.tableGraphics, 3, 0, 1, 5) self.label_28 = QtWidgets.QLabel(self.groupPlot) self.label_28.setObjectName("label_28") self.gridLayout_5.addWidget(self.label_28, 2, 0, 1, 5) self.verticalLayout_10.addLayout(self.gridLayout_5) self.gridLayout_12.addWidget(self.groupPlot, 5, 1, 1, 1) self.groupLabel = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupLabel.setCheckable(True) self.groupLabel.setChecked(False) self.groupLabel.setObjectName("groupLabel") self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.groupLabel) self.verticalLayout_9.setObjectName("verticalLayout_9") self.gridLayout_10 = QtWidgets.QGridLayout() self.gridLayout_10.setObjectName("gridLayout_10") self.fbtnLabel = QgsFontButton(self.groupLabel) self.fbtnLabel.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnLabel.setFont(font) self.fbtnLabel.setMode(QgsFontButton.ModeQFont) self.fbtnLabel.setObjectName("fbtnLabel") self.gridLayout_10.addWidget(self.fbtnLabel, 1, 1, 1, 1) self.colorLabelBackground = QgsColorButton(self.groupLabel) self.colorLabelBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorLabelBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorLabelBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorLabelBackground.setObjectName("colorLabelBackground") self.gridLayout_10.addWidget(self.colorLabelBackground, 2, 3, 1, 1) self.label_26 = QtWidgets.QLabel(self.groupLabel) self.label_26.setObjectName("label_26") self.gridLayout_10.addWidget(self.label_26, 4, 0, 1, 1) self.cbLabelBackground = QtWidgets.QCheckBox(self.groupLabel) self.cbLabelBackground.setObjectName("cbLabelBackground") self.gridLayout_10.addWidget(self.cbLabelBackground, 2, 0, 1, 3) self.colorLabelText = QgsColorButton(self.groupLabel) self.colorLabelText.setMinimumSize(QtCore.QSize(24, 21)) self.colorLabelText.setColor(QtGui.QColor(0, 0, 0)) self.colorLabelText.setObjectName("colorLabelText") self.gridLayout_10.addWidget(self.colorLabelText, 1, 3, 1, 1) self.label_23 = QtWidgets.QLabel(self.groupLabel) self.label_23.setObjectName("label_23") self.gridLayout_10.addWidget(self.label_23, 0, 0, 1, 1) self.label_27 = QtWidgets.QLabel(self.groupLabel) self.label_27.setObjectName("label_27") self.gridLayout_10.addWidget(self.label_27, 1, 0, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_10.addItem(spacerItem3, 1, 2, 1, 1) self.labelInput = QtWidgets.QTextEdit(self.groupLabel) self.labelInput.setObjectName("labelInput") self.gridLayout_10.addWidget(self.labelInput, 0, 1, 1, 2) self.cboPosLabel = QtWidgets.QComboBox(self.groupLabel) self.cboPosLabel.setObjectName("cboPosLabel") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.gridLayout_10.addWidget(self.cboPosLabel, 4, 1, 1, 1) self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setObjectName("gridLayout_4") self.pbMapNo = QtWidgets.QPushButton(self.groupLabel) self.pbMapNo.setObjectName("pbMapNo") self.gridLayout_4.addWidget(self.pbMapNo, 0, 0, 1, 1) self.pbResultType = QtWidgets.QPushButton(self.groupLabel) self.pbResultType.setObjectName("pbResultType") self.gridLayout_4.addWidget(self.pbResultType, 2, 0, 1, 1) spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_4.addItem(spacerItem4, 5, 0, 1, 1) self.pbWorkspaceLoc = QtWidgets.QPushButton(self.groupLabel) self.pbWorkspaceLoc.setObjectName("pbWorkspaceLoc") self.gridLayout_4.addWidget(self.pbWorkspaceLoc, 4, 0, 1, 1) self.pbResultName = QtWidgets.QPushButton(self.groupLabel) self.pbResultName.setObjectName("pbResultName") self.gridLayout_4.addWidget(self.pbResultName, 1, 0, 1, 1) self.pbDate = QtWidgets.QPushButton(self.groupLabel) self.pbDate.setObjectName("pbDate") self.gridLayout_4.addWidget(self.pbDate, 3, 0, 1, 1) self.gridLayout_10.addLayout(self.gridLayout_4, 0, 3, 1, 1) self.cbLabelFrame = QtWidgets.QCheckBox(self.groupLabel) self.cbLabelFrame.setObjectName("cbLabelFrame") self.gridLayout_10.addWidget(self.cbLabelFrame, 3, 0, 1, 3) self.colorLabelFrame = QgsColorButton(self.groupLabel) self.colorLabelFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorLabelFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorLabelFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorLabelFrame.setObjectName("colorLabelFrame") self.gridLayout_10.addWidget(self.colorLabelFrame, 3, 3, 1, 1) self.verticalLayout_9.addLayout(self.gridLayout_10) self.gridLayout_12.addWidget(self.groupLabel, 4, 1, 1, 1) self.groupImages = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupImages.setCheckable(True) self.groupImages.setChecked(False) self.groupImages.setCollapsed(False) self.groupImages.setObjectName("groupImages") self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupImages) self.verticalLayout_8.setObjectName("verticalLayout_8") self.gridLayout_6 = QtWidgets.QGridLayout() self.gridLayout_6.setObjectName("gridLayout_6") self.btnImageUp = QtWidgets.QToolButton(self.groupImages) self.btnImageUp.setObjectName("btnImageUp") self.gridLayout_6.addWidget(self.btnImageUp, 0, 2, 1, 1) self.btnRemoveImage = QtWidgets.QToolButton(self.groupImages) self.btnRemoveImage.setObjectName("btnRemoveImage") self.gridLayout_6.addWidget(self.btnRemoveImage, 0, 1, 1, 1) self.btnAddImage = QtWidgets.QToolButton(self.groupImages) self.btnAddImage.setObjectName("btnAddImage") self.gridLayout_6.addWidget(self.btnAddImage, 0, 0, 1, 1) self.btnImageDown = QtWidgets.QToolButton(self.groupImages) self.btnImageDown.setObjectName("btnImageDown") self.gridLayout_6.addWidget(self.btnImageDown, 0, 3, 1, 1) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_6.addItem(spacerItem5, 0, 4, 1, 1) self.tableImages = QtWidgets.QTableWidget(self.groupImages) self.tableImages.setMinimumSize(QtCore.QSize(0, 150)) self.tableImages.setObjectName("tableImages") self.tableImages.setColumnCount(3) self.tableImages.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(2, item) self.tableImages.horizontalHeader().setDefaultSectionSize(130) self.tableImages.horizontalHeader().setMinimumSectionSize(39) self.tableImages.verticalHeader().setDefaultSectionSize(20) self.gridLayout_6.addWidget(self.tableImages, 1, 0, 1, 5) self.verticalLayout_8.addLayout(self.gridLayout_6) self.gridLayout_12.addWidget(self.groupImages, 6, 1, 1, 1) self.mGroupBox = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.mGroupBox.setCollapsed(False) self.mGroupBox.setObjectName("mGroupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.mGroupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.label_6 = QtWidgets.QLabel(self.mGroupBox) self.label_6.setObjectName("label_6") self.gridLayout.addWidget(self.label_6, 0, 0, 1, 1) self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.sbHeight = QtWidgets.QDoubleSpinBox(self.mGroupBox) self.sbHeight.setMinimumSize(QtCore.QSize(150, 0)) self.sbHeight.setMinimum(1.0) self.sbHeight.setMaximum(99999.0) self.sbHeight.setObjectName("sbHeight") self.gridLayout_2.addWidget(self.sbHeight, 1, 0, 1, 1) self.sbWidth = QtWidgets.QDoubleSpinBox(self.mGroupBox) self.sbWidth.setMinimumSize(QtCore.QSize(150, 0)) self.sbWidth.setMinimum(1.0) self.sbWidth.setMaximum(99999.0) self.sbWidth.setObjectName("sbWidth") self.gridLayout_2.addWidget(self.sbWidth, 0, 0, 1, 1) self.cboUnits = QtWidgets.QComboBox(self.mGroupBox) self.cboUnits.setObjectName("cboUnits") self.cboUnits.addItem("") self.cboUnits.addItem("") self.gridLayout_2.addWidget(self.cboUnits, 0, 1, 2, 1) spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem6, 0, 2, 2, 1) self.gridLayout.addLayout(self.gridLayout_2, 1, 1, 2, 1) self.label_2 = QtWidgets.QLabel(self.mGroupBox) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1) self.label = QtWidgets.QLabel(self.mGroupBox) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 1, 0, 1, 1) self.cboPageSize = QtWidgets.QComboBox(self.mGroupBox) self.cboPageSize.setObjectName("cboPageSize") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.gridLayout.addWidget(self.cboPageSize, 0, 1, 1, 1) self.label_7 = QtWidgets.QLabel(self.mGroupBox) self.label_7.setObjectName("label_7") self.gridLayout.addWidget(self.label_7, 3, 0, 1, 1) self.label_4 = QtWidgets.QLabel(self.mGroupBox) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1) self.cboOrientation = QtWidgets.QComboBox(self.mGroupBox) self.cboOrientation.setObjectName("cboOrientation") self.cboOrientation.addItem("") self.cboOrientation.addItem("") self.gridLayout.addWidget(self.cboOrientation, 3, 1, 1, 1) self.sbDpi = QtWidgets.QSpinBox(self.mGroupBox) self.sbDpi.setMinimum(1) self.sbDpi.setMaximum(99999) self.sbDpi.setProperty("value", 300) self.sbDpi.setObjectName("sbDpi") self.gridLayout.addWidget(self.sbDpi, 4, 1, 1, 1) self.sbPageFrameThickness = QtWidgets.QDoubleSpinBox(self.mGroupBox) self.sbPageFrameThickness.setDecimals(1) self.sbPageFrameThickness.setMinimum(0.1) self.sbPageFrameThickness.setProperty("value", 0.3) self.sbPageFrameThickness.setObjectName("sbPageFrameThickness") self.gridLayout.addWidget(self.sbPageFrameThickness, 5, 3, 1, 1) self.label_9 = QtWidgets.QLabel(self.mGroupBox) self.label_9.setObjectName("label_9") self.gridLayout.addWidget(self.label_9, 5, 2, 1, 1) self.cbPageFrame = QtWidgets.QCheckBox(self.mGroupBox) self.cbPageFrame.setObjectName("cbPageFrame") self.gridLayout.addWidget(self.cbPageFrame, 5, 0, 1, 2) self.colorPageFrame = QgsColorButton(self.mGroupBox) self.colorPageFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorPageFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorPageFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorPageFrame.setObjectName("colorPageFrame") self.gridLayout.addWidget(self.colorPageFrame, 5, 4, 1, 1) self.groupBox = QtWidgets.QGroupBox(self.mGroupBox) self.groupBox.setMinimumSize(QtCore.QSize(0, 100)) self.groupBox.setObjectName("groupBox") self.gridLayout_13 = QtWidgets.QGridLayout(self.groupBox) self.gridLayout_13.setObjectName("gridLayout_13") self.sbPageMarginTop = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginTop.setDecimals(1) self.sbPageMarginTop.setProperty("value", 10.0) self.sbPageMarginTop.setObjectName("sbPageMarginTop") self.gridLayout_13.addWidget(self.sbPageMarginTop, 0, 2, 1, 1) self.label_11 = QtWidgets.QLabel(self.groupBox) self.label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_11.setObjectName("label_11") self.gridLayout_13.addWidget(self.label_11, 0, 1, 1, 1) self.label_12 = QtWidgets.QLabel(self.groupBox) self.label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_12.setObjectName("label_12") self.gridLayout_13.addWidget(self.label_12, 1, 0, 1, 1) self.sbPageMarginLeft = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginLeft.setDecimals(1) self.sbPageMarginLeft.setProperty("value", 10.0) self.sbPageMarginLeft.setObjectName("sbPageMarginLeft") self.gridLayout_13.addWidget(self.sbPageMarginLeft, 1, 1, 1, 1) self.label_14 = QtWidgets.QLabel(self.groupBox) self.label_14.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_14.setObjectName("label_14") self.gridLayout_13.addWidget(self.label_14, 2, 1, 1, 1) self.sbPageMarginBottom = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginBottom.setDecimals(1) self.sbPageMarginBottom.setProperty("value", 10.0) self.sbPageMarginBottom.setObjectName("sbPageMarginBottom") self.gridLayout_13.addWidget(self.sbPageMarginBottom, 2, 2, 1, 1) self.sbPageMarginRight = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginRight.setDecimals(1) self.sbPageMarginRight.setProperty("value", 10.0) self.sbPageMarginRight.setObjectName("sbPageMarginRight") self.gridLayout_13.addWidget(self.sbPageMarginRight, 1, 3, 1, 1) self.label_13 = QtWidgets.QLabel(self.groupBox) self.label_13.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_13.setObjectName("label_13") self.gridLayout_13.addWidget(self.label_13, 1, 2, 1, 1) spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.gridLayout_13.addItem(spacerItem7, 1, 4, 1, 1) self.gridLayout.addWidget(self.groupBox, 6, 0, 1, 5) spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem8, 1, 2, 1, 3) self.verticalLayout_2.addLayout(self.gridLayout) self.gridLayout_12.addWidget(self.mGroupBox, 0, 1, 1, 1) spacerItem9 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_12.addItem(spacerItem9, 0, 0, 3, 1) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_6.addWidget(self.scrollArea) self.radLayoutCustom = QtWidgets.QRadioButton(self.tab) self.radLayoutCustom.setChecked(False) self.radLayoutCustom.setObjectName("radLayoutCustom") self.buttonGroup.addButton(self.radLayoutCustom) self.verticalLayout_6.addWidget(self.radLayoutCustom) self.gridLayout_11 = QtWidgets.QGridLayout() self.gridLayout_11.setObjectName("gridLayout_11") self.btnBrowseTemplate = QtWidgets.QToolButton(self.tab) self.btnBrowseTemplate.setObjectName("btnBrowseTemplate") self.gridLayout_11.addWidget(self.btnBrowseTemplate, 0, 3, 1, 1) self.label_5 = QtWidgets.QLabel(self.tab) self.label_5.setObjectName("label_5") self.gridLayout_11.addWidget(self.label_5, 0, 1, 1, 1) self.editTemplate = QtWidgets.QLineEdit(self.tab) self.editTemplate.setObjectName("editTemplate") self.gridLayout_11.addWidget(self.editTemplate, 0, 2, 1, 1) self.label_10 = QtWidgets.QLabel(self.tab) self.label_10.setText("") self.label_10.setObjectName("label_10") self.gridLayout_11.addWidget(self.label_10, 1, 1, 1, 3) spacerItem10 = QtWidgets.QSpacerItem(28, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_11.addItem(spacerItem10, 0, 0, 2, 1) self.verticalLayout_6.addLayout(self.gridLayout_11) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.tab_2) self.verticalLayout_4.setObjectName("verticalLayout_4") self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setObjectName("gridLayout_3") self.btnMapDown = QtWidgets.QToolButton(self.tab_2) self.btnMapDown.setObjectName("btnMapDown") self.gridLayout_3.addWidget(self.btnMapDown, 2, 3, 1, 1) self.btnAddMap = QtWidgets.QToolButton(self.tab_2) self.btnAddMap.setObjectName("btnAddMap") self.gridLayout_3.addWidget(self.btnAddMap, 2, 0, 1, 1) self.btnRemoveMap = QtWidgets.QToolButton(self.tab_2) self.btnRemoveMap.setObjectName("btnRemoveMap") self.gridLayout_3.addWidget(self.btnRemoveMap, 2, 1, 1, 1) self.btnMapUp = QtWidgets.QToolButton(self.tab_2) self.btnMapUp.setObjectName("btnMapUp") self.gridLayout_3.addWidget(self.btnMapUp, 2, 2, 1, 1) self.tableMaps = QtWidgets.QTableWidget(self.tab_2) self.tableMaps.setMinimumSize(QtCore.QSize(0, 300)) self.tableMaps.setObjectName("tableMaps") self.tableMaps.setColumnCount(5) self.tableMaps.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(3, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(4, item) self.tableMaps.horizontalHeader().setDefaultSectionSize(120) self.tableMaps.verticalHeader().setDefaultSectionSize(20) self.gridLayout_3.addWidget(self.tableMaps, 3, 0, 1, 6) self.label_3 = QtWidgets.QLabel(self.tab_2) self.label_3.setObjectName("label_3") self.gridLayout_3.addWidget(self.label_3, 1, 0, 1, 4) self.cbSaveTemplates = QtWidgets.QCheckBox(self.tab_2) self.cbSaveTemplates.setObjectName("cbSaveTemplates") self.gridLayout_3.addWidget(self.cbSaveTemplates, 0, 0, 1, 4) self.leTemplateOut = QtWidgets.QLineEdit(self.tab_2) self.leTemplateOut.setObjectName("leTemplateOut") self.gridLayout_3.addWidget(self.leTemplateOut, 0, 5, 1, 1) self.btnBrowseTemplateOut = QtWidgets.QToolButton(self.tab_2) self.btnBrowseTemplateOut.setObjectName("btnBrowseTemplateOut") self.gridLayout_3.addWidget(self.btnBrowseTemplateOut, 0, 4, 1, 1) spacerItem11 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem11, 2, 4, 1, 2) self.verticalLayout_4.addLayout(self.gridLayout_3) self.tabWidget.addTab(self.tab_2, "") self.verticalLayout.addWidget(self.tabWidget) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.progress = QtWidgets.QProgressBar(MapDialog) self.progress.setProperty("value", 0) self.progress.setObjectName("progress") self.horizontalLayout_4.addWidget(self.progress) self.pbPreview = QtWidgets.QPushButton(MapDialog) self.pbPreview.setObjectName("pbPreview") self.horizontalLayout_4.addWidget(self.pbPreview) self.buttonBox = QtWidgets.QDialogButtonBox(MapDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.horizontalLayout_4.addWidget(self.buttonBox) self.verticalLayout.addLayout(self.horizontalLayout_4) self.retranslateUi(MapDialog) self.tabWidget.setCurrentIndex(0) self.cboPageSize.setCurrentIndex(4) QtCore.QMetaObject.connectSlotsByName(MapDialog)
def setupUi(self, SettingsDialog): SettingsDialog.setObjectName("SettingsDialog") SettingsDialog.resize(279, 359) self.verticalLayout = QtWidgets.QVBoxLayout(SettingsDialog) self.verticalLayout.setObjectName("verticalLayout") self.formLayout = QtWidgets.QFormLayout() self.formLayout.setObjectName("formLayout") self.label_2 = QtWidgets.QLabel(SettingsDialog) self.label_2.setObjectName("label_2") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_2) self.selectionColorButton = QgsColorButton(SettingsDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.selectionColorButton.sizePolicy().hasHeightForWidth()) self.selectionColorButton.setSizePolicy(sizePolicy) self.selectionColorButton.setMinimumSize(QtCore.QSize(60, 20)) self.selectionColorButton.setMaximumSize(QtCore.QSize(16777215, 20)) self.selectionColorButton.setObjectName("selectionColorButton") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.selectionColorButton) self.activeLayerCheckBox = QtWidgets.QCheckBox(SettingsDialog) self.activeLayerCheckBox.setText("") self.activeLayerCheckBox.setChecked(True) self.activeLayerCheckBox.setObjectName("activeLayerCheckBox") self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.activeLayerCheckBox) self.label = QtWidgets.QLabel(SettingsDialog) self.label.setObjectName("label") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label) self.label_3 = QtWidgets.QLabel(SettingsDialog) self.label_3.setObjectName("label_3") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_3) self.label_4 = QtWidgets.QLabel(SettingsDialog) self.label_4.setObjectName("label_4") self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_4) self.replaceActionsCheckBox = QtWidgets.QCheckBox(SettingsDialog) self.replaceActionsCheckBox.setText("") self.replaceActionsCheckBox.setObjectName("replaceActionsCheckBox") self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.replaceActionsCheckBox) self.showSettingsCheckBox = QtWidgets.QCheckBox(SettingsDialog) self.showSettingsCheckBox.setText("") self.showSettingsCheckBox.setChecked(True) self.showSettingsCheckBox.setObjectName("showSettingsCheckBox") self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.showSettingsCheckBox) self.verticalLayout.addLayout(self.formLayout) self.groupBox = QtWidgets.QGroupBox(SettingsDialog) self.groupBox.setObjectName("groupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.onlyVisibleCheckBox = QtWidgets.QCheckBox(self.groupBox) self.onlyVisibleCheckBox.setObjectName("onlyVisibleCheckBox") self.verticalLayout_2.addWidget(self.onlyVisibleCheckBox) self.includeActiveLayerCheckBox = QtWidgets.QCheckBox(self.groupBox) self.includeActiveLayerCheckBox.setObjectName( "includeActiveLayerCheckBox") self.verticalLayout_2.addWidget(self.includeActiveLayerCheckBox) self.view = QtWidgets.QListView(self.groupBox) self.view.setObjectName("view") self.verticalLayout_2.addWidget(self.view) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.includeButton = QtWidgets.QPushButton(self.groupBox) self.includeButton.setObjectName("includeButton") self.horizontalLayout_2.addWidget(self.includeButton) self.excludeButton = QtWidgets.QPushButton(self.groupBox) self.excludeButton.setObjectName("excludeButton") self.horizontalLayout_2.addWidget(self.excludeButton) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.verticalLayout_2.addLayout(self.horizontalLayout_2) self.verticalLayout.addWidget(self.groupBox) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem2) self.okButton = QtWidgets.QPushButton(SettingsDialog) self.okButton.setObjectName("okButton") self.horizontalLayout.addWidget(self.okButton) self.verticalLayout.addLayout(self.horizontalLayout) self.retranslateUi(SettingsDialog) self.okButton.clicked.connect(SettingsDialog.accept) QtCore.QMetaObject.connectSlotsByName(SettingsDialog)
class Ui_SettingsDialog(object): def setupUi(self, SettingsDialog): SettingsDialog.setObjectName("SettingsDialog") SettingsDialog.resize(279, 359) self.verticalLayout = QtWidgets.QVBoxLayout(SettingsDialog) self.verticalLayout.setObjectName("verticalLayout") self.formLayout = QtWidgets.QFormLayout() self.formLayout.setObjectName("formLayout") self.label_2 = QtWidgets.QLabel(SettingsDialog) self.label_2.setObjectName("label_2") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_2) self.selectionColorButton = QgsColorButton(SettingsDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.selectionColorButton.sizePolicy().hasHeightForWidth()) self.selectionColorButton.setSizePolicy(sizePolicy) self.selectionColorButton.setMinimumSize(QtCore.QSize(60, 20)) self.selectionColorButton.setMaximumSize(QtCore.QSize(16777215, 20)) self.selectionColorButton.setObjectName("selectionColorButton") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.selectionColorButton) self.activeLayerCheckBox = QtWidgets.QCheckBox(SettingsDialog) self.activeLayerCheckBox.setText("") self.activeLayerCheckBox.setChecked(True) self.activeLayerCheckBox.setObjectName("activeLayerCheckBox") self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.activeLayerCheckBox) self.label = QtWidgets.QLabel(SettingsDialog) self.label.setObjectName("label") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label) self.label_3 = QtWidgets.QLabel(SettingsDialog) self.label_3.setObjectName("label_3") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_3) self.label_4 = QtWidgets.QLabel(SettingsDialog) self.label_4.setObjectName("label_4") self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_4) self.replaceActionsCheckBox = QtWidgets.QCheckBox(SettingsDialog) self.replaceActionsCheckBox.setText("") self.replaceActionsCheckBox.setObjectName("replaceActionsCheckBox") self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.replaceActionsCheckBox) self.showSettingsCheckBox = QtWidgets.QCheckBox(SettingsDialog) self.showSettingsCheckBox.setText("") self.showSettingsCheckBox.setChecked(True) self.showSettingsCheckBox.setObjectName("showSettingsCheckBox") self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.showSettingsCheckBox) self.verticalLayout.addLayout(self.formLayout) self.groupBox = QtWidgets.QGroupBox(SettingsDialog) self.groupBox.setObjectName("groupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.onlyVisibleCheckBox = QtWidgets.QCheckBox(self.groupBox) self.onlyVisibleCheckBox.setObjectName("onlyVisibleCheckBox") self.verticalLayout_2.addWidget(self.onlyVisibleCheckBox) self.includeActiveLayerCheckBox = QtWidgets.QCheckBox(self.groupBox) self.includeActiveLayerCheckBox.setObjectName( "includeActiveLayerCheckBox") self.verticalLayout_2.addWidget(self.includeActiveLayerCheckBox) self.view = QtWidgets.QListView(self.groupBox) self.view.setObjectName("view") self.verticalLayout_2.addWidget(self.view) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.includeButton = QtWidgets.QPushButton(self.groupBox) self.includeButton.setObjectName("includeButton") self.horizontalLayout_2.addWidget(self.includeButton) self.excludeButton = QtWidgets.QPushButton(self.groupBox) self.excludeButton.setObjectName("excludeButton") self.horizontalLayout_2.addWidget(self.excludeButton) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.verticalLayout_2.addLayout(self.horizontalLayout_2) self.verticalLayout.addWidget(self.groupBox) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem2) self.okButton = QtWidgets.QPushButton(SettingsDialog) self.okButton.setObjectName("okButton") self.horizontalLayout.addWidget(self.okButton) self.verticalLayout.addLayout(self.horizontalLayout) self.retranslateUi(SettingsDialog) self.okButton.clicked.connect(SettingsDialog.accept) QtCore.QMetaObject.connectSlotsByName(SettingsDialog) def retranslateUi(self, SettingsDialog): _translate = QtCore.QCoreApplication.translate SettingsDialog.setWindowTitle( _translate("SettingsDialog", "MultiLayer Select Settings")) self.label_2.setText(_translate("SettingsDialog", "Selection color")) self.label.setText( _translate("SettingsDialog", "Set active layer from selected feature")) self.label_3.setText( _translate("SettingsDialog", "Replace default selection actions (BETA)")) self.label_4.setText( _translate("SettingsDialog", "Display settings action on toolbar")) self.groupBox.setToolTip( _translate( "SettingsDialog", "Allow to define layers that will not be considered by the multiselection tools (i.e. vector basemaps)" )) self.groupBox.setTitle(_translate("SettingsDialog", "Included Layers")) self.onlyVisibleCheckBox.setToolTip( _translate( "SettingsDialog", "If checked, the active layer will be handled by the selection tools even if it is unchecked in the list below" )) self.onlyVisibleCheckBox.setText( _translate("SettingsDialog", "Exlude hidden layers")) self.includeActiveLayerCheckBox.setToolTip( _translate( "SettingsDialog", "If checked, the active layer will be handled by the selection tools even if it is unchecked in the list below" )) self.includeActiveLayerCheckBox.setText( _translate("SettingsDialog", "Always include active layer")) self.includeButton.setText(_translate("SettingsDialog", "Include All")) self.excludeButton.setText(_translate("SettingsDialog", "Exclude All")) self.okButton.setText(_translate("SettingsDialog", "Ok"))
def setupUi(self, Mapmashup): Mapmashup.setObjectName("Mapmashup") Mapmashup.resize(346, 360) self.verticalLayout = QtWidgets.QVBoxLayout(Mapmashup) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.leImageFolder = QtWidgets.QLineEdit(Mapmashup) self.leImageFolder.setObjectName("leImageFolder") self.gridLayout.addWidget(self.leImageFolder, 0, 0, 1, 1) self.butBrowseImg = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butBrowseImg.sizePolicy().hasHeightForWidth()) self.butBrowseImg.setSizePolicy(sizePolicy) self.butBrowseImg.setMinimumSize(QtCore.QSize(0, 0)) self.butBrowseImg.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.butBrowseImg.setObjectName("butBrowseImg") self.gridLayout.addWidget(self.butBrowseImg, 0, 1, 1, 1) self.leRegistrationFolder = QtWidgets.QLineEdit(Mapmashup) self.leRegistrationFolder.setObjectName("leRegistrationFolder") self.gridLayout.addWidget(self.leRegistrationFolder, 1, 0, 1, 1) self.butBrowseReg = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butBrowseReg.sizePolicy().hasHeightForWidth()) self.butBrowseReg.setSizePolicy(sizePolicy) self.butBrowseReg.setMinimumSize(QtCore.QSize(0, 0)) self.butBrowseReg.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.butBrowseReg.setObjectName("butBrowseReg") self.gridLayout.addWidget(self.butBrowseReg, 1, 1, 1, 1) self.cboRegistrations = QtWidgets.QComboBox(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cboRegistrations.sizePolicy().hasHeightForWidth()) self.cboRegistrations.setSizePolicy(sizePolicy) self.cboRegistrations.setObjectName("cboRegistrations") self.gridLayout.addWidget(self.cboRegistrations, 2, 0, 1, 1) self.butRefresh = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butRefresh.sizePolicy().hasHeightForWidth()) self.butRefresh.setSizePolicy(sizePolicy) self.butRefresh.setMinimumSize(QtCore.QSize(0, 0)) self.butRefresh.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.butRefresh.setObjectName("butRefresh") self.gridLayout.addWidget(self.butRefresh, 2, 1, 1, 1) self.verticalLayout.addLayout(self.gridLayout) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label_2 = QtWidgets.QLabel(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth()) self.label_2.setSizePolicy(sizePolicy) self.label_2.setObjectName("label_2") self.horizontalLayout.addWidget(self.label_2) self.leName = QtWidgets.QLineEdit(Mapmashup) self.leName.setObjectName("leName") self.horizontalLayout.addWidget(self.leName) self.verticalLayout.addLayout(self.horizontalLayout) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label = QtWidgets.QLabel(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy) self.label.setObjectName("label") self.horizontalLayout_3.addWidget(self.label) self.hsTransparency = QtWidgets.QSlider(Mapmashup) self.hsTransparency.setOrientation(QtCore.Qt.Horizontal) self.hsTransparency.setTickPosition(QtWidgets.QSlider.TicksBelow) self.hsTransparency.setTickInterval(10) self.hsTransparency.setObjectName("hsTransparency") self.horizontalLayout_3.addWidget(self.hsTransparency) self.verticalLayout.addLayout(self.horizontalLayout_3) self.groupBox = QtWidgets.QGroupBox(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth()) self.groupBox.setSizePolicy(sizePolicy) self.groupBox.setMinimumSize(QtCore.QSize(0, 0)) self.groupBox.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.groupBox.setObjectName("groupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.cbTransparentColour = QtWidgets.QCheckBox(self.groupBox) self.cbTransparentColour.setObjectName("cbTransparentColour") self.verticalLayout_2.addWidget(self.cbTransparentColour) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.label_3 = QtWidgets.QLabel(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth()) self.label_3.setSizePolicy(sizePolicy) self.label_3.setObjectName("label_3") self.horizontalLayout_2.addWidget(self.label_3) self.mcbTransparentColour = QgsColorButton(self.groupBox) self.mcbTransparentColour.setColor(QtGui.QColor(255, 255, 255)) self.mcbTransparentColour.setDefaultColor(QtGui.QColor(255, 255, 255)) self.mcbTransparentColour.setObjectName("mcbTransparentColour") self.horizontalLayout_2.addWidget(self.mcbTransparentColour) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.verticalLayout_2.addLayout(self.horizontalLayout_2) spacerItem1 = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem1) self.verticalLayout.addWidget(self.groupBox) self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.leStyleFile = QtWidgets.QLineEdit(Mapmashup) self.leStyleFile.setObjectName("leStyleFile") self.horizontalLayout_6.addWidget(self.leStyleFile) self.pbBrowseStyleFile = QtWidgets.QPushButton(Mapmashup) self.pbBrowseStyleFile.setMinimumSize(QtCore.QSize(100, 0)) self.pbBrowseStyleFile.setObjectName("pbBrowseStyleFile") self.horizontalLayout_6.addWidget(self.pbBrowseStyleFile) self.verticalLayout.addLayout(self.horizontalLayout_6) self.cbApplyStyle = QtWidgets.QCheckBox(Mapmashup) self.cbApplyStyle.setObjectName("cbApplyStyle") self.verticalLayout.addWidget(self.cbApplyStyle) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.butLoadImage = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butLoadImage.sizePolicy().hasHeightForWidth()) self.butLoadImage.setSizePolicy(sizePolicy) self.butLoadImage.setMinimumSize(QtCore.QSize(30, 30)) self.butLoadImage.setMaximumSize(QtCore.QSize(30, 30)) self.butLoadImage.setText("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap("images/mashup.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butLoadImage.setIcon(icon) self.butLoadImage.setIconSize(QtCore.QSize(26, 26)) self.butLoadImage.setObjectName("butLoadImage") self.horizontalLayout_4.addWidget(self.butLoadImage) self.butLoadImageFile = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butLoadImageFile.sizePolicy().hasHeightForWidth()) self.butLoadImageFile.setSizePolicy(sizePolicy) self.butLoadImageFile.setMinimumSize(QtCore.QSize(30, 30)) self.butLoadImageFile.setMaximumSize(QtCore.QSize(30, 30)) self.butLoadImageFile.setText("") icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap("images/mashup2.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butLoadImageFile.setIcon(icon1) self.butLoadImageFile.setIconSize(QtCore.QSize(26, 26)) self.butLoadImageFile.setObjectName("butLoadImageFile") self.horizontalLayout_4.addWidget(self.butLoadImageFile) self.butLoadImageBrowse = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butLoadImageBrowse.sizePolicy().hasHeightForWidth()) self.butLoadImageBrowse.setSizePolicy(sizePolicy) self.butLoadImageBrowse.setMinimumSize(QtCore.QSize(30, 30)) self.butLoadImageBrowse.setMaximumSize(QtCore.QSize(30, 30)) self.butLoadImageBrowse.setText("") icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap("images/mashup3.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butLoadImageBrowse.setIcon(icon2) self.butLoadImageBrowse.setIconSize(QtCore.QSize(26, 26)) self.butLoadImageBrowse.setObjectName("butLoadImageBrowse") self.horizontalLayout_4.addWidget(self.butLoadImageBrowse) self.butClearLast = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butClearLast.sizePolicy().hasHeightForWidth()) self.butClearLast.setSizePolicy(sizePolicy) self.butClearLast.setMinimumSize(QtCore.QSize(30, 30)) self.butClearLast.setMaximumSize(QtCore.QSize(30, 30)) self.butClearLast.setText("") icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap("images/removelayer.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butClearLast.setIcon(icon3) self.butClearLast.setIconSize(QtCore.QSize(26, 26)) self.butClearLast.setObjectName("butClearLast") self.horizontalLayout_4.addWidget(self.butClearLast) self.butClear = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butClear.sizePolicy().hasHeightForWidth()) self.butClear.setSizePolicy(sizePolicy) self.butClear.setMinimumSize(QtCore.QSize(30, 30)) self.butClear.setMaximumSize(QtCore.QSize(30, 30)) self.butClear.setText("") icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap("images/removelayers.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butClear.setIcon(icon4) self.butClear.setIconSize(QtCore.QSize(26, 26)) self.butClear.setObjectName("butClear") self.horizontalLayout_4.addWidget(self.butClear) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem2) self.butHelp = QtWidgets.QPushButton(Mapmashup) self.butHelp.setMinimumSize(QtCore.QSize(30, 30)) self.butHelp.setMaximumSize(QtCore.QSize(30, 30)) self.butHelp.setText("") icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap("images/info.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butHelp.setIcon(icon5) self.butHelp.setIconSize(QtCore.QSize(24, 24)) self.butHelp.setObjectName("butHelp") self.horizontalLayout_4.addWidget(self.butHelp) self.butGithub = QtWidgets.QPushButton(Mapmashup) self.butGithub.setMinimumSize(QtCore.QSize(30, 30)) self.butGithub.setMaximumSize(QtCore.QSize(30, 30)) self.butGithub.setText("") icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap("images/github.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butGithub.setIcon(icon6) self.butGithub.setIconSize(QtCore.QSize(24, 24)) self.butGithub.setObjectName("butGithub") self.horizontalLayout_4.addWidget(self.butGithub) self.verticalLayout.addLayout(self.horizontalLayout_4) spacerItem3 = QtWidgets.QSpacerItem(20, 150, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem3) self.groupBox.raise_() self.cbApplyStyle.raise_() self.butRefresh.raise_() self.butBrowseReg.raise_() self.butBrowseImg.raise_() self.leImageFolder.raise_() self.retranslateUi(Mapmashup) QtCore.QMetaObject.connectSlotsByName(Mapmashup)
class Ui_Mapmashup(object): def setupUi(self, Mapmashup): Mapmashup.setObjectName("Mapmashup") Mapmashup.resize(346, 360) self.verticalLayout = QtWidgets.QVBoxLayout(Mapmashup) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.leImageFolder = QtWidgets.QLineEdit(Mapmashup) self.leImageFolder.setObjectName("leImageFolder") self.gridLayout.addWidget(self.leImageFolder, 0, 0, 1, 1) self.butBrowseImg = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butBrowseImg.sizePolicy().hasHeightForWidth()) self.butBrowseImg.setSizePolicy(sizePolicy) self.butBrowseImg.setMinimumSize(QtCore.QSize(0, 0)) self.butBrowseImg.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.butBrowseImg.setObjectName("butBrowseImg") self.gridLayout.addWidget(self.butBrowseImg, 0, 1, 1, 1) self.leRegistrationFolder = QtWidgets.QLineEdit(Mapmashup) self.leRegistrationFolder.setObjectName("leRegistrationFolder") self.gridLayout.addWidget(self.leRegistrationFolder, 1, 0, 1, 1) self.butBrowseReg = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butBrowseReg.sizePolicy().hasHeightForWidth()) self.butBrowseReg.setSizePolicy(sizePolicy) self.butBrowseReg.setMinimumSize(QtCore.QSize(0, 0)) self.butBrowseReg.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.butBrowseReg.setObjectName("butBrowseReg") self.gridLayout.addWidget(self.butBrowseReg, 1, 1, 1, 1) self.cboRegistrations = QtWidgets.QComboBox(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cboRegistrations.sizePolicy().hasHeightForWidth()) self.cboRegistrations.setSizePolicy(sizePolicy) self.cboRegistrations.setObjectName("cboRegistrations") self.gridLayout.addWidget(self.cboRegistrations, 2, 0, 1, 1) self.butRefresh = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butRefresh.sizePolicy().hasHeightForWidth()) self.butRefresh.setSizePolicy(sizePolicy) self.butRefresh.setMinimumSize(QtCore.QSize(0, 0)) self.butRefresh.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.butRefresh.setObjectName("butRefresh") self.gridLayout.addWidget(self.butRefresh, 2, 1, 1, 1) self.verticalLayout.addLayout(self.gridLayout) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label_2 = QtWidgets.QLabel(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth()) self.label_2.setSizePolicy(sizePolicy) self.label_2.setObjectName("label_2") self.horizontalLayout.addWidget(self.label_2) self.leName = QtWidgets.QLineEdit(Mapmashup) self.leName.setObjectName("leName") self.horizontalLayout.addWidget(self.leName) self.verticalLayout.addLayout(self.horizontalLayout) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label = QtWidgets.QLabel(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy) self.label.setObjectName("label") self.horizontalLayout_3.addWidget(self.label) self.hsTransparency = QtWidgets.QSlider(Mapmashup) self.hsTransparency.setOrientation(QtCore.Qt.Horizontal) self.hsTransparency.setTickPosition(QtWidgets.QSlider.TicksBelow) self.hsTransparency.setTickInterval(10) self.hsTransparency.setObjectName("hsTransparency") self.horizontalLayout_3.addWidget(self.hsTransparency) self.verticalLayout.addLayout(self.horizontalLayout_3) self.groupBox = QtWidgets.QGroupBox(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth()) self.groupBox.setSizePolicy(sizePolicy) self.groupBox.setMinimumSize(QtCore.QSize(0, 0)) self.groupBox.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.groupBox.setObjectName("groupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.cbTransparentColour = QtWidgets.QCheckBox(self.groupBox) self.cbTransparentColour.setObjectName("cbTransparentColour") self.verticalLayout_2.addWidget(self.cbTransparentColour) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.label_3 = QtWidgets.QLabel(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth()) self.label_3.setSizePolicy(sizePolicy) self.label_3.setObjectName("label_3") self.horizontalLayout_2.addWidget(self.label_3) self.mcbTransparentColour = QgsColorButton(self.groupBox) self.mcbTransparentColour.setColor(QtGui.QColor(255, 255, 255)) self.mcbTransparentColour.setDefaultColor(QtGui.QColor(255, 255, 255)) self.mcbTransparentColour.setObjectName("mcbTransparentColour") self.horizontalLayout_2.addWidget(self.mcbTransparentColour) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.verticalLayout_2.addLayout(self.horizontalLayout_2) spacerItem1 = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem1) self.verticalLayout.addWidget(self.groupBox) self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.leStyleFile = QtWidgets.QLineEdit(Mapmashup) self.leStyleFile.setObjectName("leStyleFile") self.horizontalLayout_6.addWidget(self.leStyleFile) self.pbBrowseStyleFile = QtWidgets.QPushButton(Mapmashup) self.pbBrowseStyleFile.setMinimumSize(QtCore.QSize(100, 0)) self.pbBrowseStyleFile.setObjectName("pbBrowseStyleFile") self.horizontalLayout_6.addWidget(self.pbBrowseStyleFile) self.verticalLayout.addLayout(self.horizontalLayout_6) self.cbApplyStyle = QtWidgets.QCheckBox(Mapmashup) self.cbApplyStyle.setObjectName("cbApplyStyle") self.verticalLayout.addWidget(self.cbApplyStyle) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.butLoadImage = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butLoadImage.sizePolicy().hasHeightForWidth()) self.butLoadImage.setSizePolicy(sizePolicy) self.butLoadImage.setMinimumSize(QtCore.QSize(30, 30)) self.butLoadImage.setMaximumSize(QtCore.QSize(30, 30)) self.butLoadImage.setText("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap("images/mashup.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butLoadImage.setIcon(icon) self.butLoadImage.setIconSize(QtCore.QSize(26, 26)) self.butLoadImage.setObjectName("butLoadImage") self.horizontalLayout_4.addWidget(self.butLoadImage) self.butLoadImageFile = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butLoadImageFile.sizePolicy().hasHeightForWidth()) self.butLoadImageFile.setSizePolicy(sizePolicy) self.butLoadImageFile.setMinimumSize(QtCore.QSize(30, 30)) self.butLoadImageFile.setMaximumSize(QtCore.QSize(30, 30)) self.butLoadImageFile.setText("") icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap("images/mashup2.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butLoadImageFile.setIcon(icon1) self.butLoadImageFile.setIconSize(QtCore.QSize(26, 26)) self.butLoadImageFile.setObjectName("butLoadImageFile") self.horizontalLayout_4.addWidget(self.butLoadImageFile) self.butLoadImageBrowse = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butLoadImageBrowse.sizePolicy().hasHeightForWidth()) self.butLoadImageBrowse.setSizePolicy(sizePolicy) self.butLoadImageBrowse.setMinimumSize(QtCore.QSize(30, 30)) self.butLoadImageBrowse.setMaximumSize(QtCore.QSize(30, 30)) self.butLoadImageBrowse.setText("") icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap("images/mashup3.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butLoadImageBrowse.setIcon(icon2) self.butLoadImageBrowse.setIconSize(QtCore.QSize(26, 26)) self.butLoadImageBrowse.setObjectName("butLoadImageBrowse") self.horizontalLayout_4.addWidget(self.butLoadImageBrowse) self.butClearLast = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butClearLast.sizePolicy().hasHeightForWidth()) self.butClearLast.setSizePolicy(sizePolicy) self.butClearLast.setMinimumSize(QtCore.QSize(30, 30)) self.butClearLast.setMaximumSize(QtCore.QSize(30, 30)) self.butClearLast.setText("") icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap("images/removelayer.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butClearLast.setIcon(icon3) self.butClearLast.setIconSize(QtCore.QSize(26, 26)) self.butClearLast.setObjectName("butClearLast") self.horizontalLayout_4.addWidget(self.butClearLast) self.butClear = QtWidgets.QPushButton(Mapmashup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butClear.sizePolicy().hasHeightForWidth()) self.butClear.setSizePolicy(sizePolicy) self.butClear.setMinimumSize(QtCore.QSize(30, 30)) self.butClear.setMaximumSize(QtCore.QSize(30, 30)) self.butClear.setText("") icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap("images/removelayers.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butClear.setIcon(icon4) self.butClear.setIconSize(QtCore.QSize(26, 26)) self.butClear.setObjectName("butClear") self.horizontalLayout_4.addWidget(self.butClear) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem2) self.butHelp = QtWidgets.QPushButton(Mapmashup) self.butHelp.setMinimumSize(QtCore.QSize(30, 30)) self.butHelp.setMaximumSize(QtCore.QSize(30, 30)) self.butHelp.setText("") icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap("images/info.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butHelp.setIcon(icon5) self.butHelp.setIconSize(QtCore.QSize(24, 24)) self.butHelp.setObjectName("butHelp") self.horizontalLayout_4.addWidget(self.butHelp) self.butGithub = QtWidgets.QPushButton(Mapmashup) self.butGithub.setMinimumSize(QtCore.QSize(30, 30)) self.butGithub.setMaximumSize(QtCore.QSize(30, 30)) self.butGithub.setText("") icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap("images/github.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butGithub.setIcon(icon6) self.butGithub.setIconSize(QtCore.QSize(24, 24)) self.butGithub.setObjectName("butGithub") self.horizontalLayout_4.addWidget(self.butGithub) self.verticalLayout.addLayout(self.horizontalLayout_4) spacerItem3 = QtWidgets.QSpacerItem(20, 150, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem3) self.groupBox.raise_() self.cbApplyStyle.raise_() self.butRefresh.raise_() self.butBrowseReg.raise_() self.butBrowseImg.raise_() self.leImageFolder.raise_() self.retranslateUi(Mapmashup) QtCore.QMetaObject.connectSlotsByName(Mapmashup) def retranslateUi(self, Mapmashup): _translate = QtCore.QCoreApplication.translate Mapmashup.setWindowTitle(_translate("Mapmashup", "FSC QGIS plugin")) self.leImageFolder.setToolTip(_translate("Mapmashup", "Path of folder for temp image files")) self.butBrowseImg.setToolTip(_translate("Mapmashup", "Browse for image folder")) self.butBrowseImg.setText(_translate("Mapmashup", "Image folder")) self.leRegistrationFolder.setToolTip(_translate("Mapmashup", "Folder where WLD files are kept")) self.butBrowseReg.setToolTip(_translate("Mapmashup", "Browse for folder containing WLD files")) self.butBrowseReg.setText(_translate("Mapmashup", "Registration folder")) self.cboRegistrations.setToolTip(_translate("Mapmashup", "Select WLD registration info")) self.butRefresh.setToolTip(_translate("Mapmashup", "Refresh the list of WLD files")) self.butRefresh.setText(_translate("Mapmashup", "Refresh")) self.label_2.setText(_translate("Mapmashup", "Layer name")) self.leName.setToolTip(_translate("Mapmashup", "Text to be used in layer name")) self.label.setText(_translate("Mapmashup", "Global transparency")) self.hsTransparency.setToolTip(_translate("Mapmashup", "Set the layer\'s global transparency")) self.groupBox.setTitle(_translate("Mapmashup", "Transparent colour")) self.cbTransparentColour.setText(_translate("Mapmashup", "Set transparent background colour")) self.label_3.setText(_translate("Mapmashup", "Colour")) self.mcbTransparentColour.setToolTip(_translate("Mapmashup", "Use this button to select transparent colour")) self.mcbTransparentColour.setColorDialogTitle(_translate("Mapmashup", "Select transparent colour")) self.leStyleFile.setToolTip(_translate("Mapmashup", "Path of style file to apply to created maps")) self.pbBrowseStyleFile.setText(_translate("Mapmashup", "Browse style file")) self.cbApplyStyle.setText(_translate("Mapmashup", "Apply style")) self.butLoadImage.setToolTip(_translate("Mapmashup", "Paste image from clipboard to map with specified registration")) self.butLoadImageFile.setToolTip(_translate("Mapmashup", "Paste most recent image from image folder to map with specified registration")) self.butLoadImageBrowse.setToolTip(_translate("Mapmashup", "Browse for image to paste into map with specified registration")) self.butClearLast.setToolTip(_translate("Mapmashup", "Remove last mashed map")) self.butClear.setToolTip(_translate("Mapmashup", "Remove all mashed maps")) self.butHelp.setToolTip(_translate("Mapmashup", "<html><head/><body><p><span style=\" font-size:12pt;\">Get more information about this tool and help on using it. This links to a webpage with up-to-date information about the tool. </span></p></body></html>")) self.butGithub.setToolTip(_translate("Mapmashup", "<html><head/><body><p><span style=\" font-size:12pt; font-weight:600;\">Report an issue with this tool.</span><span style=\" font-size:12pt;\"> Using this channel is the best way to get attention quickly. Issues can be bug reports, enhancement requests or just questions. Anyone can view current issues, but to add a new issue you will need to sign up for a free Github account (very easy).</span></p></body></html>"))
def setupUi(self, CloneGeometryDialogBase): CloneGeometryDialogBase.setObjectName("CloneGeometryDialogBase") CloneGeometryDialogBase.resize(370, 279) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( CloneGeometryDialogBase.sizePolicy().hasHeightForWidth()) CloneGeometryDialogBase.setSizePolicy(sizePolicy) CloneGeometryDialogBase.setMinimumSize(QtCore.QSize(0, 0)) CloneGeometryDialogBase.setMaximumSize(QtCore.QSize(570, 320)) CloneGeometryDialogBase.setModal(True) self.verticalLayout_2 = QtWidgets.QVBoxLayout(CloneGeometryDialogBase) self.verticalLayout_2.setObjectName("verticalLayout_2") self.label = QtWidgets.QLabel(CloneGeometryDialogBase) self.label.setObjectName("label") self.verticalLayout_2.addWidget(self.label) self.lineEdit = QtWidgets.QLineEdit(CloneGeometryDialogBase) self.lineEdit.setReadOnly(False) self.lineEdit.setObjectName("lineEdit") self.verticalLayout_2.addWidget(self.lineEdit) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label_2 = QtWidgets.QLabel(CloneGeometryDialogBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.label_2.sizePolicy().hasHeightForWidth()) self.label_2.setSizePolicy(sizePolicy) self.label_2.setObjectName("label_2") self.horizontalLayout.addWidget(self.label_2) self.label_3 = QtWidgets.QLabel(CloneGeometryDialogBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.label_3.sizePolicy().hasHeightForWidth()) self.label_3.setSizePolicy(sizePolicy) self.label_3.setObjectName("label_3") self.horizontalLayout.addWidget(self.label_3) self.verticalLayout_2.addLayout(self.horizontalLayout) self.line = QtWidgets.QFrame(CloneGeometryDialogBase) self.line.setFrameShape(QtWidgets.QFrame.HLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.verticalLayout_2.addWidget(self.line) self.groupBox = QtWidgets.QGroupBox(CloneGeometryDialogBase) self.groupBox.setObjectName("groupBox") self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout.setSpacing(10) self.verticalLayout.setObjectName("verticalLayout") self.formLayout = QtWidgets.QFormLayout() self.formLayout.setObjectName("formLayout") self.radioToMemory = QtWidgets.QRadioButton(self.groupBox) self.radioToMemory.setChecked(True) self.radioToMemory.setObjectName("radioToMemory") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.radioToMemory) self.lineEdit_2 = QtWidgets.QLineEdit(self.groupBox) self.lineEdit_2.setStatusTip("") self.lineEdit_2.setWhatsThis("") self.lineEdit_2.setObjectName("lineEdit_2") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEdit_2) self.checkBoxAtrib = QtWidgets.QCheckBox(self.groupBox) self.checkBoxAtrib.setChecked(True) self.checkBoxAtrib.setObjectName("checkBoxAtrib") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.checkBoxAtrib) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setSpacing(0) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.checkBox_mask = QtWidgets.QCheckBox(self.groupBox) self.checkBox_mask.setObjectName("checkBox_mask") self.horizontalLayout_2.addWidget(self.checkBox_mask) self.maskColor = QgsColorButton(self.groupBox) self.maskColor.setObjectName("maskColor") self.horizontalLayout_2.addWidget(self.maskColor) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.formLayout.setLayout(1, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_2) self.verticalLayout.addLayout(self.formLayout) self.line_2 = QtWidgets.QFrame(self.groupBox) self.line_2.setFrameShape(QtWidgets.QFrame.HLine) self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_2.setObjectName("line_2") self.verticalLayout.addWidget(self.line_2) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.radioToLayer = QtWidgets.QRadioButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.radioToLayer.sizePolicy().hasHeightForWidth()) self.radioToLayer.setSizePolicy(sizePolicy) self.radioToLayer.setObjectName("radioToLayer") self.horizontalLayout_3.addWidget(self.radioToLayer) self.comboBox = QtWidgets.QComboBox(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.comboBox.sizePolicy().hasHeightForWidth()) self.comboBox.setSizePolicy(sizePolicy) self.comboBox.setObjectName("comboBox") self.horizontalLayout_3.addWidget(self.comboBox) self.verticalLayout.addLayout(self.horizontalLayout_3) self.verticalLayout_2.addWidget(self.groupBox) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem1) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.pushButton_about = QtWidgets.QPushButton(CloneGeometryDialogBase) self.pushButton_about.setStyleSheet( "background-color: rgba(255, 255, 255, 0);") self.pushButton_about.setText("") icon = QtGui.QIcon() icon.addPixmap( QtGui.QPixmap(":/plugins/_PrintTools/comp_print/icons/about.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_about.setIcon(icon) self.pushButton_about.setObjectName("pushButton_about") self.horizontalLayout_4.addWidget(self.pushButton_about) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem2) self.button_box = QtWidgets.QDialogButtonBox(CloneGeometryDialogBase) self.button_box.setOrientation(QtCore.Qt.Horizontal) self.button_box.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.button_box.setObjectName("button_box") self.horizontalLayout_4.addWidget(self.button_box) self.verticalLayout_2.addLayout(self.horizontalLayout_4) self.label_8 = QtWidgets.QLabel(CloneGeometryDialogBase) font = QtGui.QFont() font.setItalic(True) self.label_8.setFont(font) self.label_8.setAlignment(QtCore.Qt.AlignCenter) self.label_8.setObjectName("label_8") self.verticalLayout_2.addWidget(self.label_8) self.retranslateUi(CloneGeometryDialogBase) self.button_box.accepted.connect(CloneGeometryDialogBase.accept) self.button_box.rejected.connect(CloneGeometryDialogBase.reject) QtCore.QMetaObject.connectSlotsByName(CloneGeometryDialogBase)
class Ui_QIsoValDockBase(object): def setupUi(self, QIsoValDockBase): QIsoValDockBase.setObjectName("QIsoValDockBase") QIsoValDockBase.resize(344, 704) self.dockWidgetContents = QtWidgets.QWidget() sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.dockWidgetContents.sizePolicy().hasHeightForWidth()) self.dockWidgetContents.setSizePolicy(sizePolicy) self.dockWidgetContents.setObjectName("dockWidgetContents") self.verticalLayout = QtWidgets.QVBoxLayout(self.dockWidgetContents) self.verticalLayout.setObjectName("verticalLayout") self.groupBox = QtWidgets.QGroupBox(self.dockWidgetContents) self.groupBox.setObjectName("groupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label = QtWidgets.QLabel(self.groupBox) self.label.setObjectName("label") self.horizontalLayout.addWidget(self.label) self.edtAdd = QtWidgets.QLineEdit(self.groupBox) self.edtAdd.setObjectName("edtAdd") self.horizontalLayout.addWidget(self.edtAdd) self.btnPos = QtWidgets.QPushButton(self.groupBox) self.btnPos.setObjectName("btnPos") self.horizontalLayout.addWidget(self.btnPos) self.verticalLayout_2.addLayout(self.horizontalLayout) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.label_10 = QtWidgets.QLabel(self.groupBox) self.label_10.setObjectName("label_10") self.horizontalLayout_2.addWidget(self.label_10) self.rbnIsochron = QtWidgets.QRadioButton(self.groupBox) self.rbnIsochron.setObjectName("rbnIsochron") self.grpIsoType = QtWidgets.QButtonGroup(QIsoValDockBase) self.grpIsoType.setObjectName("grpIsoType") self.grpIsoType.addButton(self.rbnIsochron) self.horizontalLayout_2.addWidget(self.rbnIsochron) self.rbnIsoDistance = QtWidgets.QRadioButton(self.groupBox) self.rbnIsoDistance.setObjectName("rbnIsoDistance") self.grpIsoType.addButton(self.rbnIsoDistance) self.horizontalLayout_2.addWidget(self.rbnIsoDistance) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.verticalLayout_2.addLayout(self.horizontalLayout_2) self.verticalLayout.addWidget(self.groupBox) self.groupBox_3 = QtWidgets.QGroupBox(self.dockWidgetContents) self.groupBox_3.setObjectName("groupBox_3") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox_3) self.verticalLayout_3.setObjectName("verticalLayout_3") self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label_4 = QtWidgets.QLabel(self.groupBox_3) self.label_4.setObjectName("label_4") self.horizontalLayout_3.addWidget(self.label_4) self.sbxHour = QtWidgets.QSpinBox(self.groupBox_3) self.sbxHour.setObjectName("sbxHour") self.horizontalLayout_3.addWidget(self.sbxHour) self.label_7 = QtWidgets.QLabel(self.groupBox_3) self.label_7.setObjectName("label_7") self.horizontalLayout_3.addWidget(self.label_7) self.sbxMinute = QtWidgets.QSpinBox(self.groupBox_3) self.sbxMinute.setObjectName("sbxMinute") self.horizontalLayout_3.addWidget(self.sbxMinute) self.label_8 = QtWidgets.QLabel(self.groupBox_3) self.label_8.setObjectName("label_8") self.horizontalLayout_3.addWidget(self.label_8) self.label_5 = QtWidgets.QLabel(self.groupBox_3) self.label_5.setObjectName("label_5") self.horizontalLayout_3.addWidget(self.label_5) self.sbxKilometer = QtWidgets.QSpinBox(self.groupBox_3) self.sbxKilometer.setObjectName("sbxKilometer") self.horizontalLayout_3.addWidget(self.sbxKilometer) self.label_6 = QtWidgets.QLabel(self.groupBox_3) self.label_6.setObjectName("label_6") self.horizontalLayout_3.addWidget(self.label_6) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem1) self.verticalLayout_3.addLayout(self.horizontalLayout_3) self.verticalLayout.addWidget(self.groupBox_3) self.groupBox_5 = QtWidgets.QGroupBox(self.dockWidgetContents) self.groupBox_5.setObjectName("groupBox_5") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupBox_5) self.verticalLayout_7.setObjectName("verticalLayout_7") self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.label_3 = QtWidgets.QLabel(self.groupBox_5) self.label_3.setObjectName("label_3") self.horizontalLayout_5.addWidget(self.label_3) self.rbnWalk = QtWidgets.QRadioButton(self.groupBox_5) self.rbnWalk.setObjectName("rbnWalk") self.grpIsoMode = QtWidgets.QButtonGroup(QIsoValDockBase) self.grpIsoMode.setObjectName("grpIsoMode") self.grpIsoMode.addButton(self.rbnWalk) self.horizontalLayout_5.addWidget(self.rbnWalk) self.rbnDrive = QtWidgets.QRadioButton(self.groupBox_5) self.rbnDrive.setObjectName("rbnDrive") self.grpIsoMode.addButton(self.rbnDrive) self.horizontalLayout_5.addWidget(self.rbnDrive) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem2) self.verticalLayout_7.addLayout(self.horizontalLayout_5) self.horizontalLayout_10 = QtWidgets.QHBoxLayout() self.horizontalLayout_10.setObjectName("horizontalLayout_10") self.label_9 = QtWidgets.QLabel(self.groupBox_5) self.label_9.setObjectName("label_9") self.horizontalLayout_10.addWidget(self.label_9) self.rbnDepart = QtWidgets.QRadioButton(self.groupBox_5) self.rbnDepart.setObjectName("rbnDepart") self.grpIsoSens = QtWidgets.QButtonGroup(QIsoValDockBase) self.grpIsoSens.setObjectName("grpIsoSens") self.grpIsoSens.addButton(self.rbnDepart) self.horizontalLayout_10.addWidget(self.rbnDepart) self.rbnArrival = QtWidgets.QRadioButton(self.groupBox_5) self.rbnArrival.setObjectName("rbnArrival") self.grpIsoSens.addButton(self.rbnArrival) self.horizontalLayout_10.addWidget(self.rbnArrival) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_10.addItem(spacerItem3) self.verticalLayout_7.addLayout(self.horizontalLayout_10) self.verticalLayout.addWidget(self.groupBox_5) self.groupBox_6 = QtWidgets.QGroupBox(self.dockWidgetContents) self.groupBox_6.setObjectName("groupBox_6") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_6) self.verticalLayout_6.setObjectName("verticalLayout_6") self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.chkToll = QtWidgets.QCheckBox(self.groupBox_6) self.chkToll.setObjectName("chkToll") self.horizontalLayout_8.addWidget(self.chkToll) self.verticalLayout_6.addLayout(self.horizontalLayout_8) self.horizontalLayout_7 = QtWidgets.QHBoxLayout() self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.chkBridge = QtWidgets.QCheckBox(self.groupBox_6) self.chkBridge.setObjectName("chkBridge") self.horizontalLayout_7.addWidget(self.chkBridge) self.verticalLayout_6.addLayout(self.horizontalLayout_7) self.horizontalLayout_9 = QtWidgets.QHBoxLayout() self.horizontalLayout_9.setObjectName("horizontalLayout_9") self.chkTunnel = QtWidgets.QCheckBox(self.groupBox_6) self.chkTunnel.setObjectName("chkTunnel") self.horizontalLayout_9.addWidget(self.chkTunnel) self.verticalLayout_6.addLayout(self.horizontalLayout_9) self.verticalLayout.addWidget(self.groupBox_6) self.groupBox_2 = QtWidgets.QGroupBox(self.dockWidgetContents) self.groupBox_2.setObjectName("groupBox_2") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_2) self.verticalLayout_4.setObjectName("verticalLayout_4") self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.label_2 = QtWidgets.QLabel(self.groupBox_2) self.label_2.setObjectName("label_2") self.horizontalLayout_6.addWidget(self.label_2) self.mColorButton = QgsColorButton(self.groupBox_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mColorButton.sizePolicy().hasHeightForWidth()) self.mColorButton.setSizePolicy(sizePolicy) self.mColorButton.setMinimumSize(QtCore.QSize(36, 16)) self.mColorButton.setMaximumSize(QtCore.QSize(36, 16777215)) self.mColorButton.setObjectName("mColorButton") self.horizontalLayout_6.addWidget(self.mColorButton) spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem4) self.verticalLayout_4.addLayout(self.horizontalLayout_6) self.horizontalLayout_11 = QtWidgets.QHBoxLayout() self.horizontalLayout_11.setObjectName("horizontalLayout_11") self.label_11 = QtWidgets.QLabel(self.groupBox_2) self.label_11.setObjectName("label_11") self.horizontalLayout_11.addWidget(self.label_11) self.mColorButton_2 = QgsColorButton(self.groupBox_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mColorButton_2.sizePolicy().hasHeightForWidth()) self.mColorButton_2.setSizePolicy(sizePolicy) self.mColorButton_2.setMinimumSize(QtCore.QSize(36, 16)) self.mColorButton_2.setMaximumSize(QtCore.QSize(36, 16777215)) self.mColorButton_2.setObjectName("mColorButton_2") self.horizontalLayout_11.addWidget(self.mColorButton_2) self.label_12 = QtWidgets.QLabel(self.groupBox_2) self.label_12.setObjectName("label_12") self.horizontalLayout_11.addWidget(self.label_12) self.doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox_2) self.doubleSpinBox.setObjectName("doubleSpinBox") self.horizontalLayout_11.addWidget(self.doubleSpinBox) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_11.addItem(spacerItem5) self.verticalLayout_4.addLayout(self.horizontalLayout_11) self.verticalLayout.addWidget(self.groupBox_2) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem6) self.btnLaunch = QtWidgets.QPushButton(self.dockWidgetContents) self.btnLaunch.setObjectName("btnLaunch") self.horizontalLayout_4.addWidget(self.btnLaunch) spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem7) self.btnExport = QtWidgets.QPushButton(self.dockWidgetContents) self.btnExport.setObjectName("btnExport") self.horizontalLayout_4.addWidget(self.btnExport) spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem8) self.verticalLayout.addLayout(self.horizontalLayout_4) self.pgbProcess = QtWidgets.QProgressBar(self.dockWidgetContents) self.pgbProcess.setProperty("value", 24) self.pgbProcess.setObjectName("pgbProcess") self.verticalLayout.addWidget(self.pgbProcess) spacerItem9 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem9) QIsoValDockBase.setWidget(self.dockWidgetContents) self.retranslateUi(QIsoValDockBase) QtCore.QMetaObject.connectSlotsByName(QIsoValDockBase) QIsoValDockBase.setTabOrder(self.edtAdd, self.btnPos) QIsoValDockBase.setTabOrder(self.btnPos, self.rbnIsochron) QIsoValDockBase.setTabOrder(self.rbnIsochron, self.rbnIsoDistance) QIsoValDockBase.setTabOrder(self.rbnIsoDistance, self.sbxHour) QIsoValDockBase.setTabOrder(self.sbxHour, self.sbxMinute) QIsoValDockBase.setTabOrder(self.sbxMinute, self.rbnDrive) QIsoValDockBase.setTabOrder(self.rbnDrive, self.chkToll) QIsoValDockBase.setTabOrder(self.chkToll, self.chkBridge) QIsoValDockBase.setTabOrder(self.chkBridge, self.chkTunnel) def retranslateUi(self, QIsoValDockBase): _translate = QtCore.QCoreApplication.translate QIsoValDockBase.setWindowTitle( _translate("QIsoValDockBase", "Carte isochrone/isodistance")) self.groupBox.setTitle( _translate("QIsoValDockBase", "Paramètres généraux")) self.label.setText(_translate("QIsoValDockBase", "Adresse de départ :")) self.btnPos.setText(_translate("QIsoValDockBase", "Position")) self.label_10.setText(_translate("QIsoValDockBase", "Type de carte :")) self.rbnIsochron.setText(_translate("QIsoValDockBase", "Isochrone")) self.rbnIsoDistance.setText( _translate("QIsoValDockBase", "Isodistance")) self.groupBox_3.setTitle( _translate("QIsoValDockBase", "Étendue de la recherche")) self.label_4.setText(_translate("QIsoValDockBase", "Temps :")) self.label_7.setText(_translate("QIsoValDockBase", "h")) self.label_8.setText(_translate("QIsoValDockBase", "min")) self.label_5.setText(_translate("QIsoValDockBase", "Distance :")) self.label_6.setText(_translate("QIsoValDockBase", "km")) self.groupBox_5.setTitle( _translate("QIsoValDockBase", "Paramètres de parcours")) self.label_3.setText( _translate("QIsoValDockBase", "Mode de transport :")) self.rbnWalk.setText(_translate("QIsoValDockBase", "Piéton")) self.rbnDrive.setText(_translate("QIsoValDockBase", "Voiture")) self.label_9.setText( _translate("QIsoValDockBase", "Sens de parcours :")) self.rbnDepart.setText(_translate("QIsoValDockBase", "Départ")) self.rbnArrival.setText(_translate("QIsoValDockBase", "Arrivée")) self.groupBox_6.setTitle( _translate("QIsoValDockBase", "Passages autorisés")) self.chkToll.setText(_translate("QIsoValDockBase", "Péages")) self.chkBridge.setText(_translate("QIsoValDockBase", "Ponts")) self.chkTunnel.setText(_translate("QIsoValDockBase", "Tunnels")) self.groupBox_2.setTitle( _translate("QIsoValDockBase", "Paramètres de symbologie")) self.label_2.setText( _translate("QIsoValDockBase", "Couleur de remplissage :")) self.label_11.setText( _translate("QIsoValDockBase", "Couleur de trait :")) self.label_12.setText( _translate("QIsoValDockBase", "Largeur de trait (mm) :")) self.btnLaunch.setText( _translate("QIsoValDockBase", "Lancer le calcul")) self.btnExport.setText( _translate("QIsoValDockBase", "Exporter le résultat"))
def setupUi(self, AnimationDialog): AnimationDialog.setObjectName("AnimationDialog") AnimationDialog.resize(583, 550) self.verticalLayout_6 = QtWidgets.QVBoxLayout(AnimationDialog) self.verticalLayout_6.setObjectName("verticalLayout_6") self.tabWidget = QtWidgets.QTabWidget(AnimationDialog) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.formLayout = QtWidgets.QFormLayout(self.tab) self.formLayout.setObjectName("formLayout") self.label_6 = QtWidgets.QLabel(self.tab) self.label_6.setObjectName("label_6") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_6) self.cboStart = QtWidgets.QComboBox(self.tab) self.cboStart.setObjectName("cboStart") self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.cboStart) self.label_7 = QtWidgets.QLabel(self.tab) self.label_7.setObjectName("label_7") self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_7) self.cboEnd = QtWidgets.QComboBox(self.tab) self.cboEnd.setObjectName("cboEnd") self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.cboEnd) self.label_13 = QtWidgets.QLabel(self.tab) self.label_13.setObjectName("label_13") self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_13) self.cboResult = QtWidgets.QComboBox(self.tab) self.cboResult.setObjectName("cboResult") self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.cboResult) self.label_11 = QtWidgets.QLabel(self.tab) self.label_11.setObjectName("label_11") self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.label_11) self.cboScalar = QtWidgets.QComboBox(self.tab) self.cboScalar.setObjectName("cboScalar") self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.cboScalar) self.label_12 = QtWidgets.QLabel(self.tab) self.label_12.setObjectName("label_12") self.formLayout.setWidget(6, QtWidgets.QFormLayout.LabelRole, self.label_12) self.cboVector = QtWidgets.QComboBox(self.tab) self.cboVector.setObjectName("cboVector") self.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.cboVector) self.label_2 = QtWidgets.QLabel(self.tab) self.label_2.setObjectName("label_2") self.formLayout.setWidget(7, QtWidgets.QFormLayout.LabelRole, self.label_2) self.spinWidth = QtWidgets.QSpinBox(self.tab) self.spinWidth.setMinimum(16) self.spinWidth.setMaximum(9999) self.spinWidth.setProperty("value", 1920) self.spinWidth.setObjectName("spinWidth") self.formLayout.setWidget(7, QtWidgets.QFormLayout.FieldRole, self.spinWidth) self.label_3 = QtWidgets.QLabel(self.tab) self.label_3.setObjectName("label_3") self.formLayout.setWidget(8, QtWidgets.QFormLayout.LabelRole, self.label_3) self.spinHeight = QtWidgets.QSpinBox(self.tab) self.spinHeight.setMinimum(16) self.spinHeight.setMaximum(9999) self.spinHeight.setProperty("value", 1080) self.spinHeight.setObjectName("spinHeight") self.formLayout.setWidget(8, QtWidgets.QFormLayout.FieldRole, self.spinHeight) self.label_8 = QtWidgets.QLabel(self.tab) self.label_8.setObjectName("label_8") self.formLayout.setWidget(9, QtWidgets.QFormLayout.LabelRole, self.label_8) self.spinSpeed = QtWidgets.QSpinBox(self.tab) self.spinSpeed.setMinimum(1) self.spinSpeed.setMaximum(60) self.spinSpeed.setProperty("value", 5) self.spinSpeed.setObjectName("spinSpeed") self.formLayout.setWidget(9, QtWidgets.QFormLayout.FieldRole, self.spinSpeed) self.label = QtWidgets.QLabel(self.tab) self.label.setObjectName("label") self.formLayout.setWidget(10, QtWidgets.QFormLayout.LabelRole, self.label) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.editOutput = QtWidgets.QLineEdit(self.tab) self.editOutput.setObjectName("editOutput") self.horizontalLayout.addWidget(self.editOutput) self.btnBrowseOutput = QtWidgets.QToolButton(self.tab) self.btnBrowseOutput.setObjectName("btnBrowseOutput") self.horizontalLayout.addWidget(self.btnBrowseOutput) self.formLayout.setLayout(10, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.tab_2) self.verticalLayout_5.setObjectName("verticalLayout_5") self.radLayoutDefault = QtWidgets.QRadioButton(self.tab_2) self.radLayoutDefault.setChecked(True) self.radLayoutDefault.setObjectName("radLayoutDefault") self.verticalLayout_5.addWidget(self.radLayoutDefault) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") spacerItem = QtWidgets.QSpacerItem(28, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.scrollArea = QtWidgets.QScrollArea(self.tab_2) self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 488, 1125)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout_4.setObjectName("verticalLayout_4") self.groupTitle = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupTitle.setCheckable(True) self.groupTitle.setChecked(False) self.groupTitle.setObjectName("groupTitle") self.verticalLayout = QtWidgets.QVBoxLayout(self.groupTitle) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout_5 = QtWidgets.QGridLayout() self.gridLayout_5.setObjectName("gridLayout_5") self.label_14 = QtWidgets.QLabel(self.groupTitle) self.label_14.setObjectName("label_14") self.gridLayout_5.addWidget(self.label_14, 0, 0, 1, 1) self.cboPosTitle = QtWidgets.QComboBox(self.groupTitle) self.cboPosTitle.setObjectName("cboPosTitle") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.gridLayout_5.addWidget(self.cboPosTitle, 4, 1, 1, 2) self.fbtnTitle = QgsFontButton(self.groupTitle) self.fbtnTitle.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnTitle.setFont(font) self.fbtnTitle.setMode(QgsFontButton.ModeQFont) font = QtGui.QFont() font.setPointSize(8) self.fbtnTitle.setCurrentFont(font) self.fbtnTitle.setObjectName("fbtnTitle") self.gridLayout_5.addWidget(self.fbtnTitle, 1, 1, 1, 2) self.colorTitleText = QgsColorButton(self.groupTitle) self.colorTitleText.setMinimumSize(QtCore.QSize(24, 21)) self.colorTitleText.setColor(QtGui.QColor(0, 0, 0)) self.colorTitleText.setShowNoColor(True) self.colorTitleText.setObjectName("colorTitleText") self.gridLayout_5.addWidget(self.colorTitleText, 1, 4, 1, 1) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem1, 1, 3, 1, 1) self.label_17 = QtWidgets.QLabel(self.groupTitle) self.label_17.setObjectName("label_17") self.gridLayout_5.addWidget(self.label_17, 4, 0, 1, 1) self.colorTitleBackground = QgsColorButton(self.groupTitle) self.colorTitleBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorTitleBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorTitleBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorTitleBackground.setShowNoColor(True) self.colorTitleBackground.setObjectName("colorTitleBackground") self.gridLayout_5.addWidget(self.colorTitleBackground, 2, 4, 1, 1) self.labelTitle = QtWidgets.QLineEdit(self.groupTitle) self.labelTitle.setObjectName("labelTitle") self.gridLayout_5.addWidget(self.labelTitle, 0, 1, 1, 4) self.cbTitleBackground = QtWidgets.QCheckBox(self.groupTitle) self.cbTitleBackground.setObjectName("cbTitleBackground") self.gridLayout_5.addWidget(self.cbTitleBackground, 2, 0, 1, 4) self.label_15 = QtWidgets.QLabel(self.groupTitle) self.label_15.setObjectName("label_15") self.gridLayout_5.addWidget(self.label_15, 1, 0, 1, 1) self.cbTitleFrame = QtWidgets.QCheckBox(self.groupTitle) self.cbTitleFrame.setObjectName("cbTitleFrame") self.gridLayout_5.addWidget(self.cbTitleFrame, 3, 0, 1, 4) self.colorTitleFrame = QgsColorButton(self.groupTitle) self.colorTitleFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorTitleFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorTitleFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorTitleFrame.setObjectName("colorTitleFrame") self.gridLayout_5.addWidget(self.colorTitleFrame, 3, 4, 1, 1) self.gridLayout_5.setColumnStretch(0, 1) self.gridLayout_5.setColumnStretch(1, 10) self.verticalLayout.addLayout(self.gridLayout_5) self.verticalLayout_4.addWidget(self.groupTitle) self.groupTime = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupTime.setCheckable(True) self.groupTime.setChecked(False) self.groupTime.setObjectName("groupTime") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupTime) self.verticalLayout_2.setObjectName("verticalLayout_2") self.gridLayout_6 = QtWidgets.QGridLayout() self.gridLayout_6.setObjectName("gridLayout_6") self.colorTimeBackground = QgsColorButton(self.groupTime) self.colorTimeBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorTimeBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorTimeBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorTimeBackground.setObjectName("colorTimeBackground") self.gridLayout_6.addWidget(self.colorTimeBackground, 2, 3, 1, 1) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_6.addItem(spacerItem2, 1, 2, 1, 1) self.fbtnTime = QgsFontButton(self.groupTime) self.fbtnTime.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnTime.setFont(font) self.fbtnTime.setMode(QgsFontButton.ModeQFont) self.fbtnTime.setObjectName("fbtnTime") self.gridLayout_6.addWidget(self.fbtnTime, 1, 1, 1, 1) self.cbTimeBackground = QtWidgets.QCheckBox(self.groupTime) self.cbTimeBackground.setObjectName("cbTimeBackground") self.gridLayout_6.addWidget(self.cbTimeBackground, 2, 0, 1, 3) self.label_18 = QtWidgets.QLabel(self.groupTime) self.label_18.setObjectName("label_18") self.gridLayout_6.addWidget(self.label_18, 1, 0, 1, 1) self.label_16 = QtWidgets.QLabel(self.groupTime) self.label_16.setObjectName("label_16") self.gridLayout_6.addWidget(self.label_16, 0, 0, 1, 1) self.cboPosTime = QtWidgets.QComboBox(self.groupTime) self.cboPosTime.setObjectName("cboPosTime") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.gridLayout_6.addWidget(self.cboPosTime, 4, 1, 1, 1) self.label_19 = QtWidgets.QLabel(self.groupTime) self.label_19.setObjectName("label_19") self.gridLayout_6.addWidget(self.label_19, 4, 0, 1, 1) self.colorTimeText = QgsColorButton(self.groupTime) self.colorTimeText.setMinimumSize(QtCore.QSize(24, 21)) self.colorTimeText.setColor(QtGui.QColor(0, 0, 0)) self.colorTimeText.setObjectName("colorTimeText") self.gridLayout_6.addWidget(self.colorTimeText, 1, 3, 1, 1) self.labelTime = QtWidgets.QLineEdit(self.groupTime) self.labelTime.setObjectName("labelTime") self.gridLayout_6.addWidget(self.labelTime, 0, 1, 1, 3) self.cbTimeFrame = QtWidgets.QCheckBox(self.groupTime) self.cbTimeFrame.setObjectName("cbTimeFrame") self.gridLayout_6.addWidget(self.cbTimeFrame, 3, 0, 1, 3) self.colorTimeFrame = QgsColorButton(self.groupTime) self.colorTimeFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorTimeFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorTimeFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorTimeFrame.setObjectName("colorTimeFrame") self.gridLayout_6.addWidget(self.colorTimeFrame, 3, 3, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout_6) self.verticalLayout_4.addWidget(self.groupTime) self.groupLegend = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupLegend.setCheckable(True) self.groupLegend.setChecked(False) self.groupLegend.setObjectName("groupLegend") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupLegend) self.verticalLayout_3.setObjectName("verticalLayout_3") self.gridLayout_7 = QtWidgets.QGridLayout() self.gridLayout_7.setObjectName("gridLayout_7") self.label_22 = QtWidgets.QLabel(self.groupLegend) self.label_22.setObjectName("label_22") self.gridLayout_7.addWidget(self.label_22, 4, 0, 1, 1) self.cboPosLegend = QtWidgets.QComboBox(self.groupLegend) self.cboPosLegend.setObjectName("cboPosLegend") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.gridLayout_7.addWidget(self.cboPosLegend, 4, 1, 1, 1) self.label_20 = QtWidgets.QLabel(self.groupLegend) self.label_20.setObjectName("label_20") self.gridLayout_7.addWidget(self.label_20, 0, 0, 1, 1) self.colorLegendText = QgsColorButton(self.groupLegend) self.colorLegendText.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendText.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendText.setObjectName("colorLegendText") self.gridLayout_7.addWidget(self.colorLegendText, 1, 3, 1, 1) self.label_21 = QtWidgets.QLabel(self.groupLegend) self.label_21.setObjectName("label_21") self.gridLayout_7.addWidget(self.label_21, 1, 0, 1, 1) self.cbLegendBackground = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendBackground.setObjectName("cbLegendBackground") self.gridLayout_7.addWidget(self.cbLegendBackground, 2, 0, 1, 3) self.labelLegend = QtWidgets.QLineEdit(self.groupLegend) self.labelLegend.setObjectName("labelLegend") self.gridLayout_7.addWidget(self.labelLegend, 0, 1, 1, 3) self.colorLegendBackground = QgsColorButton(self.groupLegend) self.colorLegendBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setObjectName("colorLegendBackground") self.gridLayout_7.addWidget(self.colorLegendBackground, 2, 3, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_7.addItem(spacerItem3, 1, 2, 1, 1) self.fbtnLegend = QgsFontButton(self.groupLegend) self.fbtnLegend.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnLegend.setFont(font) self.fbtnLegend.setMode(QgsFontButton.ModeQFont) self.fbtnLegend.setObjectName("fbtnLegend") self.gridLayout_7.addWidget(self.fbtnLegend, 1, 1, 1, 1) self.cbLegendFrame = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendFrame.setObjectName("cbLegendFrame") self.gridLayout_7.addWidget(self.cbLegendFrame, 3, 0, 1, 3) self.colorLegendFrame = QgsColorButton(self.groupLegend) self.colorLegendFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setObjectName("colorLegendFrame") self.gridLayout_7.addWidget(self.colorLegendFrame, 3, 3, 1, 1) self.verticalLayout_3.addLayout(self.gridLayout_7) self.verticalLayout_4.addWidget(self.groupLegend) self.groupPlot = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupPlot.setCheckable(True) self.groupPlot.setChecked(False) self.groupPlot.setCollapsed(False) self.groupPlot.setObjectName("groupPlot") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupPlot) self.verticalLayout_7.setObjectName("verticalLayout_7") self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setObjectName("gridLayout_4") self.btnPlotUp = QtWidgets.QToolButton(self.groupPlot) self.btnPlotUp.setObjectName("btnPlotUp") self.gridLayout_4.addWidget(self.btnPlotUp, 0, 2, 1, 1) self.btnAddPlot = QtWidgets.QToolButton(self.groupPlot) self.btnAddPlot.setObjectName("btnAddPlot") self.gridLayout_4.addWidget(self.btnAddPlot, 0, 0, 1, 1) self.btnRemovePlot = QtWidgets.QToolButton(self.groupPlot) self.btnRemovePlot.setObjectName("btnRemovePlot") self.gridLayout_4.addWidget(self.btnRemovePlot, 0, 1, 1, 1) self.tablePlots = QtWidgets.QTableWidget(self.groupPlot) self.tablePlots.setMinimumSize(QtCore.QSize(0, 150)) self.tablePlots.setObjectName("tablePlots") self.tablePlots.setColumnCount(4) self.tablePlots.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(3, item) self.tablePlots.horizontalHeader().setVisible(False) self.tablePlots.horizontalHeader().setCascadingSectionResizes(False) self.tablePlots.horizontalHeader().setDefaultSectionSize(110) self.tablePlots.horizontalHeader().setMinimumSectionSize(80) self.tablePlots.verticalHeader().setDefaultSectionSize(20) self.gridLayout_4.addWidget(self.tablePlots, 1, 0, 1, 5) spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_4.addItem(spacerItem4, 0, 4, 1, 1) self.btnPlotDown = QtWidgets.QToolButton(self.groupPlot) self.btnPlotDown.setObjectName("btnPlotDown") self.gridLayout_4.addWidget(self.btnPlotDown, 0, 3, 1, 1) self.tableGraphics = QtWidgets.QTableWidget(self.groupPlot) self.tableGraphics.setMinimumSize(QtCore.QSize(0, 150)) self.tableGraphics.setObjectName("tableGraphics") self.tableGraphics.setColumnCount(4) self.tableGraphics.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(3, item) self.tableGraphics.horizontalHeader().setVisible(False) self.tableGraphics.horizontalHeader().setDefaultSectionSize(110) self.tableGraphics.verticalHeader().setDefaultSectionSize(20) self.tableGraphics.verticalHeader().setMinimumSectionSize(20) self.gridLayout_4.addWidget(self.tableGraphics, 3, 0, 1, 5) self.label_23 = QtWidgets.QLabel(self.groupPlot) self.label_23.setObjectName("label_23") self.gridLayout_4.addWidget(self.label_23, 2, 0, 1, 5) self.verticalLayout_7.addLayout(self.gridLayout_4) self.verticalLayout_4.addWidget(self.groupPlot) self.groupImages = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupImages.setCheckable(True) self.groupImages.setChecked(False) self.groupImages.setCollapsed(False) self.groupImages.setObjectName("groupImages") self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupImages) self.verticalLayout_8.setObjectName("verticalLayout_8") self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setObjectName("gridLayout_3") self.btnImageUp = QtWidgets.QToolButton(self.groupImages) self.btnImageUp.setObjectName("btnImageUp") self.gridLayout_3.addWidget(self.btnImageUp, 0, 2, 1, 1) self.btnRemoveImage = QtWidgets.QToolButton(self.groupImages) self.btnRemoveImage.setObjectName("btnRemoveImage") self.gridLayout_3.addWidget(self.btnRemoveImage, 0, 1, 1, 1) self.btnAddImage = QtWidgets.QToolButton(self.groupImages) self.btnAddImage.setObjectName("btnAddImage") self.gridLayout_3.addWidget(self.btnAddImage, 0, 0, 1, 1) self.btnImageDown = QtWidgets.QToolButton(self.groupImages) self.btnImageDown.setObjectName("btnImageDown") self.gridLayout_3.addWidget(self.btnImageDown, 0, 3, 1, 1) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem5, 0, 4, 1, 1) self.tableImages = QtWidgets.QTableWidget(self.groupImages) self.tableImages.setMinimumSize(QtCore.QSize(0, 150)) self.tableImages.setObjectName("tableImages") self.tableImages.setColumnCount(3) self.tableImages.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(2, item) self.tableImages.horizontalHeader().setDefaultSectionSize(130) self.tableImages.horizontalHeader().setMinimumSectionSize(39) self.tableImages.verticalHeader().setDefaultSectionSize(20) self.gridLayout_3.addWidget(self.tableImages, 1, 0, 1, 5) self.verticalLayout_8.addLayout(self.gridLayout_3) self.verticalLayout_4.addWidget(self.groupImages) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.horizontalLayout_2.addWidget(self.scrollArea) self.verticalLayout_5.addLayout(self.horizontalLayout_2) self.radLayoutCustom = QtWidgets.QRadioButton(self.tab_2) self.radLayoutCustom.setObjectName("radLayoutCustom") self.verticalLayout_5.addWidget(self.radLayoutCustom) self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.btnBrowseTemplate = QtWidgets.QToolButton(self.tab_2) self.btnBrowseTemplate.setObjectName("btnBrowseTemplate") self.gridLayout_2.addWidget(self.btnBrowseTemplate, 0, 3, 1, 1) self.label_5 = QtWidgets.QLabel(self.tab_2) self.label_5.setObjectName("label_5") self.gridLayout_2.addWidget(self.label_5, 0, 1, 1, 1) self.editTemplate = QtWidgets.QLineEdit(self.tab_2) self.editTemplate.setObjectName("editTemplate") self.gridLayout_2.addWidget(self.editTemplate, 0, 2, 1, 1) self.label_10 = QtWidgets.QLabel(self.tab_2) self.label_10.setObjectName("label_10") self.gridLayout_2.addWidget(self.label_10, 1, 1, 1, 3) spacerItem6 = QtWidgets.QSpacerItem(28, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem6, 0, 0, 2, 1) self.verticalLayout_5.addLayout(self.gridLayout_2) self.tabWidget.addTab(self.tab_2, "") self.tab_3 = QtWidgets.QWidget() self.tab_3.setObjectName("tab_3") self.formLayout_2 = QtWidgets.QFormLayout(self.tab_3) self.formLayout_2.setObjectName("formLayout_2") self.label_4 = QtWidgets.QLabel(self.tab_3) self.label_4.setObjectName("label_4") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_4) self.radQualBest = QtWidgets.QRadioButton(self.tab_3) self.radQualBest.setChecked(False) self.radQualBest.setObjectName("radQualBest") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.radQualBest) self.radQualHigh = QtWidgets.QRadioButton(self.tab_3) self.radQualHigh.setChecked(True) self.radQualHigh.setObjectName("radQualHigh") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.radQualHigh) self.radQualLow = QtWidgets.QRadioButton(self.tab_3) self.radQualLow.setObjectName("radQualLow") self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.radQualLow) self.groupBox = QtWidgets.QGroupBox(self.tab_3) self.groupBox.setFlat(True) self.groupBox.setObjectName("groupBox") self.gridLayout = QtWidgets.QGridLayout(self.groupBox) self.gridLayout.setObjectName("gridLayout") self.btnBrowseFfmpegPath = QtWidgets.QToolButton(self.groupBox) self.btnBrowseFfmpegPath.setObjectName("btnBrowseFfmpegPath") self.gridLayout.addWidget(self.btnBrowseFfmpegPath, 3, 2, 1, 1) self.editFfmpegPath = QtWidgets.QLineEdit(self.groupBox) self.editFfmpegPath.setObjectName("editFfmpegPath") self.gridLayout.addWidget(self.editFfmpegPath, 3, 1, 1, 1) self.radFfmpegCustom = QtWidgets.QRadioButton(self.groupBox) self.radFfmpegCustom.setObjectName("radFfmpegCustom") self.gridLayout.addWidget(self.radFfmpegCustom, 3, 0, 1, 1) self.radFfmpegSystem = QtWidgets.QRadioButton(self.groupBox) self.radFfmpegSystem.setChecked(True) self.radFfmpegSystem.setObjectName("radFfmpegSystem") self.gridLayout.addWidget(self.radFfmpegSystem, 2, 0, 1, 4) self.label_9 = QtWidgets.QLabel(self.groupBox) self.label_9.setObjectName("label_9") self.gridLayout.addWidget(self.label_9, 1, 0, 1, 3) self.formLayout_2.setWidget(4, QtWidgets.QFormLayout.SpanningRole, self.groupBox) spacerItem7 = QtWidgets.QSpacerItem(20, 500, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.formLayout_2.setItem(3, QtWidgets.QFormLayout.FieldRole, spacerItem7) self.tabWidget.addTab(self.tab_3, "") self.verticalLayout_6.addWidget(self.tabWidget) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.progress = QtWidgets.QProgressBar(AnimationDialog) self.progress.setProperty("value", 0) self.progress.setObjectName("progress") self.horizontalLayout_4.addWidget(self.progress) self.pbPreview = QtWidgets.QPushButton(AnimationDialog) self.pbPreview.setObjectName("pbPreview") self.horizontalLayout_4.addWidget(self.pbPreview) self.buttonBox = QtWidgets.QDialogButtonBox(AnimationDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.horizontalLayout_4.addWidget(self.buttonBox) self.verticalLayout_6.addLayout(self.horizontalLayout_4) self.retranslateUi(AnimationDialog) self.tabWidget.setCurrentIndex(0) self.buttonBox.rejected.connect(AnimationDialog.reject) QtCore.QMetaObject.connectSlotsByName(AnimationDialog)
def setupUi(self, OptionsDialog): OptionsDialog.setObjectName("OptionsDialog") OptionsDialog.resize(461, 561) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/imgFMV/images/custom-options.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) OptionsDialog.setWindowIcon(icon) self.verticalLayout = QtWidgets.QVBoxLayout(OptionsDialog) self.verticalLayout.setContentsMargins(5, 5, 5, 5) self.verticalLayout.setSpacing(5) self.verticalLayout.setObjectName("verticalLayout") self.tabWidget = QtWidgets.QTabWidget(OptionsDialog) self.tabWidget.setObjectName("tabWidget") self.Magnifier_tab = QtWidgets.QWidget() self.Magnifier_tab.setObjectName("Magnifier_tab") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.Magnifier_tab) self.verticalLayout_2.setObjectName("verticalLayout_2") self.label_3 = QtWidgets.QLabel(self.Magnifier_tab) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label_3.setFont(font) self.label_3.setObjectName("label_3") self.verticalLayout_2.addWidget(self.label_3) self.sl_Size = QtWidgets.QSlider(self.Magnifier_tab) self.sl_Size.setMinimum(100) self.sl_Size.setMaximum(500) self.sl_Size.setSliderPosition(250) self.sl_Size.setOrientation(QtCore.Qt.Horizontal) self.sl_Size.setObjectName("sl_Size") self.verticalLayout_2.addWidget(self.sl_Size) self.label_2 = QtWidgets.QLabel(self.Magnifier_tab) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label_2.setFont(font) self.label_2.setObjectName("label_2") self.verticalLayout_2.addWidget(self.label_2) self.sb_factor = QtWidgets.QSpinBox(self.Magnifier_tab) self.sb_factor.setMinimum(2) self.sb_factor.setMaximum(5) self.sb_factor.setObjectName("sb_factor") self.verticalLayout_2.addWidget(self.sb_factor) self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setObjectName("gridLayout_3") self.label = QtWidgets.QLabel(self.Magnifier_tab) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label.setFont(font) self.label.setObjectName("label") self.gridLayout_3.addWidget(self.label, 0, 0, 1, 1) self.rB_Square_m = QtWidgets.QRadioButton(self.Magnifier_tab) self.rB_Square_m.setObjectName("rB_Square_m") self.gridLayout_3.addWidget(self.rB_Square_m, 0, 1, 1, 1) self.rB_Circle_m = QtWidgets.QRadioButton(self.Magnifier_tab) self.rB_Circle_m.setChecked(True) self.rB_Circle_m.setObjectName("rB_Circle_m") self.gridLayout_3.addWidget(self.rB_Circle_m, 0, 2, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout_3) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem) self.tabWidget.addTab(self.Magnifier_tab, "") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.tab) self.verticalLayout_3.setObjectName("verticalLayout_3") self.groupBox = QtWidgets.QGroupBox(self.tab) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.groupBox.setFont(font) self.groupBox.setStyleSheet("QGroupBox { font-weight: bold; }") self.groupBox.setFlat(True) self.groupBox.setObjectName("groupBox") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout_6.setObjectName("verticalLayout_6") self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.label_4 = QtWidgets.QLabel(self.groupBox) self.label_4.setObjectName("label_4") self.horizontalLayout_4.addWidget(self.label_4) self.poly_width = QtWidgets.QSpinBox(self.groupBox) self.poly_width.setMinimum(1) self.poly_width.setMaximum(10) self.poly_width.setProperty("value", 3) self.poly_width.setObjectName("poly_width") self.horizontalLayout_4.addWidget(self.poly_width) self.label_10 = QtWidgets.QLabel(self.groupBox) self.label_10.setObjectName("label_10") self.horizontalLayout_4.addWidget(self.label_10) self.poly_pen = QgsColorButton(self.groupBox) self.poly_pen.setColor(QtGui.QColor(252, 215, 108)) self.poly_pen.setAllowOpacity(True) self.poly_pen.setDefaultColor(QtGui.QColor(252, 215, 108)) self.poly_pen.setObjectName("poly_pen") self.horizontalLayout_4.addWidget(self.poly_pen) self.verticalLayout_6.addLayout(self.horizontalLayout_4) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label_11 = QtWidgets.QLabel(self.groupBox) self.label_11.setObjectName("label_11") self.horizontalLayout_3.addWidget(self.label_11) self.poly_brush = QgsColorButton(self.groupBox) self.poly_brush.setColor(QtGui.QColor(252, 215, 108, 100)) self.poly_brush.setAllowOpacity(True) self.poly_brush.setDefaultColor(QtGui.QColor(252, 215, 108, 100)) self.poly_brush.setObjectName("poly_brush") self.horizontalLayout_3.addWidget(self.poly_brush) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem1) self.verticalLayout_6.addLayout(self.horizontalLayout_3) self.verticalLayout_3.addWidget(self.groupBox) self.groupBox_2 = QtWidgets.QGroupBox(self.tab) self.groupBox_2.setStyleSheet("QGroupBox { font-weight: bold; }") self.groupBox_2.setFlat(True) self.groupBox_2.setObjectName("groupBox_2") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupBox_2) self.verticalLayout_5.setObjectName("verticalLayout_5") self.horizontalLayout_7 = QtWidgets.QHBoxLayout() self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.label_5 = QtWidgets.QLabel(self.groupBox_2) self.label_5.setObjectName("label_5") self.horizontalLayout_7.addWidget(self.label_5) self.point_width = QtWidgets.QSpinBox(self.groupBox_2) self.point_width.setMinimum(1) self.point_width.setMaximum(20) self.point_width.setProperty("value", 10) self.point_width.setObjectName("point_width") self.horizontalLayout_7.addWidget(self.point_width) self.label_8 = QtWidgets.QLabel(self.groupBox_2) self.label_8.setObjectName("label_8") self.horizontalLayout_7.addWidget(self.label_8) self.point_pen = QgsColorButton(self.groupBox_2) self.point_pen.setColor(QtGui.QColor(220, 20, 60)) self.point_pen.setAllowOpacity(True) self.point_pen.setDefaultColor(QtGui.QColor(220, 20, 60)) self.point_pen.setObjectName("point_pen") self.horizontalLayout_7.addWidget(self.point_pen) self.verticalLayout_5.addLayout(self.horizontalLayout_7) self.verticalLayout_3.addWidget(self.groupBox_2) self.groupBox_3 = QtWidgets.QGroupBox(self.tab) self.groupBox_3.setStyleSheet("QGroupBox { font-weight: bold; }") self.groupBox_3.setFlat(True) self.groupBox_3.setObjectName("groupBox_3") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_3) self.verticalLayout_4.setObjectName("verticalLayout_4") self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.label_6 = QtWidgets.QLabel(self.groupBox_3) self.label_6.setObjectName("label_6") self.horizontalLayout_8.addWidget(self.label_6) self.lines_width = QtWidgets.QSpinBox(self.groupBox_3) self.lines_width.setMinimum(1) self.lines_width.setMaximum(10) self.lines_width.setProperty("value", 3) self.lines_width.setObjectName("lines_width") self.horizontalLayout_8.addWidget(self.lines_width) self.label_12 = QtWidgets.QLabel(self.groupBox_3) self.label_12.setObjectName("label_12") self.horizontalLayout_8.addWidget(self.label_12) self.lines_pen = QgsColorButton(self.groupBox_3) self.lines_pen.setColor(QtGui.QColor(252, 215, 108)) self.lines_pen.setAllowOpacity(True) self.lines_pen.setDefaultColor(QtGui.QColor(252, 215, 108)) self.lines_pen.setObjectName("lines_pen") self.horizontalLayout_8.addWidget(self.lines_pen) self.verticalLayout_4.addLayout(self.horizontalLayout_8) self.label_9 = QtWidgets.QLabel(self.groupBox_3) self.label_9.setText("") self.label_9.setObjectName("label_9") self.verticalLayout_4.addWidget(self.label_9) self.verticalLayout_3.addWidget(self.groupBox_3) self.groupBox_4 = QtWidgets.QGroupBox(self.tab) self.groupBox_4.setStyleSheet("QGroupBox { font-weight: bold; }") self.groupBox_4.setFlat(True) self.groupBox_4.setObjectName("groupBox_4") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupBox_4) self.verticalLayout_7.setObjectName("verticalLayout_7") self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.label_7 = QtWidgets.QLabel(self.groupBox_4) self.label_7.setObjectName("label_7") self.horizontalLayout_6.addWidget(self.label_7) self.measures_width = QtWidgets.QSpinBox(self.groupBox_4) self.measures_width.setMinimum(1) self.measures_width.setMaximum(10) self.measures_width.setProperty("value", 3) self.measures_width.setObjectName("measures_width") self.horizontalLayout_6.addWidget(self.measures_width) self.label_14 = QtWidgets.QLabel(self.groupBox_4) self.label_14.setObjectName("label_14") self.horizontalLayout_6.addWidget(self.label_14) self.measures_pen = QgsColorButton(self.groupBox_4) self.measures_pen.setColor(QtGui.QColor(185, 224, 175)) self.measures_pen.setAllowOpacity(True) self.measures_pen.setDefaultColor(QtGui.QColor(185, 224, 175)) self.measures_pen.setObjectName("measures_pen") self.horizontalLayout_6.addWidget(self.measures_pen) self.verticalLayout_7.addLayout(self.horizontalLayout_6) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.label_13 = QtWidgets.QLabel(self.groupBox_4) self.label_13.setObjectName("label_13") self.horizontalLayout_5.addWidget(self.label_13) self.measures_brush = QgsColorButton(self.groupBox_4) self.measures_brush.setColor(QtGui.QColor(185, 224, 175, 100)) self.measures_brush.setAllowOpacity(True) self.measures_brush.setDefaultColor(QtGui.QColor(185, 224, 175, 100)) self.measures_brush.setObjectName("measures_brush") self.horizontalLayout_5.addWidget(self.measures_brush) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem2) self.verticalLayout_7.addLayout(self.horizontalLayout_5) self.verticalLayout_3.addWidget(self.groupBox_4) spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_3.addItem(spacerItem3) self.tabWidget.addTab(self.tab, "") self.verticalLayout.addWidget(self.tabWidget) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem4) self.pushButton = QtWidgets.QPushButton(OptionsDialog) self.pushButton.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) self.pushButton.setObjectName("pushButton") self.horizontalLayout.addWidget(self.pushButton) self.verticalLayout.addLayout(self.horizontalLayout) self.retranslateUi(OptionsDialog) self.tabWidget.setCurrentIndex(0) self.pushButton.pressed.connect(OptionsDialog.SaveOptions) self.sl_Size.sliderMoved['int'].connect(OptionsDialog.showSizeTip) QtCore.QMetaObject.connectSlotsByName(OptionsDialog)
def setupUi(self, QIsoValDockBase): QIsoValDockBase.setObjectName("QIsoValDockBase") QIsoValDockBase.resize(344, 704) self.dockWidgetContents = QtWidgets.QWidget() sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.dockWidgetContents.sizePolicy().hasHeightForWidth()) self.dockWidgetContents.setSizePolicy(sizePolicy) self.dockWidgetContents.setObjectName("dockWidgetContents") self.verticalLayout = QtWidgets.QVBoxLayout(self.dockWidgetContents) self.verticalLayout.setObjectName("verticalLayout") self.groupBox = QtWidgets.QGroupBox(self.dockWidgetContents) self.groupBox.setObjectName("groupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label = QtWidgets.QLabel(self.groupBox) self.label.setObjectName("label") self.horizontalLayout.addWidget(self.label) self.edtAdd = QtWidgets.QLineEdit(self.groupBox) self.edtAdd.setObjectName("edtAdd") self.horizontalLayout.addWidget(self.edtAdd) self.btnPos = QtWidgets.QPushButton(self.groupBox) self.btnPos.setObjectName("btnPos") self.horizontalLayout.addWidget(self.btnPos) self.verticalLayout_2.addLayout(self.horizontalLayout) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.label_10 = QtWidgets.QLabel(self.groupBox) self.label_10.setObjectName("label_10") self.horizontalLayout_2.addWidget(self.label_10) self.rbnIsochron = QtWidgets.QRadioButton(self.groupBox) self.rbnIsochron.setObjectName("rbnIsochron") self.grpIsoType = QtWidgets.QButtonGroup(QIsoValDockBase) self.grpIsoType.setObjectName("grpIsoType") self.grpIsoType.addButton(self.rbnIsochron) self.horizontalLayout_2.addWidget(self.rbnIsochron) self.rbnIsoDistance = QtWidgets.QRadioButton(self.groupBox) self.rbnIsoDistance.setObjectName("rbnIsoDistance") self.grpIsoType.addButton(self.rbnIsoDistance) self.horizontalLayout_2.addWidget(self.rbnIsoDistance) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.verticalLayout_2.addLayout(self.horizontalLayout_2) self.verticalLayout.addWidget(self.groupBox) self.groupBox_3 = QtWidgets.QGroupBox(self.dockWidgetContents) self.groupBox_3.setObjectName("groupBox_3") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox_3) self.verticalLayout_3.setObjectName("verticalLayout_3") self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label_4 = QtWidgets.QLabel(self.groupBox_3) self.label_4.setObjectName("label_4") self.horizontalLayout_3.addWidget(self.label_4) self.sbxHour = QtWidgets.QSpinBox(self.groupBox_3) self.sbxHour.setObjectName("sbxHour") self.horizontalLayout_3.addWidget(self.sbxHour) self.label_7 = QtWidgets.QLabel(self.groupBox_3) self.label_7.setObjectName("label_7") self.horizontalLayout_3.addWidget(self.label_7) self.sbxMinute = QtWidgets.QSpinBox(self.groupBox_3) self.sbxMinute.setObjectName("sbxMinute") self.horizontalLayout_3.addWidget(self.sbxMinute) self.label_8 = QtWidgets.QLabel(self.groupBox_3) self.label_8.setObjectName("label_8") self.horizontalLayout_3.addWidget(self.label_8) self.label_5 = QtWidgets.QLabel(self.groupBox_3) self.label_5.setObjectName("label_5") self.horizontalLayout_3.addWidget(self.label_5) self.sbxKilometer = QtWidgets.QSpinBox(self.groupBox_3) self.sbxKilometer.setObjectName("sbxKilometer") self.horizontalLayout_3.addWidget(self.sbxKilometer) self.label_6 = QtWidgets.QLabel(self.groupBox_3) self.label_6.setObjectName("label_6") self.horizontalLayout_3.addWidget(self.label_6) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem1) self.verticalLayout_3.addLayout(self.horizontalLayout_3) self.verticalLayout.addWidget(self.groupBox_3) self.groupBox_5 = QtWidgets.QGroupBox(self.dockWidgetContents) self.groupBox_5.setObjectName("groupBox_5") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupBox_5) self.verticalLayout_7.setObjectName("verticalLayout_7") self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.label_3 = QtWidgets.QLabel(self.groupBox_5) self.label_3.setObjectName("label_3") self.horizontalLayout_5.addWidget(self.label_3) self.rbnWalk = QtWidgets.QRadioButton(self.groupBox_5) self.rbnWalk.setObjectName("rbnWalk") self.grpIsoMode = QtWidgets.QButtonGroup(QIsoValDockBase) self.grpIsoMode.setObjectName("grpIsoMode") self.grpIsoMode.addButton(self.rbnWalk) self.horizontalLayout_5.addWidget(self.rbnWalk) self.rbnDrive = QtWidgets.QRadioButton(self.groupBox_5) self.rbnDrive.setObjectName("rbnDrive") self.grpIsoMode.addButton(self.rbnDrive) self.horizontalLayout_5.addWidget(self.rbnDrive) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem2) self.verticalLayout_7.addLayout(self.horizontalLayout_5) self.horizontalLayout_10 = QtWidgets.QHBoxLayout() self.horizontalLayout_10.setObjectName("horizontalLayout_10") self.label_9 = QtWidgets.QLabel(self.groupBox_5) self.label_9.setObjectName("label_9") self.horizontalLayout_10.addWidget(self.label_9) self.rbnDepart = QtWidgets.QRadioButton(self.groupBox_5) self.rbnDepart.setObjectName("rbnDepart") self.grpIsoSens = QtWidgets.QButtonGroup(QIsoValDockBase) self.grpIsoSens.setObjectName("grpIsoSens") self.grpIsoSens.addButton(self.rbnDepart) self.horizontalLayout_10.addWidget(self.rbnDepart) self.rbnArrival = QtWidgets.QRadioButton(self.groupBox_5) self.rbnArrival.setObjectName("rbnArrival") self.grpIsoSens.addButton(self.rbnArrival) self.horizontalLayout_10.addWidget(self.rbnArrival) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_10.addItem(spacerItem3) self.verticalLayout_7.addLayout(self.horizontalLayout_10) self.verticalLayout.addWidget(self.groupBox_5) self.groupBox_6 = QtWidgets.QGroupBox(self.dockWidgetContents) self.groupBox_6.setObjectName("groupBox_6") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_6) self.verticalLayout_6.setObjectName("verticalLayout_6") self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.chkToll = QtWidgets.QCheckBox(self.groupBox_6) self.chkToll.setObjectName("chkToll") self.horizontalLayout_8.addWidget(self.chkToll) self.verticalLayout_6.addLayout(self.horizontalLayout_8) self.horizontalLayout_7 = QtWidgets.QHBoxLayout() self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.chkBridge = QtWidgets.QCheckBox(self.groupBox_6) self.chkBridge.setObjectName("chkBridge") self.horizontalLayout_7.addWidget(self.chkBridge) self.verticalLayout_6.addLayout(self.horizontalLayout_7) self.horizontalLayout_9 = QtWidgets.QHBoxLayout() self.horizontalLayout_9.setObjectName("horizontalLayout_9") self.chkTunnel = QtWidgets.QCheckBox(self.groupBox_6) self.chkTunnel.setObjectName("chkTunnel") self.horizontalLayout_9.addWidget(self.chkTunnel) self.verticalLayout_6.addLayout(self.horizontalLayout_9) self.verticalLayout.addWidget(self.groupBox_6) self.groupBox_2 = QtWidgets.QGroupBox(self.dockWidgetContents) self.groupBox_2.setObjectName("groupBox_2") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_2) self.verticalLayout_4.setObjectName("verticalLayout_4") self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.label_2 = QtWidgets.QLabel(self.groupBox_2) self.label_2.setObjectName("label_2") self.horizontalLayout_6.addWidget(self.label_2) self.mColorButton = QgsColorButton(self.groupBox_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mColorButton.sizePolicy().hasHeightForWidth()) self.mColorButton.setSizePolicy(sizePolicy) self.mColorButton.setMinimumSize(QtCore.QSize(36, 16)) self.mColorButton.setMaximumSize(QtCore.QSize(36, 16777215)) self.mColorButton.setObjectName("mColorButton") self.horizontalLayout_6.addWidget(self.mColorButton) spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem4) self.verticalLayout_4.addLayout(self.horizontalLayout_6) self.horizontalLayout_11 = QtWidgets.QHBoxLayout() self.horizontalLayout_11.setObjectName("horizontalLayout_11") self.label_11 = QtWidgets.QLabel(self.groupBox_2) self.label_11.setObjectName("label_11") self.horizontalLayout_11.addWidget(self.label_11) self.mColorButton_2 = QgsColorButton(self.groupBox_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mColorButton_2.sizePolicy().hasHeightForWidth()) self.mColorButton_2.setSizePolicy(sizePolicy) self.mColorButton_2.setMinimumSize(QtCore.QSize(36, 16)) self.mColorButton_2.setMaximumSize(QtCore.QSize(36, 16777215)) self.mColorButton_2.setObjectName("mColorButton_2") self.horizontalLayout_11.addWidget(self.mColorButton_2) self.label_12 = QtWidgets.QLabel(self.groupBox_2) self.label_12.setObjectName("label_12") self.horizontalLayout_11.addWidget(self.label_12) self.doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox_2) self.doubleSpinBox.setObjectName("doubleSpinBox") self.horizontalLayout_11.addWidget(self.doubleSpinBox) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_11.addItem(spacerItem5) self.verticalLayout_4.addLayout(self.horizontalLayout_11) self.verticalLayout.addWidget(self.groupBox_2) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem6) self.btnLaunch = QtWidgets.QPushButton(self.dockWidgetContents) self.btnLaunch.setObjectName("btnLaunch") self.horizontalLayout_4.addWidget(self.btnLaunch) spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem7) self.btnExport = QtWidgets.QPushButton(self.dockWidgetContents) self.btnExport.setObjectName("btnExport") self.horizontalLayout_4.addWidget(self.btnExport) spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem8) self.verticalLayout.addLayout(self.horizontalLayout_4) self.pgbProcess = QtWidgets.QProgressBar(self.dockWidgetContents) self.pgbProcess.setProperty("value", 24) self.pgbProcess.setObjectName("pgbProcess") self.verticalLayout.addWidget(self.pgbProcess) spacerItem9 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem9) QIsoValDockBase.setWidget(self.dockWidgetContents) self.retranslateUi(QIsoValDockBase) QtCore.QMetaObject.connectSlotsByName(QIsoValDockBase) QIsoValDockBase.setTabOrder(self.edtAdd, self.btnPos) QIsoValDockBase.setTabOrder(self.btnPos, self.rbnIsochron) QIsoValDockBase.setTabOrder(self.rbnIsochron, self.rbnIsoDistance) QIsoValDockBase.setTabOrder(self.rbnIsoDistance, self.sbxHour) QIsoValDockBase.setTabOrder(self.sbxHour, self.sbxMinute) QIsoValDockBase.setTabOrder(self.sbxMinute, self.rbnDrive) QIsoValDockBase.setTabOrder(self.rbnDrive, self.chkToll) QIsoValDockBase.setTabOrder(self.chkToll, self.chkBridge) QIsoValDockBase.setTabOrder(self.chkBridge, self.chkTunnel)
def setupUi(self, AnimationDialog): AnimationDialog.setObjectName("AnimationDialog") AnimationDialog.resize(583, 550) self.verticalLayout_6 = QtWidgets.QVBoxLayout(AnimationDialog) self.verticalLayout_6.setObjectName("verticalLayout_6") self.tabWidget = QtWidgets.QTabWidget(AnimationDialog) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.formLayout = QtWidgets.QFormLayout(self.tab) self.formLayout.setObjectName("formLayout") self.label_6 = QtWidgets.QLabel(self.tab) self.label_6.setObjectName("label_6") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_6) self.cboStart = QtWidgets.QComboBox(self.tab) self.cboStart.setObjectName("cboStart") self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.cboStart) self.label_7 = QtWidgets.QLabel(self.tab) self.label_7.setObjectName("label_7") self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_7) self.cboEnd = QtWidgets.QComboBox(self.tab) self.cboEnd.setObjectName("cboEnd") self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.cboEnd) self.label_13 = QtWidgets.QLabel(self.tab) self.label_13.setObjectName("label_13") self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_13) self.cboResult = QtWidgets.QComboBox(self.tab) self.cboResult.setObjectName("cboResult") self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.cboResult) self.label_11 = QtWidgets.QLabel(self.tab) self.label_11.setObjectName("label_11") self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.label_11) self.cboScalar = QtWidgets.QComboBox(self.tab) self.cboScalar.setObjectName("cboScalar") self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.cboScalar) self.label_12 = QtWidgets.QLabel(self.tab) self.label_12.setObjectName("label_12") self.formLayout.setWidget(6, QtWidgets.QFormLayout.LabelRole, self.label_12) self.cboVector = QtWidgets.QComboBox(self.tab) self.cboVector.setObjectName("cboVector") self.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.cboVector) self.label_2 = QtWidgets.QLabel(self.tab) self.label_2.setObjectName("label_2") self.formLayout.setWidget(7, QtWidgets.QFormLayout.LabelRole, self.label_2) self.spinWidth = QtWidgets.QSpinBox(self.tab) self.spinWidth.setMinimum(16) self.spinWidth.setMaximum(9999) self.spinWidth.setProperty("value", 1920) self.spinWidth.setObjectName("spinWidth") self.formLayout.setWidget(7, QtWidgets.QFormLayout.FieldRole, self.spinWidth) self.label_3 = QtWidgets.QLabel(self.tab) self.label_3.setObjectName("label_3") self.formLayout.setWidget(8, QtWidgets.QFormLayout.LabelRole, self.label_3) self.spinHeight = QtWidgets.QSpinBox(self.tab) self.spinHeight.setMinimum(16) self.spinHeight.setMaximum(9999) self.spinHeight.setProperty("value", 1080) self.spinHeight.setObjectName("spinHeight") self.formLayout.setWidget(8, QtWidgets.QFormLayout.FieldRole, self.spinHeight) self.label_8 = QtWidgets.QLabel(self.tab) self.label_8.setObjectName("label_8") self.formLayout.setWidget(9, QtWidgets.QFormLayout.LabelRole, self.label_8) self.spinSpeed = QtWidgets.QSpinBox(self.tab) self.spinSpeed.setMinimum(1) self.spinSpeed.setMaximum(60) self.spinSpeed.setProperty("value", 5) self.spinSpeed.setObjectName("spinSpeed") self.formLayout.setWidget(9, QtWidgets.QFormLayout.FieldRole, self.spinSpeed) self.label = QtWidgets.QLabel(self.tab) self.label.setObjectName("label") self.formLayout.setWidget(10, QtWidgets.QFormLayout.LabelRole, self.label) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.editOutput = QtWidgets.QLineEdit(self.tab) self.editOutput.setObjectName("editOutput") self.horizontalLayout.addWidget(self.editOutput) self.btnBrowseOutput = QtWidgets.QToolButton(self.tab) self.btnBrowseOutput.setObjectName("btnBrowseOutput") self.horizontalLayout.addWidget(self.btnBrowseOutput) self.formLayout.setLayout(10, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.tab_2) self.verticalLayout_5.setObjectName("verticalLayout_5") self.radLayoutDefault = QtWidgets.QRadioButton(self.tab_2) self.radLayoutDefault.setChecked(True) self.radLayoutDefault.setObjectName("radLayoutDefault") self.verticalLayout_5.addWidget(self.radLayoutDefault) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") spacerItem = QtWidgets.QSpacerItem(28, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.scrollArea = QtWidgets.QScrollArea(self.tab_2) self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect( 0, 0, 488, 1125)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.verticalLayout_4 = QtWidgets.QVBoxLayout( self.scrollAreaWidgetContents) self.verticalLayout_4.setObjectName("verticalLayout_4") self.groupTitle = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupTitle.setCheckable(True) self.groupTitle.setChecked(False) self.groupTitle.setObjectName("groupTitle") self.verticalLayout = QtWidgets.QVBoxLayout(self.groupTitle) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout_5 = QtWidgets.QGridLayout() self.gridLayout_5.setObjectName("gridLayout_5") self.label_14 = QtWidgets.QLabel(self.groupTitle) self.label_14.setObjectName("label_14") self.gridLayout_5.addWidget(self.label_14, 0, 0, 1, 1) self.cboPosTitle = QtWidgets.QComboBox(self.groupTitle) self.cboPosTitle.setObjectName("cboPosTitle") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.gridLayout_5.addWidget(self.cboPosTitle, 4, 1, 1, 2) self.fbtnTitle = QgsFontButton(self.groupTitle) self.fbtnTitle.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnTitle.setFont(font) self.fbtnTitle.setMode(QgsFontButton.ModeQFont) font = QtGui.QFont() font.setPointSize(8) self.fbtnTitle.setCurrentFont(font) self.fbtnTitle.setObjectName("fbtnTitle") self.gridLayout_5.addWidget(self.fbtnTitle, 1, 1, 1, 2) self.colorTitleText = QgsColorButton(self.groupTitle) self.colorTitleText.setMinimumSize(QtCore.QSize(24, 21)) self.colorTitleText.setColor(QtGui.QColor(0, 0, 0)) self.colorTitleText.setShowNoColor(True) self.colorTitleText.setObjectName("colorTitleText") self.gridLayout_5.addWidget(self.colorTitleText, 1, 4, 1, 1) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem1, 1, 3, 1, 1) self.label_17 = QtWidgets.QLabel(self.groupTitle) self.label_17.setObjectName("label_17") self.gridLayout_5.addWidget(self.label_17, 4, 0, 1, 1) self.colorTitleBackground = QgsColorButton(self.groupTitle) self.colorTitleBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorTitleBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorTitleBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorTitleBackground.setShowNoColor(True) self.colorTitleBackground.setObjectName("colorTitleBackground") self.gridLayout_5.addWidget(self.colorTitleBackground, 2, 4, 1, 1) self.labelTitle = QtWidgets.QLineEdit(self.groupTitle) self.labelTitle.setObjectName("labelTitle") self.gridLayout_5.addWidget(self.labelTitle, 0, 1, 1, 4) self.cbTitleBackground = QtWidgets.QCheckBox(self.groupTitle) self.cbTitleBackground.setObjectName("cbTitleBackground") self.gridLayout_5.addWidget(self.cbTitleBackground, 2, 0, 1, 4) self.label_15 = QtWidgets.QLabel(self.groupTitle) self.label_15.setObjectName("label_15") self.gridLayout_5.addWidget(self.label_15, 1, 0, 1, 1) self.cbTitleFrame = QtWidgets.QCheckBox(self.groupTitle) self.cbTitleFrame.setObjectName("cbTitleFrame") self.gridLayout_5.addWidget(self.cbTitleFrame, 3, 0, 1, 4) self.colorTitleFrame = QgsColorButton(self.groupTitle) self.colorTitleFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorTitleFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorTitleFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorTitleFrame.setObjectName("colorTitleFrame") self.gridLayout_5.addWidget(self.colorTitleFrame, 3, 4, 1, 1) self.gridLayout_5.setColumnStretch(0, 1) self.gridLayout_5.setColumnStretch(1, 10) self.verticalLayout.addLayout(self.gridLayout_5) self.verticalLayout_4.addWidget(self.groupTitle) self.groupTime = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupTime.setCheckable(True) self.groupTime.setChecked(False) self.groupTime.setObjectName("groupTime") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupTime) self.verticalLayout_2.setObjectName("verticalLayout_2") self.gridLayout_6 = QtWidgets.QGridLayout() self.gridLayout_6.setObjectName("gridLayout_6") self.colorTimeBackground = QgsColorButton(self.groupTime) self.colorTimeBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorTimeBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorTimeBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorTimeBackground.setObjectName("colorTimeBackground") self.gridLayout_6.addWidget(self.colorTimeBackground, 2, 3, 1, 1) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_6.addItem(spacerItem2, 1, 2, 1, 1) self.fbtnTime = QgsFontButton(self.groupTime) self.fbtnTime.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnTime.setFont(font) self.fbtnTime.setMode(QgsFontButton.ModeQFont) self.fbtnTime.setObjectName("fbtnTime") self.gridLayout_6.addWidget(self.fbtnTime, 1, 1, 1, 1) self.cbTimeBackground = QtWidgets.QCheckBox(self.groupTime) self.cbTimeBackground.setObjectName("cbTimeBackground") self.gridLayout_6.addWidget(self.cbTimeBackground, 2, 0, 1, 3) self.label_18 = QtWidgets.QLabel(self.groupTime) self.label_18.setObjectName("label_18") self.gridLayout_6.addWidget(self.label_18, 1, 0, 1, 1) self.label_16 = QtWidgets.QLabel(self.groupTime) self.label_16.setObjectName("label_16") self.gridLayout_6.addWidget(self.label_16, 0, 0, 1, 1) self.cboPosTime = QtWidgets.QComboBox(self.groupTime) self.cboPosTime.setObjectName("cboPosTime") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.gridLayout_6.addWidget(self.cboPosTime, 4, 1, 1, 1) self.label_19 = QtWidgets.QLabel(self.groupTime) self.label_19.setObjectName("label_19") self.gridLayout_6.addWidget(self.label_19, 4, 0, 1, 1) self.colorTimeText = QgsColorButton(self.groupTime) self.colorTimeText.setMinimumSize(QtCore.QSize(24, 21)) self.colorTimeText.setColor(QtGui.QColor(0, 0, 0)) self.colorTimeText.setObjectName("colorTimeText") self.gridLayout_6.addWidget(self.colorTimeText, 1, 3, 1, 1) self.labelTime = QtWidgets.QLineEdit(self.groupTime) self.labelTime.setObjectName("labelTime") self.gridLayout_6.addWidget(self.labelTime, 0, 1, 1, 3) self.cbTimeFrame = QtWidgets.QCheckBox(self.groupTime) self.cbTimeFrame.setObjectName("cbTimeFrame") self.gridLayout_6.addWidget(self.cbTimeFrame, 3, 0, 1, 3) self.colorTimeFrame = QgsColorButton(self.groupTime) self.colorTimeFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorTimeFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorTimeFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorTimeFrame.setObjectName("colorTimeFrame") self.gridLayout_6.addWidget(self.colorTimeFrame, 3, 3, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout_6) self.verticalLayout_4.addWidget(self.groupTime) self.groupLegend = QgsCollapsibleGroupBox( self.scrollAreaWidgetContents) self.groupLegend.setCheckable(True) self.groupLegend.setChecked(False) self.groupLegend.setObjectName("groupLegend") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupLegend) self.verticalLayout_3.setObjectName("verticalLayout_3") self.gridLayout_7 = QtWidgets.QGridLayout() self.gridLayout_7.setObjectName("gridLayout_7") self.label_22 = QtWidgets.QLabel(self.groupLegend) self.label_22.setObjectName("label_22") self.gridLayout_7.addWidget(self.label_22, 4, 0, 1, 1) self.cboPosLegend = QtWidgets.QComboBox(self.groupLegend) self.cboPosLegend.setObjectName("cboPosLegend") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.gridLayout_7.addWidget(self.cboPosLegend, 4, 1, 1, 1) self.label_20 = QtWidgets.QLabel(self.groupLegend) self.label_20.setObjectName("label_20") self.gridLayout_7.addWidget(self.label_20, 0, 0, 1, 1) self.colorLegendText = QgsColorButton(self.groupLegend) self.colorLegendText.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendText.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendText.setObjectName("colorLegendText") self.gridLayout_7.addWidget(self.colorLegendText, 1, 3, 1, 1) self.label_21 = QtWidgets.QLabel(self.groupLegend) self.label_21.setObjectName("label_21") self.gridLayout_7.addWidget(self.label_21, 1, 0, 1, 1) self.cbLegendBackground = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendBackground.setObjectName("cbLegendBackground") self.gridLayout_7.addWidget(self.cbLegendBackground, 2, 0, 1, 3) self.labelLegend = QtWidgets.QLineEdit(self.groupLegend) self.labelLegend.setObjectName("labelLegend") self.gridLayout_7.addWidget(self.labelLegend, 0, 1, 1, 3) self.colorLegendBackground = QgsColorButton(self.groupLegend) self.colorLegendBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setObjectName("colorLegendBackground") self.gridLayout_7.addWidget(self.colorLegendBackground, 2, 3, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_7.addItem(spacerItem3, 1, 2, 1, 1) self.fbtnLegend = QgsFontButton(self.groupLegend) self.fbtnLegend.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnLegend.setFont(font) self.fbtnLegend.setMode(QgsFontButton.ModeQFont) self.fbtnLegend.setObjectName("fbtnLegend") self.gridLayout_7.addWidget(self.fbtnLegend, 1, 1, 1, 1) self.cbLegendFrame = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendFrame.setObjectName("cbLegendFrame") self.gridLayout_7.addWidget(self.cbLegendFrame, 3, 0, 1, 3) self.colorLegendFrame = QgsColorButton(self.groupLegend) self.colorLegendFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setObjectName("colorLegendFrame") self.gridLayout_7.addWidget(self.colorLegendFrame, 3, 3, 1, 1) self.verticalLayout_3.addLayout(self.gridLayout_7) self.verticalLayout_4.addWidget(self.groupLegend) self.groupPlot = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupPlot.setCheckable(True) self.groupPlot.setChecked(False) self.groupPlot.setCollapsed(False) self.groupPlot.setObjectName("groupPlot") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupPlot) self.verticalLayout_7.setObjectName("verticalLayout_7") self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setObjectName("gridLayout_4") self.btnPlotUp = QtWidgets.QToolButton(self.groupPlot) self.btnPlotUp.setObjectName("btnPlotUp") self.gridLayout_4.addWidget(self.btnPlotUp, 0, 2, 1, 1) self.btnAddPlot = QtWidgets.QToolButton(self.groupPlot) self.btnAddPlot.setObjectName("btnAddPlot") self.gridLayout_4.addWidget(self.btnAddPlot, 0, 0, 1, 1) self.btnRemovePlot = QtWidgets.QToolButton(self.groupPlot) self.btnRemovePlot.setObjectName("btnRemovePlot") self.gridLayout_4.addWidget(self.btnRemovePlot, 0, 1, 1, 1) self.tablePlots = PlotItemsTable(self.groupPlot) self.tablePlots.setMinimumSize(QtCore.QSize(0, 150)) self.tablePlots.setEditTriggers( QtWidgets.QAbstractItemView.AllEditTriggers) self.tablePlots.setWordWrap(False) self.tablePlots.setObjectName("tablePlots") self.tablePlots.setColumnCount(4) self.tablePlots.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(3, item) self.tablePlots.horizontalHeader().setVisible(False) self.tablePlots.horizontalHeader().setCascadingSectionResizes(False) self.tablePlots.horizontalHeader().setDefaultSectionSize(110) self.tablePlots.horizontalHeader().setMinimumSectionSize(80) self.tablePlots.horizontalHeader().setStretchLastSection(True) self.tablePlots.verticalHeader().setDefaultSectionSize(20) self.gridLayout_4.addWidget(self.tablePlots, 1, 0, 1, 5) spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_4.addItem(spacerItem4, 0, 4, 1, 1) self.btnPlotDown = QtWidgets.QToolButton(self.groupPlot) self.btnPlotDown.setObjectName("btnPlotDown") self.gridLayout_4.addWidget(self.btnPlotDown, 0, 3, 1, 1) self.tableGraphics = GraphicItemsTable(self.groupPlot) self.tableGraphics.setMinimumSize(QtCore.QSize(0, 150)) self.tableGraphics.setEditTriggers( QtWidgets.QAbstractItemView.AllEditTriggers) self.tableGraphics.setWordWrap(False) self.tableGraphics.setObjectName("tableGraphics") self.tableGraphics.setColumnCount(4) self.tableGraphics.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(3, item) self.tableGraphics.horizontalHeader().setVisible(False) self.tableGraphics.horizontalHeader().setDefaultSectionSize(110) self.tableGraphics.horizontalHeader().setStretchLastSection(True) self.tableGraphics.verticalHeader().setDefaultSectionSize(20) self.tableGraphics.verticalHeader().setMinimumSectionSize(20) self.gridLayout_4.addWidget(self.tableGraphics, 3, 0, 1, 5) self.label_23 = QtWidgets.QLabel(self.groupPlot) self.label_23.setObjectName("label_23") self.gridLayout_4.addWidget(self.label_23, 2, 0, 1, 5) self.verticalLayout_7.addLayout(self.gridLayout_4) self.verticalLayout_4.addWidget(self.groupPlot) self.groupImages = QgsCollapsibleGroupBox( self.scrollAreaWidgetContents) self.groupImages.setCheckable(True) self.groupImages.setChecked(False) self.groupImages.setCollapsed(False) self.groupImages.setObjectName("groupImages") self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupImages) self.verticalLayout_8.setObjectName("verticalLayout_8") self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setObjectName("gridLayout_3") self.btnImageUp = QtWidgets.QToolButton(self.groupImages) self.btnImageUp.setObjectName("btnImageUp") self.gridLayout_3.addWidget(self.btnImageUp, 0, 2, 1, 1) self.btnRemoveImage = QtWidgets.QToolButton(self.groupImages) self.btnRemoveImage.setObjectName("btnRemoveImage") self.gridLayout_3.addWidget(self.btnRemoveImage, 0, 1, 1, 1) self.btnAddImage = QtWidgets.QToolButton(self.groupImages) self.btnAddImage.setObjectName("btnAddImage") self.gridLayout_3.addWidget(self.btnAddImage, 0, 0, 1, 1) self.btnImageDown = QtWidgets.QToolButton(self.groupImages) self.btnImageDown.setObjectName("btnImageDown") self.gridLayout_3.addWidget(self.btnImageDown, 0, 3, 1, 1) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem5, 0, 4, 1, 1) self.tableImages = ImageItemsTable(self.groupImages) self.tableImages.setMinimumSize(QtCore.QSize(0, 150)) self.tableImages.setEditTriggers( QtWidgets.QAbstractItemView.AllEditTriggers) self.tableImages.setWordWrap(False) self.tableImages.setObjectName("tableImages") self.tableImages.setColumnCount(3) self.tableImages.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(2, item) self.tableImages.horizontalHeader().setDefaultSectionSize(130) self.tableImages.horizontalHeader().setMinimumSectionSize(39) self.tableImages.horizontalHeader().setStretchLastSection(True) self.tableImages.verticalHeader().setDefaultSectionSize(20) self.gridLayout_3.addWidget(self.tableImages, 1, 0, 1, 5) self.verticalLayout_8.addLayout(self.gridLayout_3) self.verticalLayout_4.addWidget(self.groupImages) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.horizontalLayout_2.addWidget(self.scrollArea) self.verticalLayout_5.addLayout(self.horizontalLayout_2) self.radLayoutCustom = QtWidgets.QRadioButton(self.tab_2) self.radLayoutCustom.setObjectName("radLayoutCustom") self.verticalLayout_5.addWidget(self.radLayoutCustom) self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.btnBrowseTemplate = QtWidgets.QToolButton(self.tab_2) self.btnBrowseTemplate.setObjectName("btnBrowseTemplate") self.gridLayout_2.addWidget(self.btnBrowseTemplate, 0, 3, 1, 1) self.label_5 = QtWidgets.QLabel(self.tab_2) self.label_5.setObjectName("label_5") self.gridLayout_2.addWidget(self.label_5, 0, 1, 1, 1) self.editTemplate = QtWidgets.QLineEdit(self.tab_2) self.editTemplate.setObjectName("editTemplate") self.gridLayout_2.addWidget(self.editTemplate, 0, 2, 1, 1) self.label_10 = QtWidgets.QLabel(self.tab_2) self.label_10.setObjectName("label_10") self.gridLayout_2.addWidget(self.label_10, 1, 1, 1, 3) spacerItem6 = QtWidgets.QSpacerItem(28, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem6, 0, 0, 2, 1) self.verticalLayout_5.addLayout(self.gridLayout_2) self.tabWidget.addTab(self.tab_2, "") self.tab_3 = QtWidgets.QWidget() self.tab_3.setObjectName("tab_3") self.formLayout_2 = QtWidgets.QFormLayout(self.tab_3) self.formLayout_2.setObjectName("formLayout_2") self.label_4 = QtWidgets.QLabel(self.tab_3) self.label_4.setObjectName("label_4") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_4) self.radQualBest = QtWidgets.QRadioButton(self.tab_3) self.radQualBest.setChecked(False) self.radQualBest.setObjectName("radQualBest") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.radQualBest) self.radQualHigh = QtWidgets.QRadioButton(self.tab_3) self.radQualHigh.setChecked(True) self.radQualHigh.setObjectName("radQualHigh") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.radQualHigh) self.radQualLow = QtWidgets.QRadioButton(self.tab_3) self.radQualLow.setObjectName("radQualLow") self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.radQualLow) self.groupBox = QtWidgets.QGroupBox(self.tab_3) self.groupBox.setFlat(True) self.groupBox.setObjectName("groupBox") self.gridLayout = QtWidgets.QGridLayout(self.groupBox) self.gridLayout.setObjectName("gridLayout") self.btnBrowseFfmpegPath = QtWidgets.QToolButton(self.groupBox) self.btnBrowseFfmpegPath.setObjectName("btnBrowseFfmpegPath") self.gridLayout.addWidget(self.btnBrowseFfmpegPath, 3, 2, 1, 1) self.editFfmpegPath = QtWidgets.QLineEdit(self.groupBox) self.editFfmpegPath.setObjectName("editFfmpegPath") self.gridLayout.addWidget(self.editFfmpegPath, 3, 1, 1, 1) self.radFfmpegCustom = QtWidgets.QRadioButton(self.groupBox) self.radFfmpegCustom.setObjectName("radFfmpegCustom") self.gridLayout.addWidget(self.radFfmpegCustom, 3, 0, 1, 1) self.radFfmpegSystem = QtWidgets.QRadioButton(self.groupBox) self.radFfmpegSystem.setChecked(True) self.radFfmpegSystem.setObjectName("radFfmpegSystem") self.gridLayout.addWidget(self.radFfmpegSystem, 2, 0, 1, 4) self.label_9 = QtWidgets.QLabel(self.groupBox) self.label_9.setObjectName("label_9") self.gridLayout.addWidget(self.label_9, 1, 0, 1, 3) self.formLayout_2.setWidget(4, QtWidgets.QFormLayout.SpanningRole, self.groupBox) spacerItem7 = QtWidgets.QSpacerItem(20, 500, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.formLayout_2.setItem(3, QtWidgets.QFormLayout.FieldRole, spacerItem7) self.tabWidget.addTab(self.tab_3, "") self.verticalLayout_6.addWidget(self.tabWidget) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.progress = QtWidgets.QProgressBar(AnimationDialog) self.progress.setProperty("value", 0) self.progress.setObjectName("progress") self.horizontalLayout_4.addWidget(self.progress) self.pbPreview = QtWidgets.QPushButton(AnimationDialog) self.pbPreview.setObjectName("pbPreview") self.horizontalLayout_4.addWidget(self.pbPreview) self.buttonBox = QtWidgets.QDialogButtonBox(AnimationDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.horizontalLayout_4.addWidget(self.buttonBox) self.verticalLayout_6.addLayout(self.horizontalLayout_4) self.retranslateUi(AnimationDialog) self.tabWidget.setCurrentIndex(0) self.cboPosTitle.setCurrentIndex(4) self.cboPosTime.setCurrentIndex(1) self.cboPosLegend.setCurrentIndex(3) self.buttonBox.rejected.connect(AnimationDialog.reject) QtCore.QMetaObject.connectSlotsByName(AnimationDialog)
class Ui_CloneGeometryDialogBase(object): def setupUi(self, CloneGeometryDialogBase): CloneGeometryDialogBase.setObjectName("CloneGeometryDialogBase") CloneGeometryDialogBase.resize(370, 279) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( CloneGeometryDialogBase.sizePolicy().hasHeightForWidth()) CloneGeometryDialogBase.setSizePolicy(sizePolicy) CloneGeometryDialogBase.setMinimumSize(QtCore.QSize(0, 0)) CloneGeometryDialogBase.setMaximumSize(QtCore.QSize(570, 320)) CloneGeometryDialogBase.setModal(True) self.verticalLayout_2 = QtWidgets.QVBoxLayout(CloneGeometryDialogBase) self.verticalLayout_2.setObjectName("verticalLayout_2") self.label = QtWidgets.QLabel(CloneGeometryDialogBase) self.label.setObjectName("label") self.verticalLayout_2.addWidget(self.label) self.lineEdit = QtWidgets.QLineEdit(CloneGeometryDialogBase) self.lineEdit.setReadOnly(False) self.lineEdit.setObjectName("lineEdit") self.verticalLayout_2.addWidget(self.lineEdit) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label_2 = QtWidgets.QLabel(CloneGeometryDialogBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.label_2.sizePolicy().hasHeightForWidth()) self.label_2.setSizePolicy(sizePolicy) self.label_2.setObjectName("label_2") self.horizontalLayout.addWidget(self.label_2) self.label_3 = QtWidgets.QLabel(CloneGeometryDialogBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.label_3.sizePolicy().hasHeightForWidth()) self.label_3.setSizePolicy(sizePolicy) self.label_3.setObjectName("label_3") self.horizontalLayout.addWidget(self.label_3) self.verticalLayout_2.addLayout(self.horizontalLayout) self.line = QtWidgets.QFrame(CloneGeometryDialogBase) self.line.setFrameShape(QtWidgets.QFrame.HLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.verticalLayout_2.addWidget(self.line) self.groupBox = QtWidgets.QGroupBox(CloneGeometryDialogBase) self.groupBox.setObjectName("groupBox") self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout.setSpacing(10) self.verticalLayout.setObjectName("verticalLayout") self.formLayout = QtWidgets.QFormLayout() self.formLayout.setObjectName("formLayout") self.radioToMemory = QtWidgets.QRadioButton(self.groupBox) self.radioToMemory.setChecked(True) self.radioToMemory.setObjectName("radioToMemory") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.radioToMemory) self.lineEdit_2 = QtWidgets.QLineEdit(self.groupBox) self.lineEdit_2.setStatusTip("") self.lineEdit_2.setWhatsThis("") self.lineEdit_2.setObjectName("lineEdit_2") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEdit_2) self.checkBoxAtrib = QtWidgets.QCheckBox(self.groupBox) self.checkBoxAtrib.setChecked(True) self.checkBoxAtrib.setObjectName("checkBoxAtrib") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.checkBoxAtrib) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setSpacing(0) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.checkBox_mask = QtWidgets.QCheckBox(self.groupBox) self.checkBox_mask.setObjectName("checkBox_mask") self.horizontalLayout_2.addWidget(self.checkBox_mask) self.maskColor = QgsColorButton(self.groupBox) self.maskColor.setObjectName("maskColor") self.horizontalLayout_2.addWidget(self.maskColor) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.formLayout.setLayout(1, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_2) self.verticalLayout.addLayout(self.formLayout) self.line_2 = QtWidgets.QFrame(self.groupBox) self.line_2.setFrameShape(QtWidgets.QFrame.HLine) self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_2.setObjectName("line_2") self.verticalLayout.addWidget(self.line_2) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.radioToLayer = QtWidgets.QRadioButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.radioToLayer.sizePolicy().hasHeightForWidth()) self.radioToLayer.setSizePolicy(sizePolicy) self.radioToLayer.setObjectName("radioToLayer") self.horizontalLayout_3.addWidget(self.radioToLayer) self.comboBox = QtWidgets.QComboBox(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.comboBox.sizePolicy().hasHeightForWidth()) self.comboBox.setSizePolicy(sizePolicy) self.comboBox.setObjectName("comboBox") self.horizontalLayout_3.addWidget(self.comboBox) self.verticalLayout.addLayout(self.horizontalLayout_3) self.verticalLayout_2.addWidget(self.groupBox) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem1) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.pushButton_about = QtWidgets.QPushButton(CloneGeometryDialogBase) self.pushButton_about.setStyleSheet( "background-color: rgba(255, 255, 255, 0);") self.pushButton_about.setText("") icon = QtGui.QIcon() icon.addPixmap( QtGui.QPixmap(":/plugins/_PrintTools/comp_print/icons/about.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_about.setIcon(icon) self.pushButton_about.setObjectName("pushButton_about") self.horizontalLayout_4.addWidget(self.pushButton_about) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem2) self.button_box = QtWidgets.QDialogButtonBox(CloneGeometryDialogBase) self.button_box.setOrientation(QtCore.Qt.Horizontal) self.button_box.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.button_box.setObjectName("button_box") self.horizontalLayout_4.addWidget(self.button_box) self.verticalLayout_2.addLayout(self.horizontalLayout_4) self.label_8 = QtWidgets.QLabel(CloneGeometryDialogBase) font = QtGui.QFont() font.setItalic(True) self.label_8.setFont(font) self.label_8.setAlignment(QtCore.Qt.AlignCenter) self.label_8.setObjectName("label_8") self.verticalLayout_2.addWidget(self.label_8) self.retranslateUi(CloneGeometryDialogBase) self.button_box.accepted.connect(CloneGeometryDialogBase.accept) self.button_box.rejected.connect(CloneGeometryDialogBase.reject) QtCore.QMetaObject.connectSlotsByName(CloneGeometryDialogBase) def retranslateUi(self, CloneGeometryDialogBase): _translate = QtCore.QCoreApplication.translate CloneGeometryDialogBase.setWindowTitle( _translate("CloneGeometryDialogBase", "Клонирование геометрии")) self.label.setText( _translate("CloneGeometryDialogBase", "Слой-источник:")) self.label_2.setText( _translate("CloneGeometryDialogBase", "Количество выделенных объектов: ")) self.label_3.setText(_translate("CloneGeometryDialogBase", "-")) self.groupBox.setTitle( _translate("CloneGeometryDialogBase", "Сохранить геометрию в...")) self.radioToMemory.setText( _translate("CloneGeometryDialogBase", "Во временный слой")) self.lineEdit_2.setPlaceholderText( _translate("CloneGeometryDialogBase", "Название (при необходимости)")) self.checkBoxAtrib.setText( _translate("CloneGeometryDialogBase", "Копировать атрибуты")) self.checkBox_mask.setText( _translate("CloneGeometryDialogBase", "Только обводка")) self.radioToLayer.setText( _translate("CloneGeometryDialogBase", "В существующий слой")) self.pushButton_about.setToolTip( _translate("CloneGeometryDialogBase", "О программе...")) self.label_8.setText( _translate( "CloneGeometryDialogBase", "<html><head/><body><p><span style=\" color:#828282;\">МКУ ЦИКТ - ГО "Город Калининград"</span></p></body></html>" ))