Пример #1
0
 def clickMethod(self):
     causenumber = self.ii
     if causenumber <= 5:  #10 cause
         self.groupBoxlista[self.ii] = 'groupBox' + str(self.ii)
         self.mMapLayerComboBoxlista[self.ii] = 'mMapLayerComboBox' + str(
             self.ii)
         self.pushButtonlista[self.ii] = 'pushButton' + str(self.ii)
         self.lineEditlista[self.ii] = 'lineEdit' + str(self.ii)
         self.lineEditname[self.ii] = 'lineEdit' + str(self.ii)
         self.groupBoxlista[self.ii] = QtWidgets.QGroupBox(
             self.scrollAreaWidgetContents)
         self.groupBoxlista[self.ii].setAutoFillBackground(True)
         self.groupBoxlista[self.ii].setFlat(False)
         self.groupBoxlista[self.ii].setObjectName("groupBox" +
                                                   str(self.ii))
         self.gridLayout_n = QtWidgets.QGridLayout(
             self.groupBoxlista[self.ii])
         self.gridLayout_n.setObjectName("gridLayout_" + str(self.ii))
         self.pushButtonlista[self.ii] = QtWidgets.QPushButton(
             self.groupBoxlista[self.ii])
         self.pushButtonlista[self.ii].setObjectName("pushButton_" +
                                                     str(self.ii))
         self.gridLayout_n.addWidget(self.pushButtonlista[self.ii], 2, 1, 1,
                                     1)
         self.lineEditlista[self.ii] = QtWidgets.QLineEdit(
             self.groupBoxlista[self.ii])
         self.lineEditlista[self.ii].setObjectName("lineEdit_" +
                                                   str(self.ii))
         self.gridLayout_n.addWidget(self.lineEditlista[self.ii], 2, 0, 1,
                                     1)
         self.label_n = QtWidgets.QLabel(self.groupBoxlista[self.ii])
         self.label_n.setObjectName("label_" + str(self.ii))
         self.gridLayout_n.addWidget(self.label_n, 1, 0, 1, 1)
         self.mMapLayerComboBoxlista[self.ii] = gui.QgsMapLayerComboBox(
             self.groupBoxlista[self.ii])
         self.mMapLayerComboBoxlista[self.ii].setObjectName(
             "mMapLayerComboBox_" + str(self.ii))
         self.mMapLayerComboBoxlista[self.ii].setFilters(
             QgsMapLayerProxyModel.RasterLayer)
         self.gridLayout_n.addWidget(self.mMapLayerComboBoxlista[self.ii],
                                     0, 0, 1, 1)
         self.gridLayout_2.addWidget(self.groupBoxlista[self.ii],
                                     23 + self.ii, 2, 1, 1)
         self.groupBoxlista[self.ii].setTitle(
             QtCore.QCoreApplication.translate("WoEDialogBase",
                                               "Cause " + str(self.ii + 5)))
         self.pushButtonlista[self.ii].setText(
             QtCore.QCoreApplication.translate("WoEDialogBase", "..."))
         self.label_n.setText(
             QtCore.QCoreApplication.translate(
                 "WoEDialogBase", "Cause " + str(self.ii + 5) + " classes"))
         self.lineEditlista[self.ii].clear()
         self.pushButtonlista[self.ii].clicked.connect(self.selecttxt)
         self.ii += 1
Пример #2
0
    def setupUi(self, CaritasPDRARiskDialog):
        CaritasPDRARiskDialog.setObjectName("CaritasPDRARiskDialog")
        CaritasPDRARiskDialog.resize(900, 600)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(CaritasPDRARiskDialog.sizePolicy().hasHeightForWidth())
        CaritasPDRARiskDialog.setSizePolicy(sizePolicy)
        CaritasPDRARiskDialog.setMinimumSize(QtCore.QSize(900, 600))
        CaritasPDRARiskDialog.setMaximumSize(QtCore.QSize(900, 600))
        font = QtGui.QFont()
        font.setPointSize(10)
        CaritasPDRARiskDialog.setFont(font)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/plugins/caritas_pdra/img/icons/icon-risk.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        CaritasPDRARiskDialog.setWindowIcon(icon)
        CaritasPDRARiskDialog.setModal(False)
        self.selectHHComboBox = gui.QgsMapLayerComboBox(CaritasPDRARiskDialog)
        self.selectHHComboBox.setGeometry(QtCore.QRect(310, 10, 441, 27))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.selectHHComboBox.setFont(font)
        self.selectHHComboBox.setStatusTip("")
        self.selectHHComboBox.setShowCrs(True)
        self.selectHHComboBox.setObjectName("selectHHComboBox")
        self.selectHHComboBox.setFilters(core.QgsMapLayerProxyModel.PointLayer)
        self.selectHHLabel = QtWidgets.QLabel(CaritasPDRARiskDialog)
        self.selectHHLabel.setGeometry(QtCore.QRect(10, 10, 281, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.selectHHLabel.setFont(font)
        self.selectHHLabel.setWordWrap(True)
        self.selectHHLabel.setObjectName("selectHHLabel")
        self.resultBasenameLabel = QtWidgets.QLabel(CaritasPDRARiskDialog)
        self.resultBasenameLabel.setGeometry(QtCore.QRect(10, 50, 201, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.resultBasenameLabel.setFont(font)
        self.resultBasenameLabel.setWordWrap(True)
        self.resultBasenameLabel.setObjectName("resultBasenameLabel")
        self.resultBasenameLineEdit = QtWidgets.QLineEdit(CaritasPDRARiskDialog)
        self.resultBasenameLineEdit.setGeometry(QtCore.QRect(310, 50, 441, 27))
        self.resultBasenameLineEdit.setObjectName("resultBasenameLineEdit")
        self.selectIndicatorsLabel = QtWidgets.QLabel(CaritasPDRARiskDialog)
        self.selectIndicatorsLabel.setGeometry(QtCore.QRect(10, 90, 311, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.selectIndicatorsLabel.setFont(font)
        self.selectIndicatorsLabel.setObjectName("selectIndicatorsLabel")
        self.hazLabel = QtWidgets.QLabel(CaritasPDRARiskDialog)
        self.hazLabel.setGeometry(QtCore.QRect(10, 120, 281, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.hazLabel.setFont(font)
        self.hazLabel.setObjectName("hazLabel")
        self.hazListWidget = QtWidgets.QListWidget(CaritasPDRARiskDialog)
        self.hazListWidget.setGeometry(QtCore.QRect(10, 150, 281, 291))
        self.hazListWidget.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.hazListWidget.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.hazListWidget.setObjectName("hazListWidget")
        self.vulListWidget = QtWidgets.QListWidget(CaritasPDRARiskDialog)
        self.vulListWidget.setGeometry(QtCore.QRect(310, 150, 281, 291))
        self.vulListWidget.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.vulListWidget.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.vulListWidget.setObjectName("vulListWidget")
        self.capListWidget = QtWidgets.QListWidget(CaritasPDRARiskDialog)
        self.capListWidget.setGeometry(QtCore.QRect(610, 150, 281, 291))
        self.capListWidget.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.capListWidget.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.capListWidget.setObjectName("capListWidget")
        self.vulLabel = QtWidgets.QLabel(CaritasPDRARiskDialog)
        self.vulLabel.setGeometry(QtCore.QRect(310, 120, 281, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.vulLabel.setFont(font)
        self.vulLabel.setObjectName("vulLabel")
        self.capLabel = QtWidgets.QLabel(CaritasPDRARiskDialog)
        self.capLabel.setGeometry(QtCore.QRect(610, 120, 281, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.capLabel.setFont(font)
        self.capLabel.setObjectName("capLabel")
        self.hazSelectAllBtn = QtWidgets.QPushButton(CaritasPDRARiskDialog)
        self.hazSelectAllBtn.setGeometry(QtCore.QRect(10, 450, 101, 25))
        self.hazSelectAllBtn.setObjectName("hazSelectAllBtn")
        self.hazUnselectAllBtn = QtWidgets.QPushButton(CaritasPDRARiskDialog)
        self.hazUnselectAllBtn.setGeometry(QtCore.QRect(190, 450, 101, 25))
        self.hazUnselectAllBtn.setObjectName("hazUnselectAllBtn")
        self.vulUnselectAllBtn = QtWidgets.QPushButton(CaritasPDRARiskDialog)
        self.vulUnselectAllBtn.setGeometry(QtCore.QRect(490, 450, 101, 25))
        self.vulUnselectAllBtn.setObjectName("vulUnselectAllBtn")
        self.vulSelectAllBtn = QtWidgets.QPushButton(CaritasPDRARiskDialog)
        self.vulSelectAllBtn.setGeometry(QtCore.QRect(310, 450, 101, 25))
        self.vulSelectAllBtn.setObjectName("vulSelectAllBtn")
        self.capUnselectAllBtn = QtWidgets.QPushButton(CaritasPDRARiskDialog)
        self.capUnselectAllBtn.setGeometry(QtCore.QRect(790, 450, 101, 25))
        self.capUnselectAllBtn.setObjectName("capUnselectAllBtn")
        self.capSelectAllBtn = QtWidgets.QPushButton(CaritasPDRARiskDialog)
        self.capSelectAllBtn.setGeometry(QtCore.QRect(610, 450, 101, 25))
        self.capSelectAllBtn.setObjectName("capSelectAllBtn")
        self.label = QtWidgets.QLabel(CaritasPDRARiskDialog)
        self.label.setGeometry(QtCore.QRect(10, 530, 321, 51))
        font = QtGui.QFont()
        font.setPointSize(5)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label.setFont(font)
        self.label.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label.setScaledContents(False)
        self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.label_2 = QtWidgets.QLabel(CaritasPDRARiskDialog)
        self.label_2.setGeometry(QtCore.QRect(820, 530, 71, 51))
        self.label_2.setText("")
        self.label_2.setPixmap(QtGui.QPixmap(":/plugins/caritas_pdra/img/logos/logo-nassa-caritas.png"))
        self.label_2.setObjectName("label_2")
        self.buttonBox = QtWidgets.QDialogButtonBox(CaritasPDRARiskDialog)
        self.buttonBox.setGeometry(QtCore.QRect(720, 490, 171, 31))
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Close|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")

        self.retranslateUi(CaritasPDRARiskDialog)
        QtCore.QMetaObject.connectSlotsByName(CaritasPDRARiskDialog)
Пример #3
0
    def setupUi(self, DockWidget):
        DockWidget.setObjectName(_fromUtf8("DockWidget"))
        DockWidget.resize(255, 255)
        self.dockWidgetContents = QtGui.QWidget()
        self.dockWidgetContents.setObjectName(_fromUtf8("dockWidgetContents"))

        self.verticalLayout = QtGui.QVBoxLayout(self.dockWidgetContents)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.verticalLayout.setContentsMargins(1, 1, 1, 1)
        self.verticalLayout.setSpacing(2)

        self.horizontalLayout = QtGui.QHBoxLayout(self.dockWidgetContents)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.dockWidgetContents)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.graphicHorizontalLayoutList = []

        self.nBarSpinBox = QtGui.QSpinBox(DockWidget)
        self.nBarSpinBox.setValue(20)
        self.nBarSpinBox.setMinimum(1)
        self.nBarSpinBox.setMaximum(256)
        self.nBarSpinBox.setFixedWidth(50)
        self.nBarSpinBox.setSingleStep(5)

        self.nBarSpinBox.setObjectName(_fromUtf8("nBarSpinBox"))

        self.bandNumberComboBox = QtGui.QComboBox(DockWidget)
        self.bandNumberComboBox.setObjectName(_fromUtf8("bandNumberComboBox"))
        self.bandNumberComboBox.addItem(str(1), 1)

        self.mMapLayerComboBox = gui.QgsMapLayerComboBox(DockWidget)
        self.mMapLayerComboBox.setFilters(
            gui.QgsMapLayerProxyModel.RasterLayer)
        self.mMapLayerComboBox.setObjectName(_fromUtf8("mMapLayerComboBox"))
        self.mMapLayerComboBox.setFixedWidth(110)
        self.pushButton = QtGui.QPushButton(DockWidget)
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.batch_pushButton = QtGui.QPushButton(DockWidget)
        self.batch_pushButton.setObjectName(_fromUtf8("batch_pushButton"))
        self.batch_pushButton.setFixedWidth(60)
        self.save_pushButton = QtGui.QPushButton(DockWidget)
        self.save_pushButton.setObjectName(_fromUtf8("save_pushButton"))
        self.load_pushButton = QtGui.QPushButton(DockWidget)
        self.load_pushButton.setObjectName(_fromUtf8("load_pushButton"))
        self.auto_pushButton = QtGui.QPushButton(DockWidget)
        self.auto_pushButton.setObjectName(_fromUtf8("auto_pushButton"))
        self.auto_pushButton.setFixedWidth(60)
        self.help_pushButton = QtGui.QPushButton(DockWidget)
        self.help_pushButton.setObjectName(_fromUtf8("help_pushButton"))
        self.help_pushButton.setFixedWidth(60)

        self.horizontalLayout.addWidget(self.mMapLayerComboBox)
        self.horizontalLayout.addWidget(self.nBarSpinBox)
        self.horizontalLayout.addWidget(self.pushButton)
        self.horizontalLayout.addWidget(self.bandNumberComboBox)
        self.horizontalLayout_2.addWidget(self.batch_pushButton)
        self.horizontalLayout_2.addWidget(self.save_pushButton)
        self.horizontalLayout_2.addWidget(self.load_pushButton)
        self.horizontalLayout_2.addWidget(self.auto_pushButton)
        self.verticalLayout.addWidget(self.help_pushButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.verticalLayout.addLayout(self.horizontalLayout_2)

        self.verticalLayoutGraphics = QtGui.QVBoxLayout(
            self.dockWidgetContents)
        self.verticalLayoutGraphics.setObjectName(_fromUtf8("verticalLayout"))

        self.graphicsViewPreview = QtGui.QGraphicsView(DockWidget)
        self.graphicsViewPreview.setObjectName(
            _fromUtf8("graphicsViewPreview"))
        self.scenePreview = QtGui.QGraphicsScene()
        self.graphicsViewPreview.setScene(self.scenePreview)
        self.graphicsViewPreview.setFixedHeight(160)
        self.graphicsViewPreview.setFixedWidth(160)

        self.retranslateUi(DockWidget)

        self.graphicsViewPreview.setHorizontalScrollBarPolicy(
            QtCore.Qt.ScrollBarAlwaysOff)
        self.graphicsViewPreview.setVerticalScrollBarPolicy(
            QtCore.Qt.ScrollBarAlwaysOff)

        spacerItem = QtGui.QSpacerItem(20, 100, QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addWidget(self.graphicsViewPreview)
        self.verticalLayout.addItem(spacerItem)

        self.changeContent(DockWidget)
        QtCore.QMetaObject.connectSlotsByName(DockWidget)
Пример #4
0
    def setupUi(self, CaritasPDRASummaryRiskDialog):
        CaritasPDRASummaryRiskDialog.setObjectName("CaritasPDRASummaryRiskDialog")
        CaritasPDRASummaryRiskDialog.resize(720, 600)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(CaritasPDRASummaryRiskDialog.sizePolicy().hasHeightForWidth())
        CaritasPDRASummaryRiskDialog.setSizePolicy(sizePolicy)
        CaritasPDRASummaryRiskDialog.setMinimumSize(QtCore.QSize(720, 600))
        CaritasPDRASummaryRiskDialog.setMaximumSize(QtCore.QSize(720, 600))
        font = QtGui.QFont()
        font.setPointSize(10)
        CaritasPDRASummaryRiskDialog.setFont(font)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/plugins/caritas_pdra/img/icons/icon-summary-risk.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        CaritasPDRASummaryRiskDialog.setWindowIcon(icon)
        CaritasPDRASummaryRiskDialog.setModal(False)
        self.label = QtWidgets.QLabel(CaritasPDRASummaryRiskDialog)
        self.label.setGeometry(QtCore.QRect(10, 530, 321, 51))
        font = QtGui.QFont()
        font.setPointSize(5)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label.setFont(font)
        self.label.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label.setScaledContents(False)
        self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.caritasLogo = QtWidgets.QLabel(CaritasPDRASummaryRiskDialog)
        self.caritasLogo.setGeometry(QtCore.QRect(640, 530, 71, 51))
        self.caritasLogo.setText("")
        self.caritasLogo.setPixmap(QtGui.QPixmap(":/plugins/caritas_pdra/img/logos/logo-nassa-caritas.png"))
        self.caritasLogo.setObjectName("caritasLogo")
        self.buttonBox = QtWidgets.QDialogButtonBox(CaritasPDRASummaryRiskDialog)
        self.buttonBox.setGeometry(QtCore.QRect(540, 490, 171, 31))
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Close|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.selectHHLabel = QtWidgets.QLabel(CaritasPDRASummaryRiskDialog)
        self.selectHHLabel.setGeometry(QtCore.QRect(10, 10, 181, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.selectHHLabel.setFont(font)
        self.selectHHLabel.setWordWrap(True)
        self.selectHHLabel.setObjectName("selectHHLabel")
        self.selectHHComboBox = gui.QgsMapLayerComboBox(CaritasPDRASummaryRiskDialog)
        self.selectHHComboBox.setGeometry(QtCore.QRect(210, 10, 501, 27))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.selectHHComboBox.setFont(font)
        self.selectHHComboBox.setStatusTip("")
        self.selectHHComboBox.setShowCrs(True)
        self.selectHHComboBox.setObjectName("selectHHComboBox")
        self.selectHHComboBox.setFilters(core.QgsMapLayerProxyModel.PointLayer)
        self.selectBoundaryLabel = QtWidgets.QLabel(CaritasPDRASummaryRiskDialog)
        self.selectBoundaryLabel.setGeometry(QtCore.QRect(10, 50, 191, 51))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.selectBoundaryLabel.setFont(font)
        self.selectBoundaryLabel.setWordWrap(True)
        self.selectBoundaryLabel.setObjectName("selectBoundaryLabel")
        self.selectBoundaryComboBox = gui.QgsMapLayerComboBox(CaritasPDRASummaryRiskDialog)
        self.selectBoundaryComboBox.setGeometry(QtCore.QRect(210, 60, 501, 27))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.selectBoundaryComboBox.setFont(font)
        self.selectBoundaryComboBox.setStatusTip("")
        self.selectBoundaryComboBox.setShowCrs(True)
        self.selectBoundaryComboBox.setObjectName("selectBoundaryComboBox")
        self.selectBoundaryComboBox.setFilters(core.QgsMapLayerProxyModel.PolygonLayer)
        self.filterByCategoryLabel = QtWidgets.QLabel(CaritasPDRASummaryRiskDialog)
        self.filterByCategoryLabel.setGeometry(QtCore.QRect(10, 160, 181, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.filterByCategoryLabel.setFont(font)
        self.filterByCategoryLabel.setWordWrap(True)
        self.filterByCategoryLabel.setObjectName("filterByCategoryLabel")
        self.filterByCategoryComboBox = QtWidgets.QComboBox(CaritasPDRASummaryRiskDialog)
        self.filterByCategoryComboBox.setGeometry(QtCore.QRect(210, 160, 501, 31))
        self.filterByCategoryComboBox.setObjectName("filterByCategoryComboBox")
        self.filterByCategoryComboBox.addItem("")
        self.filterByCategoryComboBox.addItem("")
        self.filterByCategoryComboBox.addItem("")
        self.summariesList = QtWidgets.QListWidget(CaritasPDRASummaryRiskDialog)
        self.summariesList.setGeometry(QtCore.QRect(370, 250, 341, 181))
        self.summariesList.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.summariesList.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.summariesList.setObjectName("summariesList")
        item = QtWidgets.QListWidgetItem()
        self.summariesList.addItem(item)
        item = QtWidgets.QListWidgetItem()
        self.summariesList.addItem(item)
        item = QtWidgets.QListWidgetItem()
        self.summariesList.addItem(item)
        self.summariesToCalculateLabel = QtWidgets.QLabel(CaritasPDRASummaryRiskDialog)
        self.summariesToCalculateLabel.setGeometry(QtCore.QRect(370, 220, 341, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.summariesToCalculateLabel.setFont(font)
        self.summariesToCalculateLabel.setWordWrap(True)
        self.summariesToCalculateLabel.setObjectName("summariesToCalculateLabel")
        self.fieldsToSummarizeLabel = QtWidgets.QLabel(CaritasPDRASummaryRiskDialog)
        self.fieldsToSummarizeLabel.setGeometry(QtCore.QRect(10, 220, 351, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.fieldsToSummarizeLabel.setFont(font)
        self.fieldsToSummarizeLabel.setWordWrap(True)
        self.fieldsToSummarizeLabel.setObjectName("fieldsToSummarizeLabel")
        self.fieldsList = QtWidgets.QListWidget(CaritasPDRASummaryRiskDialog)
        self.fieldsList.setGeometry(QtCore.QRect(10, 250, 341, 271))
        self.fieldsList.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.fieldsList.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
        self.fieldsList.setObjectName("fieldsList")
        self.note = QtWidgets.QLabel(CaritasPDRASummaryRiskDialog)
        self.note.setGeometry(QtCore.QRect(210, 80, 501, 31))
        font = QtGui.QFont()
        font.setPointSize(5)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.note.setFont(font)
        self.note.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.note.setScaledContents(False)
        self.note.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.note.setWordWrap(True)
        self.note.setObjectName("note")
        self.selectAllSummariesBtn = QtWidgets.QPushButton(CaritasPDRASummaryRiskDialog)
        self.selectAllSummariesBtn.setGeometry(QtCore.QRect(510, 440, 91, 25))
        self.selectAllSummariesBtn.setObjectName("selectAllSummariesBtn")
        self.unselectAllSummariesBtn = QtWidgets.QPushButton(CaritasPDRASummaryRiskDialog)
        self.unselectAllSummariesBtn.setGeometry(QtCore.QRect(620, 440, 91, 25))
        self.unselectAllSummariesBtn.setObjectName("unselectAllSummariesBtn")
        self.selectBoundaryIDFieldLabel = QtWidgets.QLabel(CaritasPDRASummaryRiskDialog)
        self.selectBoundaryIDFieldLabel.setGeometry(QtCore.QRect(10, 100, 141, 51))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.selectBoundaryIDFieldLabel.setFont(font)
        self.selectBoundaryIDFieldLabel.setWordWrap(True)
        self.selectBoundaryIDFieldLabel.setObjectName("selectBoundaryIDFieldLabel")
        self.selectBoundaryIDFieldComboBox = gui.QgsFieldComboBox(CaritasPDRASummaryRiskDialog)
        self.selectBoundaryIDFieldComboBox.setGeometry(QtCore.QRect(210, 110, 501, 27))
        self.selectBoundaryIDFieldComboBox.setObjectName("selectBoundaryIDFieldComboBox")
        self.note_2 = QtWidgets.QLabel(CaritasPDRASummaryRiskDialog)
        self.note_2.setGeometry(QtCore.QRect(210, 130, 501, 31))
        font = QtGui.QFont()
        font.setPointSize(5)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.note_2.setFont(font)
        self.note_2.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.note_2.setScaledContents(False)
        self.note_2.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.note_2.setWordWrap(True)
        self.note_2.setObjectName("note_2")
        self.note_3 = QtWidgets.QLabel(CaritasPDRASummaryRiskDialog)
        self.note_3.setGeometry(QtCore.QRect(210, 30, 501, 31))
        font = QtGui.QFont()
        font.setPointSize(5)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.note_3.setFont(font)
        self.note_3.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.note_3.setScaledContents(False)
        self.note_3.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.note_3.setWordWrap(True)
        self.note_3.setObjectName("note_3")

        self.retranslateUi(CaritasPDRASummaryRiskDialog)
        QtCore.QMetaObject.connectSlotsByName(CaritasPDRASummaryRiskDialog)