Beispiel #1
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(645, 133)
        Form.setMinimumSize(QtCore.QSize(0, 0))
        Form.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        Form.setFont(font)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.fgdc_attracc = QtWidgets.QGroupBox(Form)
        self.fgdc_attracc.setMinimumSize(QtCore.QSize(0, 0))
        self.fgdc_attracc.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fgdc_attracc.setObjectName("fgdc_attracc")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.fgdc_attracc)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label = QtWidgets.QLabel(self.fgdc_attracc)
        font = QtGui.QFont()
        font.setItalic(True)
        self.label.setFont(font)
        self.label.setStyleSheet("font: italic;")
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.verticalLayout_2.addWidget(self.label)
        self.fgdc_attraccr = GrowingTextEdit(self.fgdc_attracc)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_attraccr.sizePolicy().hasHeightForWidth())
        self.fgdc_attraccr.setSizePolicy(sizePolicy)
        self.fgdc_attraccr.setMinimumSize(QtCore.QSize(0, 45))
        self.fgdc_attraccr.setMaximumSize(QtCore.QSize(16777215, 45))
        self.fgdc_attraccr.setObjectName("fgdc_attraccr")
        self.verticalLayout_2.addWidget(self.fgdc_attraccr)
        self.verticalLayout.addWidget(self.fgdc_attracc)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.fgdc_attracc.setTitle(
            _translate("Form", "Attribute Accuracy Report"))
        self.label.setText(
            _translate(
                "Form",
                'How accurate are the values in the dataset relative to "true" values?   Were any tests performed to assess the accuracy of values?   Please describe any methods used to ensure quality / accuracy in the data.  See help for more info.',
            ))
        self.fgdc_attraccr.setPlainText(
            _translate("Form",
                       "No formal attribute accuracy tests were conducted."))
Beispiel #2
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(599, 131)
        Form.setMinimumSize(QtCore.QSize(0, 0))
        Form.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        Form.setFont(font)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox = QtWidgets.QGroupBox(Form)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label = QtWidgets.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setItalic(True)
        self.label.setFont(font)
        self.label.setStyleSheet("font: italic;")
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.verticalLayout_2.addWidget(self.label)
        self.fgdc_complete = GrowingTextEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_complete.sizePolicy().hasHeightForWidth())
        self.fgdc_complete.setSizePolicy(sizePolicy)
        self.fgdc_complete.setMinimumSize(QtCore.QSize(0, 0))
        self.fgdc_complete.setObjectName("fgdc_complete")
        self.verticalLayout_2.addWidget(self.fgdc_complete)
        self.verticalLayout.addWidget(self.groupBox)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.groupBox.setTitle(_translate("Form", "Completeness Report"))
        self.label.setText(
            _translate(
                "Form",
                "Does the dataset represent only certain types of instances of a phenomenon?   Do the data represent occurrences only within a fixed geographic area?   Provide information about what is included in the dataset versus what is not.   See help for more info."
            ))
        self.fgdc_complete.setPlainText(
            _translate(
                "Form",
                "Dataset is considered complete for the information presented, as described in the abstract.  Users are advised to read the rest of the metadata record carefully for additional details."
            ))
Beispiel #3
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(585, 133)
        Form.setMinimumSize(QtCore.QSize(0, 0))
        Form.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        Form.setFont(font)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox = QtWidgets.QGroupBox(Form)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label = QtWidgets.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setItalic(True)
        self.label.setFont(font)
        self.label.setStyleSheet("font: italic;")
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.verticalLayout_2.addWidget(self.label)
        self.fgdc_logic = GrowingTextEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_logic.sizePolicy().hasHeightForWidth())
        self.fgdc_logic.setSizePolicy(sizePolicy)
        self.fgdc_logic.setMaximumSize(QtCore.QSize(16777215, 45))
        self.fgdc_logic.setObjectName("fgdc_logic")
        self.verticalLayout_2.addWidget(self.fgdc_logic)
        self.verticalLayout.addWidget(self.groupBox)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.groupBox.setTitle(_translate("Form",
                                          "Logical Consistency Report"))
        self.label.setText(
            _translate(
                "Form",
                "Does the actual data match up with the details you have provided about it?   Do all values fall within expected ranges?   Have you checked for data duplication/omission?   Were topology tests conducted to ensure the integrity of geospatial data?   See help for more info.",
            ))
        self.fgdc_logic.setPlainText(
            _translate("Form",
                       "No formal logical accuracy tests were conducted."))
Beispiel #4
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(592, 145)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth())
        Form.setSizePolicy(sizePolicy)
        Form.setMinimumSize(QtCore.QSize(0, 0))
        Form.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        Form.setFont(font)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.parent = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.parent.sizePolicy().hasHeightForWidth())
        self.parent.setSizePolicy(sizePolicy)
        self.parent.setObjectName("parent")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.parent)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(self.parent)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setMaximumSize(QtCore.QSize(16777215, 25))
        font = QtGui.QFont()
        font.setItalic(True)
        self.label.setFont(font)
        self.label.setStyleSheet("font: italic;")
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.label_6 = QtWidgets.QLabel(self.parent)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
        self.label_6.setSizePolicy(sizePolicy)
        self.label_6.setMinimumSize(QtCore.QSize(15, 0))
        self.label_6.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_6.setFont(font)
        self.label_6.setScaledContents(True)
        self.label_6.setAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignTop)
        self.label_6.setIndent(0)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout.addWidget(self.label_6)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.fgdc_abstract = GrowingTextEdit(self.parent)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fgdc_abstract.sizePolicy().hasHeightForWidth())
        self.fgdc_abstract.setSizePolicy(sizePolicy)
        self.fgdc_abstract.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContentsOnFirstShow)
        self.fgdc_abstract.setObjectName("fgdc_abstract")
        self.verticalLayout_2.addWidget(self.fgdc_abstract)
        self.verticalLayout.addWidget(self.parent)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.parent.setTitle(_translate("Form", "Abstract"))
        self.label.setText(_translate("Form", "Provide a description of the dataset."))
        self.label_6.setToolTip(_translate("Form", "Required"))
        self.label_6.setText(_translate("Form", "<html><head/><body><p><span style=\" font-size:22pt; color:#55aaff;\">*</span></p></body></html>"))
Beispiel #5
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(592, 109)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth())
        Form.setSizePolicy(sizePolicy)
        Form.setMinimumSize(QtCore.QSize(0, 100))
        Form.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        Form.setFont(font)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.fgdc_descript = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_descript.sizePolicy().hasHeightForWidth())
        self.fgdc_descript.setSizePolicy(sizePolicy)
        self.fgdc_descript.setObjectName("fgdc_descript")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.fgdc_descript)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label = QtWidgets.QLabel(self.fgdc_descript)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setItalic(True)
        self.label.setFont(font)
        self.label.setStyleSheet("font: italic;")
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.verticalLayout_2.addWidget(self.label)
        self.fgdc_supplinf = GrowingTextEdit(self.fgdc_descript)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_supplinf.sizePolicy().hasHeightForWidth())
        self.fgdc_supplinf.setSizePolicy(sizePolicy)
        self.fgdc_supplinf.setMinimumSize(QtCore.QSize(0, 35))
        self.fgdc_supplinf.setObjectName("fgdc_supplinf")
        self.verticalLayout_2.addWidget(self.fgdc_supplinf)
        self.verticalLayout.addWidget(self.fgdc_descript)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.fgdc_descript.setTitle(
            _translate("Form", "Supplemental Information"))
        self.label.setText(
            _translate(
                "Form",
                "Use this optional section to add ANY other details or information about the dataset that may be helpful to future users."
            ))
Beispiel #6
0
class Ui_fgdc_detailed(object):
    def setupUi(self, fgdc_detailed):
        fgdc_detailed.setObjectName("fgdc_detailed")
        fgdc_detailed.resize(1221, 794)
        self.horizontalLayout = QtWidgets.QHBoxLayout(fgdc_detailed)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.frame = QtWidgets.QFrame(fgdc_detailed)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frame.sizePolicy().hasHeightForWidth())
        self.frame.setSizePolicy(sizePolicy)
        self.frame.setMaximumSize(QtCore.QSize(200, 16777215))
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.frame)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.fgdc_enttyp = QtWidgets.QGroupBox(self.frame)
        self.fgdc_enttyp.setObjectName("fgdc_enttyp")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.fgdc_enttyp)
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(self.fgdc_enttyp)
        self.label.setStyleSheet("font: italic 8pt;")
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.btn_browse = QtWidgets.QPushButton(self.fgdc_enttyp)
        self.btn_browse.setObjectName("btn_browse")
        self.verticalLayout.addWidget(self.btn_browse)
        self.label_2 = QtWidgets.QLabel(self.fgdc_enttyp)
        self.label_2.setObjectName("label_2")
        self.verticalLayout.addWidget(self.label_2)
        self.fgdc_enttypl = QtWidgets.QLineEdit(self.fgdc_enttyp)
        self.fgdc_enttypl.setObjectName("fgdc_enttypl")
        self.verticalLayout.addWidget(self.fgdc_enttypl)
        self.label_3 = QtWidgets.QLabel(self.fgdc_enttyp)
        self.label_3.setObjectName("label_3")
        self.verticalLayout.addWidget(self.label_3)
        self.fgdc_enttypd = GrowingTextEdit(self.fgdc_enttyp)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_enttypd.sizePolicy().hasHeightForWidth())
        self.fgdc_enttypd.setSizePolicy(sizePolicy)
        self.fgdc_enttypd.setMinimumSize(QtCore.QSize(0, 45))
        self.fgdc_enttypd.setMaximumSize(QtCore.QSize(16777215, 45))
        self.fgdc_enttypd.setSizeAdjustPolicy(
            QtWidgets.QAbstractScrollArea.AdjustToContents)
        self.fgdc_enttypd.setObjectName("fgdc_enttypd")
        self.verticalLayout.addWidget(self.fgdc_enttypd)
        self.label_4 = QtWidgets.QLabel(self.fgdc_enttyp)
        self.label_4.setObjectName("label_4")
        self.verticalLayout.addWidget(self.label_4)
        self.fgdc_enttypds = QtWidgets.QLineEdit(self.fgdc_enttyp)
        self.fgdc_enttypds.setObjectName("fgdc_enttypds")
        self.verticalLayout.addWidget(self.fgdc_enttypds)
        spacerItem = QtWidgets.QSpacerItem(20, 0,
                                           QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.verticalLayout_2.addWidget(self.fgdc_enttyp)
        self.btn_remove = QtWidgets.QPushButton(self.frame)
        self.btn_remove.setStyleSheet(
            "background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(150, 0, 0, 100), stop:1 rgba(147, 0, 0, 50));\n"
            "")
        self.btn_remove.setObjectName("btn_remove")
        self.verticalLayout_2.addWidget(self.btn_remove)
        self.horizontalLayout.addWidget(self.frame)
        self.attribute_frame = QtWidgets.QFrame(fgdc_detailed)
        self.attribute_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.attribute_frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.attribute_frame.setObjectName("attribute_frame")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.attribute_frame)
        self.verticalLayout_3.setSpacing(2)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.label_5 = QtWidgets.QLabel(self.attribute_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setMinimumSize(QtCore.QSize(15, 0))
        self.label_5.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_5.setFont(font)
        self.label_5.setTextFormat(QtCore.Qt.RichText)
        self.label_5.setScaledContents(False)
        self.label_5.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignTop)
        self.label_5.setIndent(0)
        self.label_5.setObjectName("label_5")
        self.verticalLayout_3.addWidget(self.label_5)
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setSpacing(2)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.displayed_widget = QtWidgets.QWidget(self.attribute_frame)
        self.displayed_widget.setObjectName("displayed_widget")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.displayed_widget)
        self.horizontalLayout_2.setContentsMargins(9, 4, 0, 0)
        self.horizontalLayout_2.setSpacing(2)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.displayed_label = QtWidgets.QLabel(self.displayed_widget)
        self.displayed_label.setStyleSheet("font: bold;")
        self.displayed_label.setObjectName("displayed_label")
        self.horizontalLayout_2.addWidget(self.displayed_label)
        self.previous = QtWidgets.QPushButton(self.displayed_widget)
        self.previous.setMaximumSize(QtCore.QSize(25, 16777215))
        self.previous.setObjectName("previous")
        self.horizontalLayout_2.addWidget(self.previous)
        self.next = QtWidgets.QPushButton(self.displayed_widget)
        self.next.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.next.sizePolicy().hasHeightForWidth())
        self.next.setSizePolicy(sizePolicy)
        self.next.setMaximumSize(QtCore.QSize(25, 16777215))
        self.next.setAutoRepeatDelay(0)
        self.next.setObjectName("next")
        self.horizontalLayout_2.addWidget(self.next)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.verticalLayout_4.addWidget(self.displayed_widget)
        self.verticalLayout_3.addLayout(self.verticalLayout_4)
        self.horizontalLayout.addWidget(self.attribute_frame)

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

    def retranslateUi(self, fgdc_detailed):
        _translate = QtCore.QCoreApplication.translate
        fgdc_detailed.setWindowTitle(_translate("fgdc_detailed", "Form"))
        self.fgdc_enttyp.setTitle(_translate("fgdc_detailed", "Dataset "))
        self.label.setText(
            _translate(
                "fgdc_detailed",
                "If you have access to the dataset being documented in this metadata record browse to it by clicking the button below.\n"
                "\n"
                "This section will be autopopulated with appropriate content pulled from the data (column labels, min/max values, unique lists, etc.)."
            ))
        self.btn_browse.setText(
            _translate("fgdc_detailed", "Browse to Dataset"))
        self.label_2.setText(_translate("fgdc_detailed", "Dataset Label"))
        self.label_3.setText(_translate("fgdc_detailed",
                                        "Dataset Description"))
        self.label_4.setText(_translate("fgdc_detailed", "Definition Source"))
        self.fgdc_enttypds.setText(
            _translate("fgdc_detailed", "Producer defined"))
        self.btn_remove.setText(
            _translate("fgdc_detailed", "Remove this Detailed"))
        self.label_5.setToolTip(_translate("fgdc_detailed", "Required"))
        self.label_5.setText(
            _translate(
                "fgdc_detailed",
                "<html><head/><body><p><span style=\" font-style:italic; color:#55aaff;\">These represent the columns in your dataset.  Click below in each one and provide a definition for the column and a description for the column contents.</span></p></body></html>"
            ))
        self.displayed_label.setText(
            _translate("fgdc_detailed",
                       "0-N of N Columns (attribues) displayed   "))
        self.previous.setToolTip(
            _translate("fgdc_detailed", "Display previous set of columns"))
        self.previous.setText(_translate("fgdc_detailed", "<"))
        self.next.setToolTip(
            _translate("fgdc_detailed", "Display next set of columns"))
        self.next.setText(_translate("fgdc_detailed", ">"))
Beispiel #7
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(700, 130)
        Form.setMinimumSize(QtCore.QSize(0, 130))
        Form.setMaximumSize(QtCore.QSize(16777215, 165))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        Form.setFont(font)
        self.gridLayout = QtWidgets.QGridLayout(Form)
        self.gridLayout.setContentsMargins(3, 3, 3, 3)
        self.gridLayout.setHorizontalSpacing(3)
        self.gridLayout.setObjectName("gridLayout")
        self.groupBox = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout.setContentsMargins(3, 3, 3, -1)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setItalic(True)
        self.label.setFont(font)
        self.label.setStyleSheet("font: italic;")
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.fgdc_useconst = GrowingTextEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_useconst.sizePolicy().hasHeightForWidth())
        self.fgdc_useconst.setSizePolicy(sizePolicy)
        self.fgdc_useconst.setMinimumSize(QtCore.QSize(0, 45))
        self.fgdc_useconst.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fgdc_useconst.setObjectName("fgdc_useconst")
        self.verticalLayout.addWidget(self.fgdc_useconst)
        self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 1)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.groupBox.setTitle(_translate("Form", "Data Use Constraints"))
        self.label.setText(
            _translate(
                "Form",
                "Describe any restrictions or legal prerequisites for USING the dataset.  Use Constraints may include restrictions applied to assure the protection of privacy or intellectual property, and any special restrictions or limitations on using the dataset."
            ))
        self.fgdc_useconst.setPlainText(
            _translate(
                "Form",
                "None.  Users are advised to read the dataset\'s metadata thoroughly to understand appropriate use and data limitations."
            ))
Beispiel #8
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(454, 132)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth())
        Form.setSizePolicy(sizePolicy)
        Form.setMinimumSize(QtCore.QSize(0, 25))
        Form.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        Form.setFont(font)
        self.horizontalLayout = QtWidgets.QHBoxLayout(Form)
        self.horizontalLayout.setContentsMargins(3, 3, 3, 3)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.groupBox = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMaximumSize(QtCore.QSize(16777215, 16777212))
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setItalic(True)
        self.label.setFont(font)
        self.label.setStyleSheet("font: italic;")
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.fgdc_datacred = GrowingTextEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_datacred.sizePolicy().hasHeightForWidth())
        self.fgdc_datacred.setSizePolicy(sizePolicy)
        self.fgdc_datacred.setMaximumSize(QtCore.QSize(16777215, 400))
        self.fgdc_datacred.setObjectName("fgdc_datacred")
        self.verticalLayout.addWidget(self.fgdc_datacred)
        self.horizontalLayout.addWidget(self.groupBox)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.groupBox.setTitle(_translate("Form", "Dataset Credit(s)"))
        self.label.setText(
            _translate(
                "Form",
                "Are there other organizations / individuals who should get credit for support, funding, data collection, or analysis?",
            ))
Beispiel #9
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(592, 135)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth())
        Form.setSizePolicy(sizePolicy)
        Form.setMinimumSize(QtCore.QSize(0, 135))
        Form.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        Form.setFont(font)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label = QtWidgets.QLabel(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setItalic(True)
        self.label.setFont(font)
        self.label.setStyleSheet("font: italic;")
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.verticalLayout_2.addWidget(self.label)
        self.fgdc_native = GrowingTextEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_native.sizePolicy().hasHeightForWidth())
        self.fgdc_native.setSizePolicy(sizePolicy)
        self.fgdc_native.setPlainText("")
        self.fgdc_native.setObjectName("fgdc_native")
        self.verticalLayout_2.addWidget(self.fgdc_native)
        self.verticalLayout.addWidget(self.groupBox)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.groupBox.setTitle(
            _translate("Form", "Native Data Set Environment"))
        self.label.setText(
            _translate(
                "Form",
                "Describe the computer operating system and software(including version) used to produce this data set, as well as file name and data size.",
            ))
Beispiel #10
0
class Ui_parent_form(object):
    def setupUi(self, parent_form):
        parent_form.setObjectName("parent_form")
        parent_form.resize(1093, 436)
        parent_form.setStyleSheet(
            "QGroupBox{\n"
            "    background-color: transparent;\n"
            "     subcontrol-position: top left; /* position at the top left*/\n"
            "     padding-top: 20px;\n"
            "    font: bold 12px;\n"
            "    color: rgba(90, 90, 90, 225);\n"
            "    border: 1px solid gray;\n"
            "    border-radius: 2px;\n"
            "    border-color: rgba(90, 90, 90, 40);\n"
            "}\n"
            "QGroupBox::title {\n"
            "text-align: left;\n"
            "subcontrol-origin: padding;\n"
            "subcontrol-position: top left; /* position at the top center */padding: 3 3px;\n"
            "}\n"
            "QLabel{\n"
            'font: 9pt "Arial";\n'
            "color: rgb(90, 90, 90);\n"
            "}\n"
            "QLineEdit, QComboBox {\n"
            'font: 9pt "Arial";\n'
            "color: rgb(50, 50, 50);\n"
            "}\n"
            "\n"
            "QGroupBox:Hover {\n"
            "    border-color: rgba(90, 90, 90, 240);\n"
            "}\n"
            "\n"
            "QHBoxLayout#import_doi_layout{\n"
            "subcontrol-position: top left; /* position at the top left*/\n"
            "     padding-top: 200px;\n"
            "}\n"
            "\n"
            ".QFrame {\n"
            "    color: rgba(90, 90, 90, 225);\n"
            "    border: 1px solid gray;\n"
            "    border-radius: 2px;\n"
            "    border-color: rgba(90, 90, 90, 75);\n"
            "}")
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout(parent_form)
        self.horizontalLayout_13.setContentsMargins(3, 0, 3, 0)
        self.horizontalLayout_13.setSpacing(2)
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.fgdc_citeinfo = QtWidgets.QGroupBox(parent_form)
        self.fgdc_citeinfo.setMinimumSize(QtCore.QSize(1000, 360))
        self.fgdc_citeinfo.setObjectName("fgdc_citeinfo")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.fgdc_citeinfo)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.first_hbox = QtWidgets.QHBoxLayout()
        self.first_hbox.setContentsMargins(-1, -1, 0, -1)
        self.first_hbox.setObjectName("first_hbox")
        self.help_title = QtWidgets.QFrame(self.fgdc_citeinfo)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.help_title.sizePolicy().hasHeightForWidth())
        self.help_title.setSizePolicy(sizePolicy)
        self.help_title.setObjectName("help_title")
        self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.help_title)
        self.verticalLayout_11.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout_11.setSpacing(2)
        self.verticalLayout_11.setObjectName("verticalLayout_11")
        self.verticalLayout_10 = QtWidgets.QVBoxLayout()
        self.verticalLayout_10.setContentsMargins(9, 3, 9, 3)
        self.verticalLayout_10.setSpacing(3)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.lbl_dataset_title = QtWidgets.QLabel(self.help_title)
        self.lbl_dataset_title.setStyleSheet("font: bold;")
        self.lbl_dataset_title.setAlignment(QtCore.Qt.AlignLeading
                                            | QtCore.Qt.AlignLeft
                                            | QtCore.Qt.AlignTop)
        self.lbl_dataset_title.setObjectName("lbl_dataset_title")
        self.verticalLayout_10.addWidget(self.lbl_dataset_title)
        self.label_34 = QtWidgets.QLabel(self.help_title)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_34.sizePolicy().hasHeightForWidth())
        self.label_34.setSizePolicy(sizePolicy)
        self.label_34.setStyleSheet("font: italic;")
        self.label_34.setObjectName("label_34")
        self.verticalLayout_10.addWidget(self.label_34)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.fgdc_title = QtWidgets.QPlainTextEdit(self.help_title)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_title.sizePolicy().hasHeightForWidth())
        self.fgdc_title.setSizePolicy(sizePolicy)
        self.fgdc_title.setMaximumSize(QtCore.QSize(16777215, 27))
        self.fgdc_title.setStyleSheet('font: 11pt "Arial";\n'
                                      "color: rgb(50, 50, 50);")
        self.fgdc_title.setInputMethodHints(QtCore.Qt.ImhNone)
        self.fgdc_title.setVerticalScrollBarPolicy(
            QtCore.Qt.ScrollBarAlwaysOff)
        self.fgdc_title.setHorizontalScrollBarPolicy(
            QtCore.Qt.ScrollBarAlwaysOff)
        self.fgdc_title.setLineWrapMode(QtWidgets.QPlainTextEdit.NoWrap)
        self.fgdc_title.setMaximumBlockCount(0)
        self.fgdc_title.setObjectName("fgdc_title")
        self.horizontalLayout_4.addWidget(self.fgdc_title)
        self.label_5 = QtWidgets.QLabel(self.help_title)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setMinimumSize(QtCore.QSize(15, 0))
        self.label_5.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_5.setFont(font)
        self.label_5.setScaledContents(True)
        self.label_5.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignTop)
        self.label_5.setIndent(0)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_4.addWidget(self.label_5)
        self.verticalLayout_10.addLayout(self.horizontalLayout_4)
        self.verticalLayout_11.addLayout(self.verticalLayout_10)
        self.first_hbox.addWidget(self.help_title)
        self.help_pubdate = QtWidgets.QFrame(self.fgdc_citeinfo)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.help_pubdate.sizePolicy().hasHeightForWidth())
        self.help_pubdate.setSizePolicy(sizePolicy)
        self.help_pubdate.setObjectName("help_pubdate")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.help_pubdate)
        self.verticalLayout_2.setContentsMargins(-1, 3, -1, 3)
        self.verticalLayout_2.setSpacing(3)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label_46 = QtWidgets.QLabel(self.help_pubdate)
        self.label_46.setStyleSheet("font: bold;")
        self.label_46.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                   | QtCore.Qt.AlignTop)
        self.label_46.setObjectName("label_46")
        self.verticalLayout_2.addWidget(self.label_46)
        self.label_38 = QtWidgets.QLabel(self.help_pubdate)
        self.label_38.setStyleSheet("font: italic;")
        self.label_38.setObjectName("label_38")
        self.verticalLayout_2.addWidget(self.label_38)
        self.pubdate_layout = QtWidgets.QHBoxLayout()
        self.pubdate_layout.setSizeConstraint(
            QtWidgets.QLayout.SetDefaultConstraint)
        self.pubdate_layout.setObjectName("pubdate_layout")
        spacerItem = QtWidgets.QSpacerItem(0, 20,
                                           QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        self.pubdate_layout.addItem(spacerItem)
        self.verticalLayout_2.addLayout(self.pubdate_layout)
        self.first_hbox.addWidget(self.help_pubdate)
        self.btn_import_doi = QtWidgets.QPushButton(self.fgdc_citeinfo)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btn_import_doi.sizePolicy().hasHeightForWidth())
        self.btn_import_doi.setSizePolicy(sizePolicy)
        self.btn_import_doi.setMinimumSize(QtCore.QSize(50, 0))
        self.btn_import_doi.setMaximumSize(QtCore.QSize(16777215, 50))
        self.btn_import_doi.setStyleSheet(
            "QGroupBox{\n"
            "    background-color: transparent;\n"
            "     subcontrol-position: top left; /* position at the top left*/\n"
            "     padding-top: 20px;\n"
            "    font: bold 12px;\n"
            "    color: rgba(90, 90, 90, 225);\n"
            "    border: 1px solid gray;\n"
            "    border-radius: 2px;\n"
            "    border-color: rgba(90, 90, 90, 40);\n"
            "}\n"
            "QGroupBox::title {\n"
            "text-align: left;\n"
            "subcontrol-origin: padding;\n"
            "subcontrol-position: top left; /* position at the top center */padding: 3 3px;\n"
            "}\n"
            "QLabel{\n"
            'font: 9pt "Arial";\n'
            "color: rgb(90, 90, 90);\n"
            "}\n"
            "QLineEdit, QComboBox {\n"
            'font: 9pt "Arial";\n'
            "color: rgb(50, 50, 50);\n"
            "}\n"
            "\n"
            "QGroupBox:Hover {\n"
            "    border-color: rgba(90, 90, 90, 240);\n"
            "}\n"
            "\n"
            ".QFrame {\n"
            "    color: rgba(90, 90, 90, 225);\n"
            "    border: 1px solid gray;\n"
            "    border-radius: 2px;\n"
            "    border-color: rgba(90, 90, 90, 75);\n"
            "}")
        self.btn_import_doi.setObjectName("btn_import_doi")
        self.first_hbox.addWidget(self.btn_import_doi)
        self.verticalLayout_4.addLayout(self.first_hbox)
        self.second_hbox = QtWidgets.QHBoxLayout()
        self.second_hbox.setSpacing(10)
        self.second_hbox.setObjectName("second_hbox")
        self.help_origin = QtWidgets.QFrame(self.fgdc_citeinfo)
        self.help_origin.setObjectName("help_origin")
        self.verticalLayout_13 = QtWidgets.QVBoxLayout(self.help_origin)
        self.verticalLayout_13.setContentsMargins(3, 3, 9, 3)
        self.verticalLayout_13.setSpacing(3)
        self.verticalLayout_13.setObjectName("verticalLayout_13")
        self.label_47 = QtWidgets.QLabel(self.help_origin)
        self.label_47.setStyleSheet("font: bold;")
        self.label_47.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                   | QtCore.Qt.AlignTop)
        self.label_47.setObjectName("label_47")
        self.verticalLayout_13.addWidget(self.label_47)
        self.originator_layout = QtWidgets.QVBoxLayout()
        self.originator_layout.setObjectName("originator_layout")
        self.verticalLayout_13.addLayout(self.originator_layout)
        self.second_hbox.addWidget(self.help_origin)
        self.framex = QtWidgets.QFrame(self.fgdc_citeinfo)
        self.framex.setObjectName("framex")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.framex)
        self.verticalLayout_7.setSpacing(3)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.help_geoform = QtWidgets.QFrame(self.framex)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.help_geoform.sizePolicy().hasHeightForWidth())
        self.help_geoform.setSizePolicy(sizePolicy)
        self.help_geoform.setMinimumSize(QtCore.QSize(0, 75))
        self.help_geoform.setObjectName("help_geoform")
        self.verticalLayout_15 = QtWidgets.QVBoxLayout(self.help_geoform)
        self.verticalLayout_15.setContentsMargins(9, 3, 9, 6)
        self.verticalLayout_15.setSpacing(3)
        self.verticalLayout_15.setObjectName("verticalLayout_15")
        self.label_53 = QtWidgets.QLabel(self.help_geoform)
        self.label_53.setStyleSheet("font: bold;")
        self.label_53.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                   | QtCore.Qt.AlignTop)
        self.label_53.setObjectName("label_53")
        self.verticalLayout_15.addWidget(self.label_53)
        self.label_36 = QtWidgets.QLabel(self.help_geoform)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_36.sizePolicy().hasHeightForWidth())
        self.label_36.setSizePolicy(sizePolicy)
        self.label_36.setStyleSheet("font: italic;")
        self.label_36.setObjectName("label_36")
        self.verticalLayout_15.addWidget(self.label_36)
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        self.fgdc_geoform = QtWidgets.QComboBox(self.help_geoform)
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        self.fgdc_geoform.setFont(font)
        self.fgdc_geoform.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.fgdc_geoform.setEditable(True)
        self.fgdc_geoform.setObjectName("fgdc_geoform")
        self.fgdc_geoform.addItem("")
        self.fgdc_geoform.addItem("")
        self.fgdc_geoform.addItem("")
        self.fgdc_geoform.addItem("")
        self.fgdc_geoform.addItem("")
        self.fgdc_geoform.addItem("")
        self.fgdc_geoform.addItem("")
        self.horizontalLayout_14.addWidget(self.fgdc_geoform)
        self.label_9 = QtWidgets.QLabel(self.help_geoform)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_9.sizePolicy().hasHeightForWidth())
        self.label_9.setSizePolicy(sizePolicy)
        self.label_9.setMinimumSize(QtCore.QSize(15, 0))
        self.label_9.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_9.setFont(font)
        self.label_9.setScaledContents(True)
        self.label_9.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignTop)
        self.label_9.setIndent(0)
        self.label_9.setObjectName("label_9")
        self.horizontalLayout_14.addWidget(self.label_9)
        self.verticalLayout_15.addLayout(self.horizontalLayout_14)
        self.verticalLayout_7.addWidget(self.help_geoform)
        self.help_edition = QtWidgets.QFrame(self.framex)
        self.help_edition.setObjectName("help_edition")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.help_edition)
        self.horizontalLayout.setContentsMargins(-1, 3, 9, 3)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_55 = QtWidgets.QLabel(self.help_edition)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_55.sizePolicy().hasHeightForWidth())
        self.label_55.setSizePolicy(sizePolicy)
        self.label_55.setStyleSheet("font: bold;")
        self.label_55.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                   | QtCore.Qt.AlignVCenter)
        self.label_55.setObjectName("label_55")
        self.horizontalLayout.addWidget(self.label_55)
        self.fgdc_edition = QtWidgets.QLineEdit(self.help_edition)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_edition.sizePolicy().hasHeightForWidth())
        self.fgdc_edition.setSizePolicy(sizePolicy)
        self.fgdc_edition.setObjectName("fgdc_edition")
        self.horizontalLayout.addWidget(self.fgdc_edition)
        self.verticalLayout_7.addWidget(self.help_edition)
        spacerItem1 = QtWidgets.QSpacerItem(
            20, 0, QtWidgets.QSizePolicy.Minimum,
            QtWidgets.QSizePolicy.MinimumExpanding)
        self.verticalLayout_7.addItem(spacerItem1)
        self.second_hbox.addWidget(self.framex)
        self.help_onlink = QtWidgets.QFrame(self.fgdc_citeinfo)
        self.help_onlink.setObjectName("help_onlink")
        self.verticalLayout_17 = QtWidgets.QVBoxLayout(self.help_onlink)
        self.verticalLayout_17.setContentsMargins(3, 3, 9, 3)
        self.verticalLayout_17.setSpacing(3)
        self.verticalLayout_17.setObjectName("verticalLayout_17")
        self.label_51 = QtWidgets.QLabel(self.help_onlink)
        self.label_51.setStyleSheet("font: bold;")
        self.label_51.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                   | QtCore.Qt.AlignTop)
        self.label_51.setObjectName("label_51")
        self.verticalLayout_17.addWidget(self.label_51)
        self.onlink_layout = QtWidgets.QVBoxLayout()
        self.onlink_layout.setObjectName("onlink_layout")
        self.verticalLayout_17.addLayout(self.onlink_layout)
        self.second_hbox.addWidget(self.help_onlink)
        self.verticalLayout_4.addLayout(self.second_hbox)
        self.horizontalLayout_15 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_15.setContentsMargins(0, 3, 0, 3)
        self.horizontalLayout_15.setSpacing(6)
        self.horizontalLayout_15.setObjectName("horizontalLayout_15")
        self.fgdc_serinfo = QtWidgets.QFrame(self.fgdc_citeinfo)
        self.fgdc_serinfo.setObjectName("fgdc_serinfo")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.fgdc_serinfo)
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout.setSpacing(3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label_43 = QtWidgets.QLabel(self.fgdc_serinfo)
        self.label_43.setStyleSheet("font: bold;")
        self.label_43.setObjectName("label_43")
        self.horizontalLayout_6.addWidget(self.label_43)
        spacerItem2 = QtWidgets.QSpacerItem(48, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem2)
        self.radio_seriesyes = QtWidgets.QRadioButton(self.fgdc_serinfo)
        self.radio_seriesyes.setObjectName("radio_seriesyes")
        self.horizontalLayout_6.addWidget(self.radio_seriesyes)
        self.radio_seriesno = QtWidgets.QRadioButton(self.fgdc_serinfo)
        self.radio_seriesno.setChecked(True)
        self.radio_seriesno.setObjectName("radio_seriesno")
        self.horizontalLayout_6.addWidget(self.radio_seriesno)
        self.verticalLayout.addLayout(self.horizontalLayout_6)
        self.label_44 = QtWidgets.QLabel(self.fgdc_serinfo)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_44.sizePolicy().hasHeightForWidth())
        self.label_44.setSizePolicy(sizePolicy)
        self.label_44.setStyleSheet("font: italic;")
        self.label_44.setObjectName("label_44")
        self.verticalLayout.addWidget(self.label_44)
        self.series_ext = QtWidgets.QWidget(self.fgdc_serinfo)
        self.series_ext.setObjectName("series_ext")
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout(self.series_ext)
        self.horizontalLayout_10.setContentsMargins(3, 6, 3, 3)
        self.horizontalLayout_10.setSpacing(3)
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_9.setSpacing(10)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.verticalLayout_21 = QtWidgets.QVBoxLayout()
        self.verticalLayout_21.setSpacing(3)
        self.verticalLayout_21.setObjectName("verticalLayout_21")
        self.help_sername = QtWidgets.QLabel(self.series_ext)
        self.help_sername.setObjectName("help_sername")
        self.verticalLayout_21.addWidget(self.help_sername)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.fgdc_sername = QtWidgets.QLineEdit(self.series_ext)
        self.fgdc_sername.setObjectName("fgdc_sername")
        self.horizontalLayout_7.addWidget(self.fgdc_sername)
        self.label_6 = QtWidgets.QLabel(self.series_ext)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_6.sizePolicy().hasHeightForWidth())
        self.label_6.setSizePolicy(sizePolicy)
        self.label_6.setMinimumSize(QtCore.QSize(15, 0))
        self.label_6.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_6.setFont(font)
        self.label_6.setScaledContents(True)
        self.label_6.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignTop)
        self.label_6.setIndent(0)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_7.addWidget(self.label_6)
        self.verticalLayout_21.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_9.addLayout(self.verticalLayout_21)
        self.verticalLayout_22 = QtWidgets.QVBoxLayout()
        self.verticalLayout_22.setSpacing(3)
        self.verticalLayout_22.setObjectName("verticalLayout_22")
        self.help_issue = QtWidgets.QLabel(self.series_ext)
        self.help_issue.setObjectName("help_issue")
        self.verticalLayout_22.addWidget(self.help_issue)
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.fgdc_issue = QtWidgets.QLineEdit(self.series_ext)
        self.fgdc_issue.setObjectName("fgdc_issue")
        self.horizontalLayout_11.addWidget(self.fgdc_issue)
        self.label_7 = QtWidgets.QLabel(self.series_ext)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_7.sizePolicy().hasHeightForWidth())
        self.label_7.setSizePolicy(sizePolicy)
        self.label_7.setMinimumSize(QtCore.QSize(15, 0))
        self.label_7.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_7.setFont(font)
        self.label_7.setScaledContents(True)
        self.label_7.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignTop)
        self.label_7.setIndent(0)
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_11.addWidget(self.label_7)
        self.verticalLayout_22.addLayout(self.horizontalLayout_11)
        self.horizontalLayout_9.addLayout(self.verticalLayout_22)
        self.horizontalLayout_10.addLayout(self.horizontalLayout_9)
        self.verticalLayout.addWidget(self.series_ext)
        spacerItem3 = QtWidgets.QSpacerItem(20, 0,
                                            QtWidgets.QSizePolicy.Minimum,
                                            QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem3)
        self.horizontalLayout_15.addWidget(self.fgdc_serinfo)
        self.fgdc_pubinfo = QtWidgets.QFrame(self.fgdc_citeinfo)
        self.fgdc_pubinfo.setObjectName("fgdc_pubinfo")
        self.verticalLayout_24 = QtWidgets.QVBoxLayout(self.fgdc_pubinfo)
        self.verticalLayout_24.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout_24.setSpacing(3)
        self.verticalLayout_24.setObjectName("verticalLayout_24")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.label_49 = QtWidgets.QLabel(self.fgdc_pubinfo)
        self.label_49.setStyleSheet("font: bold;")
        self.label_49.setObjectName("label_49")
        self.horizontalLayout_8.addWidget(self.label_49)
        spacerItem4 = QtWidgets.QSpacerItem(0, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem4)
        self.radio_pubinfoyes = QtWidgets.QRadioButton(self.fgdc_pubinfo)
        self.radio_pubinfoyes.setObjectName("radio_pubinfoyes")
        self.horizontalLayout_8.addWidget(self.radio_pubinfoyes)
        self.radio_pubinfono = QtWidgets.QRadioButton(self.fgdc_pubinfo)
        self.radio_pubinfono.setChecked(True)
        self.radio_pubinfono.setObjectName("radio_pubinfono")
        self.horizontalLayout_8.addWidget(self.radio_pubinfono)
        self.verticalLayout_24.addLayout(self.horizontalLayout_8)
        self.label_50 = QtWidgets.QLabel(self.fgdc_pubinfo)
        self.label_50.setStyleSheet("font: italic;")
        self.label_50.setObjectName("label_50")
        self.verticalLayout_24.addWidget(self.label_50)
        self.pub_ext = QtWidgets.QWidget(self.fgdc_pubinfo)
        self.pub_ext.setObjectName("pub_ext")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.pub_ext)
        self.verticalLayout_3.setContentsMargins(3, 6, 3, 3)
        self.verticalLayout_3.setSpacing(3)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_12.setSpacing(10)
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        self.verticalLayout_30 = QtWidgets.QVBoxLayout()
        self.verticalLayout_30.setSpacing(3)
        self.verticalLayout_30.setObjectName("verticalLayout_30")
        self.help_pubplace = QtWidgets.QLabel(self.pub_ext)
        self.help_pubplace.setObjectName("help_pubplace")
        self.verticalLayout_30.addWidget(self.help_pubplace)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.fgdc_pubplace = QtWidgets.QLineEdit(self.pub_ext)
        self.fgdc_pubplace.setObjectName("fgdc_pubplace")
        self.horizontalLayout_2.addWidget(self.fgdc_pubplace)
        self.label_3 = QtWidgets.QLabel(self.pub_ext)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setMinimumSize(QtCore.QSize(15, 0))
        self.label_3.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_3.setFont(font)
        self.label_3.setScaledContents(True)
        self.label_3.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignTop)
        self.label_3.setIndent(0)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_2.addWidget(self.label_3)
        self.verticalLayout_30.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_12.addLayout(self.verticalLayout_30)
        self.verticalLayout_31 = QtWidgets.QVBoxLayout()
        self.verticalLayout_31.setSpacing(3)
        self.verticalLayout_31.setObjectName("verticalLayout_31")
        self.help_publish = QtWidgets.QLabel(self.pub_ext)
        self.help_publish.setObjectName("help_publish")
        self.verticalLayout_31.addWidget(self.help_publish)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.fgdc_publish = QtWidgets.QLineEdit(self.pub_ext)
        self.fgdc_publish.setObjectName("fgdc_publish")
        self.horizontalLayout_3.addWidget(self.fgdc_publish)
        self.label_4 = QtWidgets.QLabel(self.pub_ext)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setMinimumSize(QtCore.QSize(15, 0))
        self.label_4.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_4.setFont(font)
        self.label_4.setScaledContents(True)
        self.label_4.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignTop)
        self.label_4.setIndent(0)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_3.addWidget(self.label_4)
        self.verticalLayout_31.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_12.addLayout(self.verticalLayout_31)
        self.verticalLayout_3.addLayout(self.horizontalLayout_12)
        self.verticalLayout_24.addWidget(self.pub_ext)
        spacerItem5 = QtWidgets.QSpacerItem(20, 0,
                                            QtWidgets.QSizePolicy.Minimum,
                                            QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_24.addItem(spacerItem5)
        self.horizontalLayout_15.addWidget(self.fgdc_pubinfo)
        self.help_othercit = QtWidgets.QFrame(self.fgdc_citeinfo)
        self.help_othercit.setObjectName("help_othercit")
        self.verticalLayout_16 = QtWidgets.QVBoxLayout(self.help_othercit)
        self.verticalLayout_16.setContentsMargins(9, 3, 9, 3)
        self.verticalLayout_16.setSpacing(3)
        self.verticalLayout_16.setObjectName("verticalLayout_16")
        self.label_54 = QtWidgets.QLabel(self.help_othercit)
        self.label_54.setStyleSheet("font: bold;")
        self.label_54.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                   | QtCore.Qt.AlignTop)
        self.label_54.setObjectName("label_54")
        self.verticalLayout_16.addWidget(self.label_54)
        self.fgdc_othercit = GrowingTextEdit(self.help_othercit)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_othercit.sizePolicy().hasHeightForWidth())
        self.fgdc_othercit.setSizePolicy(sizePolicy)
        self.fgdc_othercit.setSizeAdjustPolicy(
            QtWidgets.QAbstractScrollArea.AdjustToContentsOnFirstShow)
        self.fgdc_othercit.setObjectName("fgdc_othercit")
        self.verticalLayout_16.addWidget(self.fgdc_othercit)
        self.horizontalLayout_15.addWidget(self.help_othercit)
        self.verticalLayout_4.addLayout(self.horizontalLayout_15)
        self.fgdc_lworkcit = QtWidgets.QGroupBox(self.fgdc_citeinfo)
        self.fgdc_lworkcit.setObjectName("fgdc_lworkcit")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.fgdc_lworkcit)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.horizontalLayout_28 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_28.setSpacing(0)
        self.horizontalLayout_28.setObjectName("horizontalLayout_28")
        self.label_65 = QtWidgets.QLabel(self.fgdc_lworkcit)
        self.label_65.setStyleSheet("font: bold;")
        self.label_65.setObjectName("label_65")
        self.horizontalLayout_28.addWidget(self.label_65)
        spacerItem6 = QtWidgets.QSpacerItem(15, 20,
                                            QtWidgets.QSizePolicy.Fixed,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_28.addItem(spacerItem6)
        self.radio_lworkyes = QtWidgets.QRadioButton(self.fgdc_lworkcit)
        self.radio_lworkyes.setObjectName("radio_lworkyes")
        self.horizontalLayout_28.addWidget(self.radio_lworkyes)
        self.radio_lworkno = QtWidgets.QRadioButton(self.fgdc_lworkcit)
        self.radio_lworkno.setChecked(True)
        self.radio_lworkno.setObjectName("radio_lworkno")
        self.horizontalLayout_28.addWidget(self.radio_lworkno)
        spacerItem7 = QtWidgets.QSpacerItem(80, 20,
                                            QtWidgets.QSizePolicy.Fixed,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_28.addItem(spacerItem7)
        self.label_66 = QtWidgets.QLabel(self.fgdc_lworkcit)
        self.label_66.setStyleSheet("font: italic;")
        self.label_66.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.label_66.setObjectName("label_66")
        self.horizontalLayout_28.addWidget(self.label_66)
        spacerItem8 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_28.addItem(spacerItem8)
        self.verticalLayout_5.addLayout(self.horizontalLayout_28)
        self.lworkcite_widget = QtWidgets.QWidget(self.fgdc_lworkcit)
        self.lworkcite_widget.setObjectName("lworkcite_widget")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.lworkcite_widget)
        self.horizontalLayout_5.setContentsMargins(15, 0, 0, 0)
        self.horizontalLayout_5.setSpacing(0)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.verticalLayout_5.addWidget(self.lworkcite_widget)
        self.verticalLayout_4.addWidget(self.fgdc_lworkcit)
        self.horizontalLayout_13.addWidget(self.fgdc_citeinfo)

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

    def retranslateUi(self, parent_form):
        _translate = QtCore.QCoreApplication.translate
        parent_form.setWindowTitle(_translate("parent_form", "Form"))
        self.fgdc_citeinfo.setTitle(_translate("parent_form", "Citation"))
        self.lbl_dataset_title.setText(
            _translate("parent_form", "Dataset Title"))
        self.label_34.setText(
            _translate(
                "parent_form",
                "A good title includes 'What', 'Where', and 'When'.  (Example: Point Locations of Wind Turbines in Colorado, Derived from 2010 NAIP Imagery)",
            ))
        self.label_5.setToolTip(_translate("parent_form", "Required"))
        self.label_5.setText(
            _translate(
                "parent_form",
                '<html><head/><body><p><span style=" font-size:18pt; color:#55aaff;">*</span></p></body></html>',
            ))
        self.label_46.setText(_translate("parent_form", "Publication Date"))
        self.label_38.setText(
            _translate("parent_form",
                       "When was the dataset published or finalized?"))
        self.btn_import_doi.setToolTip(
            _translate("parent_form",
                       "Import citation from Active (CrossRef) DOI"))
        self.btn_import_doi.setText(
            _translate("parent_form", "Import \n"
                       "from \n"
                       "DOI"))
        self.label_47.setText(
            _translate("parent_form", "Dataset Author/ Originator"))
        self.label_53.setText(_translate("parent_form", "Dataset Format"))
        self.label_36.setText(
            _translate("parent_form",
                       "Type directly in box below for items not in list."))
        self.fgdc_geoform.setCurrentText(
            _translate("parent_form", "tabular digital data"))
        self.fgdc_geoform.setItemText(
            0, _translate("parent_form", "tabular digital data"))
        self.fgdc_geoform.setItemText(
            1, _translate("parent_form", "vector digital data"))
        self.fgdc_geoform.setItemText(
            2, _translate("parent_form", "raster digital data"))
        self.fgdc_geoform.setItemText(3,
                                      _translate("parent_form", "spreadsheet"))
        self.fgdc_geoform.setItemText(
            4, _translate("parent_form", "remote-sensing image"))
        self.fgdc_geoform.setItemText(
            5, _translate("parent_form", "application/service"))
        self.fgdc_geoform.setItemText(6,
                                      _translate("parent_form", "publication"))
        self.label_9.setToolTip(_translate("parent_form", "Required"))
        self.label_9.setText(
            _translate(
                "parent_form",
                '<html><head/><body><p><span style=" font-size:18pt; color:#55aaff;">*</span></p></body></html>',
            ))
        self.label_55.setText(_translate("parent_form", "Edition"))
        self.label_51.setText(
            _translate("parent_form", "Online Link to the Dataset"))
        self.label_43.setText(
            _translate("parent_form", "Is this dataset part of a series?"))
        self.radio_seriesyes.setText(_translate("parent_form", "Yes"))
        self.radio_seriesno.setText(_translate("parent_form", "No"))
        self.label_44.setText(
            _translate(
                "parent_form",
                " Is it a release with an assigned issue number (e.g. USGS Data Series)",
            ))
        self.help_sername.setText(_translate("parent_form", "Series Name"))
        self.label_6.setToolTip(_translate("parent_form", "Required"))
        self.label_6.setText(
            _translate(
                "parent_form",
                '<html><head/><body><p><span style=" font-size:18pt; color:#55aaff;">*</span></p></body></html>',
            ))
        self.help_issue.setText(
            _translate("parent_form", "Issue Name / Number within Series"))
        self.label_7.setToolTip(_translate("parent_form", "Required"))
        self.label_7.setText(
            _translate(
                "parent_form",
                '<html><head/><body><p><span style=" font-size:18pt; color:#55aaff;">*</span></p></body></html>',
            ))
        self.label_49.setText(
            _translate(
                "parent_form",
                "Can you provide more publication information about this dataset?",
            ))
        self.radio_pubinfoyes.setText(_translate("parent_form", "Yes"))
        self.radio_pubinfono.setText(_translate("parent_form", "No"))
        self.label_50.setText(
            _translate(
                "parent_form",
                "More details are always helpful for finding and properly referencing data.",
            ))
        self.help_pubplace.setText(
            _translate("parent_form", "Publication Place"))
        self.label_3.setToolTip(_translate("parent_form", "Required"))
        self.label_3.setText(
            _translate(
                "parent_form",
                '<html><head/><body><p><span style=" font-size:18pt; color:#55aaff;">*</span></p></body></html>',
            ))
        self.help_publish.setText(_translate("parent_form", "Publisher"))
        self.label_4.setToolTip(_translate("parent_form", "Required"))
        self.label_4.setText(
            _translate(
                "parent_form",
                '<html><head/><body><p><span style=" font-size:18pt; color:#55aaff;">*</span></p></body></html>',
            ))
        self.label_54.setText(
            _translate("parent_form", "Other citation details"))
        self.fgdc_lworkcit.setTitle(_translate("parent_form", "Larger Work"))
        self.label_65.setText(
            _translate("parent_form",
                       "Is this dataset associated with a larger work?"))
        self.radio_lworkyes.setText(_translate("parent_form", "Yes"))
        self.radio_lworkno.setText(_translate("parent_form", "No"))
        self.label_66.setText(
            _translate(
                "parent_form",
                "If this record is part of a publication or larger project, you may optionally cite it here.",
            ))
Beispiel #11
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(592, 140)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth())
        Form.setSizePolicy(sizePolicy)
        Form.setMinimumSize(QtCore.QSize(0, 135))
        Form.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        Form.setFont(font)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label = QtWidgets.QLabel(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setItalic(True)
        self.label.setFont(font)
        self.label.setStyleSheet("font: italic;")
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.verticalLayout_2.addWidget(self.label)
        self.fgdc_accconst = GrowingTextEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_accconst.sizePolicy().hasHeightForWidth())
        self.fgdc_accconst.setSizePolicy(sizePolicy)
        self.fgdc_accconst.setObjectName("fgdc_accconst")
        self.verticalLayout_2.addWidget(self.fgdc_accconst)
        self.verticalLayout.addWidget(self.groupBox)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.groupBox.setTitle(_translate("Form", "Data Access Constraints"))
        self.label.setText(
            _translate(
                "Form",
                "Describe any restrictions of legal prerequisites for ACCESSING the dataset.  Access Constraints may include restrictions applied to assure the protection of privacy or intellectual property, and any special restrictions or limitations to accessing the dataset.",
            ))
        self.fgdc_accconst.setPlainText(
            _translate("Form",
                       "None.  Please see 'Distribution Info' for details."))
Beispiel #12
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(805, 177)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout(Form)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.fgdc_srcinfo = QtWidgets.QGroupBox(Form)
        self.fgdc_srcinfo.setObjectName("fgdc_srcinfo")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.fgdc_srcinfo)
        self.verticalLayout_4.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.label_14 = QtWidgets.QLabel(self.fgdc_srcinfo)
        self.label_14.setObjectName("label_14")
        self.horizontalLayout_11.addWidget(self.label_14)
        self.fgdc_srccitea = QtWidgets.QLineEdit(self.fgdc_srcinfo)
        self.fgdc_srccitea.setObjectName("fgdc_srccitea")
        self.horizontalLayout_11.addWidget(self.fgdc_srccitea)
        self.label_4 = QtWidgets.QLabel(self.fgdc_srcinfo)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setMinimumSize(QtCore.QSize(15, 0))
        self.label_4.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_4.setFont(font)
        self.label_4.setScaledContents(True)
        self.label_4.setAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignTop)
        self.label_4.setIndent(0)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_11.addWidget(self.label_4)
        self.verticalLayout_4.addLayout(self.horizontalLayout_11)
        self.fgdc_srccite = QtWidgets.QWidget(self.fgdc_srcinfo)
        self.fgdc_srccite.setObjectName("fgdc_srccite")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.fgdc_srccite)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout_4.addWidget(self.fgdc_srccite)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setSpacing(9)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.fgdc_srctime = QtWidgets.QWidget(self.fgdc_srcinfo)
        self.fgdc_srctime.setObjectName("fgdc_srctime")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.fgdc_srctime)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_8 = QtWidgets.QLabel(self.fgdc_srctime)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_8.sizePolicy().hasHeightForWidth())
        self.label_8.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setBold(True)
        font.setItalic(False)
        font.setWeight(75)
        self.label_8.setFont(font)
        self.label_8.setStyleSheet("font: bold;")
        self.label_8.setObjectName("label_8")
        self.verticalLayout.addWidget(self.label_8)
        self.label_36 = QtWidgets.QLabel(self.fgdc_srctime)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_36.sizePolicy().hasHeightForWidth())
        self.label_36.setSizePolicy(sizePolicy)
        self.label_36.setStyleSheet("font: italic;")
        self.label_36.setObjectName("label_36")
        self.verticalLayout.addWidget(self.label_36)
        self.fgdc_srccurr = QtWidgets.QComboBox(self.fgdc_srctime)
        self.fgdc_srccurr.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.fgdc_srccurr.setEditable(True)
        self.fgdc_srccurr.setObjectName("fgdc_srccurr")
        self.fgdc_srccurr.addItem("")
        self.fgdc_srccurr.setItemText(0, "")
        self.fgdc_srccurr.addItem("")
        self.fgdc_srccurr.addItem("")
        self.fgdc_srccurr.addItem("")
        self.fgdc_srccurr.addItem("")
        self.verticalLayout.addWidget(self.fgdc_srccurr)
        self.horizontalLayout_3.addWidget(self.fgdc_srctime)
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        self.verticalLayout_16 = QtWidgets.QVBoxLayout()
        self.verticalLayout_16.setSpacing(3)
        self.verticalLayout_16.setObjectName("verticalLayout_16")
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.label_15 = QtWidgets.QLabel(self.fgdc_srcinfo)
        self.label_15.setObjectName("label_15")
        self.horizontalLayout_13.addWidget(self.label_15)
        self.label_16 = QtWidgets.QLabel(self.fgdc_srcinfo)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_16.sizePolicy().hasHeightForWidth())
        self.label_16.setSizePolicy(sizePolicy)
        self.label_16.setMinimumSize(QtCore.QSize(15, 0))
        self.label_16.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_16.setFont(font)
        self.label_16.setScaledContents(True)
        self.label_16.setAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignTop)
        self.label_16.setIndent(0)
        self.label_16.setObjectName("label_16")
        self.horizontalLayout_13.addWidget(self.label_16)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_13.addItem(spacerItem)
        self.verticalLayout_16.addLayout(self.horizontalLayout_13)
        self.srccontr_layout = QtWidgets.QHBoxLayout()
        self.srccontr_layout.setObjectName("srccontr_layout")
        self.fgdc_srccontr = GrowingTextEdit(self.fgdc_srcinfo)
        self.fgdc_srccontr.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContentsOnFirstShow)
        self.fgdc_srccontr.setObjectName("fgdc_srccontr")
        self.srccontr_layout.addWidget(self.fgdc_srccontr)
        self.verticalLayout_16.addLayout(self.srccontr_layout)
        spacerItem1 = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_16.addItem(spacerItem1)
        self.horizontalLayout_12.addLayout(self.verticalLayout_16)
        self.verticalLayout_14 = QtWidgets.QVBoxLayout()
        self.verticalLayout_14.setSpacing(3)
        self.verticalLayout_14.setObjectName("verticalLayout_14")
        self.label_17 = QtWidgets.QLabel(self.fgdc_srcinfo)
        self.label_17.setObjectName("label_17")
        self.verticalLayout_14.addWidget(self.label_17)
        self.horizontalLayout_15 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_15.setObjectName("horizontalLayout_15")
        self.fgdc_typesrc = QtWidgets.QComboBox(self.fgdc_srcinfo)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fgdc_typesrc.sizePolicy().hasHeightForWidth())
        self.fgdc_typesrc.setSizePolicy(sizePolicy)
        self.fgdc_typesrc.setEditable(True)
        self.fgdc_typesrc.setObjectName("fgdc_typesrc")
        self.fgdc_typesrc.addItem("")
        self.horizontalLayout_15.addWidget(self.fgdc_typesrc)
        self.label_18 = QtWidgets.QLabel(self.fgdc_srcinfo)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_18.sizePolicy().hasHeightForWidth())
        self.label_18.setSizePolicy(sizePolicy)
        self.label_18.setMinimumSize(QtCore.QSize(15, 0))
        self.label_18.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_18.setFont(font)
        self.label_18.setScaledContents(True)
        self.label_18.setAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignTop)
        self.label_18.setIndent(0)
        self.label_18.setObjectName("label_18")
        self.horizontalLayout_15.addWidget(self.label_18)
        self.verticalLayout_14.addLayout(self.horizontalLayout_15)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setSpacing(3)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.label_19 = QtWidgets.QLabel(self.fgdc_srcinfo)
        self.label_19.setObjectName("label_19")
        self.verticalLayout_6.addWidget(self.label_19)
        self.horizontalLayout_16 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_16.setObjectName("horizontalLayout_16")
        self.label_20 = QtWidgets.QLabel(self.fgdc_srcinfo)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_20.sizePolicy().hasHeightForWidth())
        self.label_20.setSizePolicy(sizePolicy)
        self.label_20.setMinimumSize(QtCore.QSize(15, 0))
        self.label_20.setObjectName("label_20")
        self.horizontalLayout_16.addWidget(self.label_20)
        self.fgdc_srcscale = QtWidgets.QLineEdit(self.fgdc_srcinfo)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fgdc_srcscale.sizePolicy().hasHeightForWidth())
        self.fgdc_srcscale.setSizePolicy(sizePolicy)
        self.fgdc_srcscale.setObjectName("fgdc_srcscale")
        self.horizontalLayout_16.addWidget(self.fgdc_srcscale)
        self.verticalLayout_6.addLayout(self.horizontalLayout_16)
        self.verticalLayout_14.addLayout(self.verticalLayout_6)
        spacerItem2 = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_14.addItem(spacerItem2)
        self.horizontalLayout_12.addLayout(self.verticalLayout_14)
        self.horizontalLayout_3.addLayout(self.horizontalLayout_12)
        self.verticalLayout_4.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_7.addWidget(self.fgdc_srcinfo)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.fgdc_srcinfo.setTitle(_translate("Form", "Source Input"))
        self.label_14.setText(_translate("Form", "Abbreviation / Short Name for the Input Data"))
        self.label_4.setToolTip(_translate("Form", "Required"))
        self.label_4.setText(_translate("Form", "<html><head/><body><p><span style=\" font-size:18pt; color:#55aaff;\">*</span></p></body></html>"))
        self.label_8.setWhatsThis(_translate("Form", "<html><head/><body><p>currentness what\'s this....</p><p>fakls;dfhjl;sakdjfl</p></body></html>"))
        self.label_8.setText(_translate("Form", "Currentness Reference"))
        self.label_36.setText(_translate("Form", "Type directly in box below for items not in list."))
        self.fgdc_srccurr.setItemText(1, _translate("Form", "ground condition"))
        self.fgdc_srccurr.setItemText(2, _translate("Form", "observed"))
        self.fgdc_srccurr.setItemText(3, _translate("Form", "publication date"))
        self.fgdc_srccurr.setItemText(4, _translate("Form", "See Supplemental Info"))
        self.label_15.setText(_translate("Form", "Contribution of this Source Input"))
        self.label_16.setToolTip(_translate("Form", "Required"))
        self.label_16.setText(_translate("Form", "<html><head/><body><p><span style=\" font-size:22pt; color:#55aaff;\">*</span></p></body></html>"))
        self.label_17.setText(_translate("Form", "Type of Resource"))
        self.fgdc_typesrc.setItemText(0, _translate("Form", "Digital and/or Hardcopy"))
        self.label_18.setToolTip(_translate("Form", "Required"))
        self.label_18.setText(_translate("Form", "<html><head/><body><p><span style=\" font-size:18pt; color:#55aaff;\">*</span></p></body></html>"))
        self.label_19.setText(_translate("Form", "Source Scale"))
        self.label_20.setText(_translate("Form", "1:"))
        self.fgdc_srcscale.setPlaceholderText(_translate("Form", "24000"))
Beispiel #13
0
class Ui_fgdc_attrdomv(object):
    def setupUi(self, fgdc_attrdomv):
        fgdc_attrdomv.setObjectName("fgdc_attrdomv")
        fgdc_attrdomv.resize(256, 100)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            fgdc_attrdomv.sizePolicy().hasHeightForWidth())
        fgdc_attrdomv.setSizePolicy(sizePolicy)
        self.verticalLayout = QtWidgets.QVBoxLayout(fgdc_attrdomv)
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.fgdc_edom = QtWidgets.QFrame(fgdc_attrdomv)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_edom.sizePolicy().hasHeightForWidth())
        self.fgdc_edom.setSizePolicy(sizePolicy)
        self.fgdc_edom.setFrameShape(QtWidgets.QFrame.Box)
        self.fgdc_edom.setFrameShadow(QtWidgets.QFrame.Plain)
        self.fgdc_edom.setObjectName("fgdc_edom")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.fgdc_edom)
        self.verticalLayout_2.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout_2.setSpacing(1)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.widget_3 = QtWidgets.QWidget(self.fgdc_edom)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.widget_3.sizePolicy().hasHeightForWidth())
        self.widget_3.setSizePolicy(sizePolicy)
        self.widget_3.setObjectName("widget_3")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.widget_3)
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_2.setSpacing(0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.fgdc_edomv = QtWidgets.QLineEdit(self.widget_3)
        self.fgdc_edomv.setText("")
        self.fgdc_edomv.setObjectName("fgdc_edomv")
        self.horizontalLayout_2.addWidget(self.fgdc_edomv)
        self.label_27 = QtWidgets.QLabel(self.widget_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_27.sizePolicy().hasHeightForWidth())
        self.label_27.setSizePolicy(sizePolicy)
        self.label_27.setMinimumSize(QtCore.QSize(15, 20))
        self.label_27.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_27.setFont(font)
        self.label_27.setScaledContents(True)
        self.label_27.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignTop)
        self.label_27.setIndent(0)
        self.label_27.setObjectName("label_27")
        self.horizontalLayout_2.addWidget(self.label_27)
        self.verticalLayout_2.addWidget(self.widget_3)
        self.label_21 = QtWidgets.QLabel(self.fgdc_edom)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_21.sizePolicy().hasHeightForWidth())
        self.label_21.setSizePolicy(sizePolicy)
        self.label_21.setMinimumSize(QtCore.QSize(0, 0))
        self.label_21.setMaximumSize(QtCore.QSize(16777215, 15))
        self.label_21.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignTop)
        self.label_21.setIndent(0)
        self.label_21.setObjectName("label_21")
        self.verticalLayout_2.addWidget(self.label_21)
        self.widget = QtWidgets.QWidget(self.fgdc_edom)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setObjectName("widget")
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.widget)
        self.horizontalLayout_9.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_9.setSpacing(0)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.fgdc_edomvd = GrowingTextEdit(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_edomvd.sizePolicy().hasHeightForWidth())
        self.fgdc_edomvd.setSizePolicy(sizePolicy)
        self.fgdc_edomvd.setMinimumSize(QtCore.QSize(0, 45))
        self.fgdc_edomvd.setObjectName("fgdc_edomvd")
        self.horizontalLayout_9.addWidget(self.fgdc_edomvd)
        self.label_25 = QtWidgets.QLabel(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_25.sizePolicy().hasHeightForWidth())
        self.label_25.setSizePolicy(sizePolicy)
        self.label_25.setMinimumSize(QtCore.QSize(15, 20))
        self.label_25.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_25.setFont(font)
        self.label_25.setScaledContents(True)
        self.label_25.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignTop)
        self.label_25.setIndent(0)
        self.label_25.setObjectName("label_25")
        self.horizontalLayout_9.addWidget(self.label_25)
        self.verticalLayout_2.addWidget(self.widget)
        self.widget_2 = QtWidgets.QWidget(self.fgdc_edom)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.widget_2.sizePolicy().hasHeightForWidth())
        self.widget_2.setSizePolicy(sizePolicy)
        self.widget_2.setObjectName("widget_2")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.widget_2)
        self.horizontalLayout.setContentsMargins(0, 4, 0, 0)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_22 = QtWidgets.QLabel(self.widget_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_22.sizePolicy().hasHeightForWidth())
        self.label_22.setSizePolicy(sizePolicy)
        self.label_22.setMinimumSize(QtCore.QSize(0, 0))
        self.label_22.setMaximumSize(QtCore.QSize(16777215, 20))
        self.label_22.setAlignment(QtCore.Qt.AlignCenter)
        self.label_22.setIndent(0)
        self.label_22.setObjectName("label_22")
        self.horizontalLayout.addWidget(self.label_22)
        spacerItem = QtWidgets.QSpacerItem(4, 20, QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.fgdc_edomvds = QtWidgets.QLineEdit(self.widget_2)
        self.fgdc_edomvds.setObjectName("fgdc_edomvds")
        self.horizontalLayout.addWidget(self.fgdc_edomvds)
        self.label_26 = QtWidgets.QLabel(self.widget_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_26.sizePolicy().hasHeightForWidth())
        self.label_26.setSizePolicy(sizePolicy)
        self.label_26.setMinimumSize(QtCore.QSize(15, 20))
        self.label_26.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_26.setFont(font)
        self.label_26.setScaledContents(True)
        self.label_26.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignTop)
        self.label_26.setIndent(0)
        self.label_26.setObjectName("label_26")
        self.horizontalLayout.addWidget(self.label_26)
        self.verticalLayout_2.addWidget(self.widget_2)
        self.verticalLayout.addWidget(self.fgdc_edom)

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

    def retranslateUi(self, fgdc_attrdomv):
        _translate = QtCore.QCoreApplication.translate
        fgdc_attrdomv.setWindowTitle(_translate("fgdc_attrdomv", "Form"))
        self.label_27.setToolTip(_translate("fgdc_attrdomv", "Required"))
        self.label_27.setText(
            _translate(
                "fgdc_attrdomv",
                '<html><head/><body><p align="center"><span style=" font-size:18pt; color:#55aaff;">*</span></p></body></html>',
            ))
        self.label_21.setText(
            _translate("fgdc_attrdomv", "Definition of this Value"))
        self.label_25.setToolTip(_translate("fgdc_attrdomv", "Required"))
        self.label_25.setText(
            _translate(
                "fgdc_attrdomv",
                '<html><head/><body><p align="center"><span style=" font-size:18pt; color:#55aaff;">*</span></p></body></html>',
            ))
        self.label_22.setText(_translate("fgdc_attrdomv", "Definition Source"))
        self.fgdc_edomvds.setText(
            _translate("fgdc_attrdomv", "Producer defined"))
        self.label_26.setToolTip(_translate("fgdc_attrdomv", "Required"))
        self.label_26.setText(
            _translate(
                "fgdc_attrdomv",
                '<html><head/><body><p align="center"><span style=" font-size:18pt; color:#55aaff;">*</span></p></body></html>',
            ))
Beispiel #14
0
class Ui_fgdc_distinfo(object):
    def setupUi(self, fgdc_distinfo):
        fgdc_distinfo.setObjectName("fgdc_distinfo")
        fgdc_distinfo.resize(1103, 862)
        self.verticalLayout_10 = QtWidgets.QVBoxLayout(fgdc_distinfo)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.widget = QtWidgets.QWidget(fgdc_distinfo)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setMinimumSize(QtCore.QSize(0, 25))
        self.widget.setObjectName("widget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.widget)
        self.horizontalLayout.setContentsMargins(10, 2, 2, 2)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_5 = QtWidgets.QLabel(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setMinimumSize(QtCore.QSize(15, 0))
        self.label_5.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_5.setFont(font)
        self.label_5.setTextFormat(QtCore.Qt.RichText)
        self.label_5.setScaledContents(False)
        self.label_5.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignTop)
        self.label_5.setIndent(0)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout.addWidget(self.label_5)
        spacerItem = QtWidgets.QSpacerItem(
            0, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum
        )
        self.horizontalLayout.addItem(spacerItem)
        self.widget_2 = QtWidgets.QWidget(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget_2.sizePolicy().hasHeightForWidth())
        self.widget_2.setSizePolicy(sizePolicy)
        self.widget_2.setMinimumSize(QtCore.QSize(100, 0))
        self.widget_2.setObjectName("widget_2")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.widget_2)
        self.verticalLayout_7.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setContentsMargins(5, -1, 5, -1)
        self.horizontalLayout_3.setSpacing(0)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_4 = QtWidgets.QLabel(self.widget_2)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setMinimumSize(QtCore.QSize(15, 0))
        self.label_4.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_4.setFont(font)
        self.label_4.setTextFormat(QtCore.Qt.RichText)
        self.label_4.setScaledContents(True)
        self.label_4.setAlignment(
            QtCore.Qt.AlignBottom | QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
        )
        self.label_4.setIndent(0)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_3.addWidget(self.label_4)
        self.label_3 = QtWidgets.QLabel(self.widget_2)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setMinimumSize(QtCore.QSize(79, 0))
        self.label_3.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_3.setFont(font)
        self.label_3.setTextFormat(QtCore.Qt.RichText)
        self.label_3.setScaledContents(False)
        self.label_3.setAlignment(
            QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter
        )
        self.label_3.setIndent(0)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_3.addWidget(self.label_3)
        self.verticalLayout_7.addLayout(self.horizontalLayout_3)
        self.horizontalLayout.addWidget(self.widget_2)
        self.verticalLayout_10.addWidget(self.widget)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.radio_distno = QtWidgets.QRadioButton(fgdc_distinfo)
        self.radio_distno.setChecked(True)
        self.radio_distno.setObjectName("radio_distno")
        self.verticalLayout_2.addWidget(self.radio_distno)
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_9.setSizeConstraint(QtWidgets.QLayout.SetMaximumSize)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.line = QtWidgets.QFrame(fgdc_distinfo)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line.sizePolicy().hasHeightForWidth())
        self.line.setSizePolicy(sizePolicy)
        self.line.setMaximumSize(QtCore.QSize(16777215, 100))
        self.line.setFrameShadow(QtWidgets.QFrame.Raised)
        self.line.setLineWidth(3)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setObjectName("line")
        self.horizontalLayout_9.addWidget(self.line)
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        spacerItem1 = QtWidgets.QSpacerItem(
            20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum
        )
        self.horizontalLayout_10.addItem(spacerItem1)
        self.label = QtWidgets.QLabel(fgdc_distinfo)
        self.label.setMaximumSize(QtCore.QSize(16777215, 100))
        self.label.setObjectName("label")
        self.horizontalLayout_10.addWidget(self.label)
        spacerItem2 = QtWidgets.QSpacerItem(
            20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum
        )
        self.horizontalLayout_10.addItem(spacerItem2)
        self.horizontalLayout_9.addLayout(self.horizontalLayout_10)
        self.line_2 = QtWidgets.QFrame(fgdc_distinfo)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_2.sizePolicy().hasHeightForWidth())
        self.line_2.setSizePolicy(sizePolicy)
        self.line_2.setMaximumSize(QtCore.QSize(16777215, 100))
        self.line_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.line_2.setLineWidth(3)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setObjectName("line_2")
        self.horizontalLayout_9.addWidget(self.line_2)
        self.verticalLayout_2.addLayout(self.horizontalLayout_9)
        self.radio_distyes = QtWidgets.QRadioButton(fgdc_distinfo)
        self.radio_distyes.setObjectName("radio_distyes")
        self.verticalLayout_2.addWidget(self.radio_distyes)
        self.verticalLayout_10.addLayout(self.verticalLayout_2)
        self.scrollArea = QtWidgets.QScrollArea(fgdc_distinfo)
        font = QtGui.QFont()
        font.setKerning(False)
        self.scrollArea.setFont(font)
        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, 1068, 717))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.widget_distinfo = QtWidgets.QWidget(self.scrollAreaWidgetContents)
        self.widget_distinfo.setMinimumSize(QtCore.QSize(0, 0))
        self.widget_distinfo.setObjectName("widget_distinfo")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.widget_distinfo)
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.two_column = QtWidgets.QWidget(self.widget_distinfo)
        self.two_column.setObjectName("two_column")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.two_column)
        self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_4.setSpacing(3)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.two_column_left = QtWidgets.QWidget(self.two_column)
        self.two_column_left.setObjectName("two_column_left")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.two_column_left)
        self.verticalLayout_5.setContentsMargins(1, 1, 1, 1)
        self.verticalLayout_5.setSpacing(1)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.fgdc_distrib = QtWidgets.QGroupBox(self.two_column_left)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fgdc_distrib.sizePolicy().hasHeightForWidth())
        self.fgdc_distrib.setSizePolicy(sizePolicy)
        self.fgdc_distrib.setObjectName("fgdc_distrib")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.fgdc_distrib)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.label_2 = QtWidgets.QLabel(self.fgdc_distrib)
        self.label_2.setMinimumSize(QtCore.QSize(0, 20))
        self.label_2.setStyleSheet("font: italic;")
        self.label_2.setWordWrap(True)
        self.label_2.setObjectName("label_2")
        self.verticalLayout_4.addWidget(self.label_2)
        self.frame = QtWidgets.QFrame(self.fgdc_distrib)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth())
        self.frame.setSizePolicy(sizePolicy)
        self.frame.setStyleSheet(
            "QFrame#frame{ \n"
            'font: 75 10pt "Arial";\n'
            "border: 1px solid black;\n"
            "border-radius: 3px;\n"
            "background: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #eef, stop: 1 #ccf);\n"
            "}\n"
            ""
        )
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.frame)
        self.horizontalLayout_8.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_8.setSpacing(0)
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.verticalLayout_11 = QtWidgets.QVBoxLayout()
        self.verticalLayout_11.setContentsMargins(9, 9, 9, 9)
        self.verticalLayout_11.setObjectName("verticalLayout_11")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setContentsMargins(6, -1, -1, -1)
        self.horizontalLayout_5.setSpacing(0)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_6 = QtWidgets.QLabel(self.frame)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
        self.label_6.setSizePolicy(sizePolicy)
        self.label_6.setMinimumSize(QtCore.QSize(0, 20))
        self.label_6.setStyleSheet("font: italic;")
        self.label_6.setWordWrap(False)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_5.addWidget(self.label_6)
        spacerItem3 = QtWidgets.QSpacerItem(
            0, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum
        )
        self.horizontalLayout_5.addItem(spacerItem3)
        self.button_use_sb = QtWidgets.QPushButton(self.frame)
        self.button_use_sb.setMinimumSize(QtCore.QSize(150, 0))
        self.button_use_sb.setObjectName("button_use_sb")
        self.horizontalLayout_5.addWidget(self.button_use_sb)
        self.verticalLayout_11.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_8.addLayout(self.verticalLayout_11)
        self.verticalLayout_4.addWidget(self.frame)
        self.verticalLayout_5.addWidget(self.fgdc_distrib)
        spacerItem4 = QtWidgets.QSpacerItem(
            20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding
        )
        self.verticalLayout_5.addItem(spacerItem4)
        self.horizontalLayout_4.addWidget(self.two_column_left)
        self.two_column_right = QtWidgets.QWidget(self.two_column)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.two_column_right.sizePolicy().hasHeightForWidth()
        )
        self.two_column_right.setSizePolicy(sizePolicy)
        self.two_column_right.setObjectName("two_column_right")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.two_column_right)
        self.verticalLayout_6.setContentsMargins(1, 1, 1, 1)
        self.verticalLayout_6.setSpacing(1)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.groupBox_3 = QtWidgets.QGroupBox(self.two_column_right)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_3.sizePolicy().hasHeightForWidth())
        self.groupBox_3.setSizePolicy(sizePolicy)
        self.groupBox_3.setObjectName("groupBox_3")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox_3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.radio_online = QtWidgets.QRadioButton(self.groupBox_3)
        self.radio_online.setObjectName("radio_online")
        self.verticalLayout.addWidget(self.radio_online)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        spacerItem5 = QtWidgets.QSpacerItem(
            20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum
        )
        self.horizontalLayout_7.addItem(spacerItem5)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label_7 = QtWidgets.QLabel(self.groupBox_3)
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_6.addWidget(self.label_7)
        self.fgdc_networkr = QtWidgets.QLineEdit(self.groupBox_3)
        self.fgdc_networkr.setEnabled(False)
        self.fgdc_networkr.setClearButtonEnabled(False)
        self.fgdc_networkr.setObjectName("fgdc_networkr")
        self.horizontalLayout_6.addWidget(self.fgdc_networkr)
        self.horizontalLayout_7.addLayout(self.horizontalLayout_6)
        self.verticalLayout.addLayout(self.horizontalLayout_7)
        self.radio_dist = QtWidgets.QRadioButton(self.groupBox_3)
        self.radio_dist.setObjectName("radio_dist")
        self.verticalLayout.addWidget(self.radio_dist)
        self.radio_otherdist = QtWidgets.QRadioButton(self.groupBox_3)
        self.radio_otherdist.setObjectName("radio_otherdist")
        self.verticalLayout.addWidget(self.radio_otherdist)
        self.fgdc_custom = QtWidgets.QPlainTextEdit(self.groupBox_3)
        self.fgdc_custom.setEnabled(False)
        self.fgdc_custom.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fgdc_custom.setObjectName("fgdc_custom")
        self.verticalLayout.addWidget(self.fgdc_custom)
        self.verticalLayout_6.addWidget(self.groupBox_3)
        self.groupBox = QtWidgets.QGroupBox(self.two_column_right)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.label_10 = QtWidgets.QLabel(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_10.sizePolicy().hasHeightForWidth())
        self.label_10.setSizePolicy(sizePolicy)
        self.label_10.setMinimumSize(QtCore.QSize(0, 20))
        self.label_10.setStyleSheet("font: italic;")
        self.label_10.setWordWrap(True)
        self.label_10.setObjectName("label_10")
        self.verticalLayout_8.addWidget(self.label_10)
        self.fgdc_distliab = GrowingTextEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_distliab.sizePolicy().hasHeightForWidth()
        )
        self.fgdc_distliab.setSizePolicy(sizePolicy)
        self.fgdc_distliab.setObjectName("fgdc_distliab")
        self.verticalLayout_8.addWidget(self.fgdc_distliab)
        self.verticalLayout_6.addWidget(self.groupBox)
        self.group_datafees = QtWidgets.QGroupBox(self.two_column_right)
        self.group_datafees.setMaximumSize(QtCore.QSize(16777215, 100))
        self.group_datafees.setObjectName("group_datafees")
        self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.group_datafees)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.label_12 = QtWidgets.QLabel(self.group_datafees)
        self.label_12.setMinimumSize(QtCore.QSize(0, 20))
        self.label_12.setStyleSheet("font: italic;")
        self.label_12.setWordWrap(True)
        self.label_12.setObjectName("label_12")
        self.verticalLayout_9.addWidget(self.label_12)
        self.fgdc_fees = QtWidgets.QPlainTextEdit(self.group_datafees)
        self.fgdc_fees.setEnabled(False)
        self.fgdc_fees.setMaximumSize(QtCore.QSize(16777215, 50))
        self.fgdc_fees.setObjectName("fgdc_fees")
        self.verticalLayout_9.addWidget(self.fgdc_fees)
        self.verticalLayout_6.addWidget(self.group_datafees)
        spacerItem6 = QtWidgets.QSpacerItem(
            20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding
        )
        self.verticalLayout_6.addItem(spacerItem6)
        self.groupBox_3.raise_()
        self.groupBox.raise_()
        self.group_datafees.raise_()
        self.horizontalLayout_4.addWidget(self.two_column_right)
        self.horizontalLayout_2.addWidget(self.two_column)
        self.verticalLayout_3.addWidget(self.widget_distinfo)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_10.addWidget(self.scrollArea)

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

    def retranslateUi(self, fgdc_distinfo):
        _translate = QtCore.QCoreApplication.translate
        fgdc_distinfo.setWindowTitle(_translate("fgdc_distinfo", "Form"))
        self.label_5.setToolTip(_translate("fgdc_distinfo", "Required"))
        self.label_5.setText(
            _translate(
                "fgdc_distinfo",
                '<html><head/><body><p><span style=" font-style:italic; color:#55aaff;">Provide information about access to the data, the data distribution format, and the data distributor.</span></p></body></html>',
            )
        )
        self.label_4.setToolTip(_translate("fgdc_distinfo", "Required"))
        self.label_4.setText(
            _translate(
                "fgdc_distinfo",
                '<html><head/><body><p><span style=" font-size:15pt; color:#55aaff;">*</span></p></body></html>',
            )
        )
        self.label_3.setToolTip(_translate("fgdc_distinfo", "Required"))
        self.label_3.setText(
            _translate(
                "fgdc_distinfo",
                '<html><head/><body><p><span style=" font-size:9pt; font-style:italic; color:#55aaff;">= Required</span></p></body></html>',
            )
        )
        self.radio_distno.setText(
            _translate(
                "fgdc_distinfo",
                "Dataset is for internal use only and will NOT be shared or distributed.  The metadata record does not need distribution information.",
            )
        )
        self.label.setText(_translate("fgdc_distinfo", "OR"))
        self.radio_distyes.setText(
            _translate(
                "fgdc_distinfo",
                "Details on how to acquire/access the data are described below.",
            )
        )
        self.fgdc_distrib.setTitle(_translate("fgdc_distinfo", "Distribution Contact"))
        self.label_2.setText(
            _translate(
                "fgdc_distinfo",
                "Contact information for the person or organization responsible for the distribution of the data.",
            )
        )
        self.label_6.setText(
            _translate(
                "fgdc_distinfo",
                "Will this dataset be distributed on the USGS ScienceBase System?",
            )
        )
        self.button_use_sb.setText(_translate("fgdc_distinfo", "Add ScienceBase Info"))
        self.groupBox_3.setTitle(
            _translate("fgdc_distinfo", "How Can Others Access the Data?")
        )
        self.radio_online.setText(
            _translate("fgdc_distinfo", "The dataset is available online.")
        )
        self.label_7.setText(
            _translate("fgdc_distinfo", "URL of website or GIS service:")
        )
        self.radio_dist.setText(
            _translate(
                "fgdc_distinfo",
                "The dataset is not available online.  Interested parties should contact the distributor for details on \n"
                "acquiring the data. (Provide 'Distributor Contact' information.",
            )
        )
        self.radio_otherdist.setText(
            _translate("fgdc_distinfo", "Other Distribution method. (Describe below)")
        )
        self.groupBox.setTitle(_translate("fgdc_distinfo", "Distribution Liability"))
        self.label_10.setText(
            _translate(
                "fgdc_distinfo",
                "List any distribution disclaimers or limitations of liability.",
            )
        )
        self.group_datafees.setTitle(_translate("fgdc_distinfo", "Data Fees"))
        self.label_12.setText(
            _translate("fgdc_distinfo", "Describe any fees associated with this data.")
        )
Beispiel #15
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(545, 376)
        Form.setMinimumSize(QtCore.QSize(0, 175))
        Form.setMaximumSize(QtCore.QSize(16777215, 16777215))
        Form.setStyleSheet(
            "QGroupBox{\n"
            "    background-color: transparent;\n"
            "     subcontrol-position: top left; /* position at the top left*/\n"
            "     padding-top: 20px;\n"
            "    font: bold 12px;\n"
            "    color: rgba(90, 90, 90, 225);\n"
            "    border: 1px solid gray;\n"
            "    border-radius: 2px;\n"
            "    border-color: rgba(90, 90, 90, 40);\n"
            "}\n"
            "QGroupBox::title {\n"
            "text-align: left;\n"
            "subcontrol-origin: padding;\n"
            "subcontrol-position: top left; /* position at the top center */padding: 3 3px;\n"
            "}\n"
            "QLabel{\n"
            "font: 9pt \"Arial\";\n"
            "color: rgb(90, 90, 90);\n"
            "}\n"
            "QLineEdit, QComboBox {\n"
            "font: 9pt \"Arial\";\n"
            "color: rgb(50, 50, 50);\n"
            "}\n"
            "\n"
            "QGroupBox:Hover {\n"
            "    border-color: rgba(90, 90, 90, 240);\n"
            "}\n"
            "\n"
            "QHBoxLayout#import_doi_layout{\n"
            "subcontrol-position: top left; /* position at the top left*/\n"
            "     padding-top: 200px;\n"
            "}\n"
            "\n"
            ".QFrame {\n"
            "    color: rgba(90, 90, 90, 225);\n"
            "    border: 1px solid gray;\n"
            "    border-radius: 2px;\n"
            "    border-color: rgba(90, 90, 90, 75);\n"
            "}")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(Form)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.fgdc_procstep = QtWidgets.QWidget(Form)
        self.fgdc_procstep.setObjectName("fgdc_procstep")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.fgdc_procstep)
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.label = QtWidgets.QLabel(self.fgdc_procstep)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.verticalLayout_5.addWidget(self.label)
        self.fgdc_procdesc = GrowingTextEdit(self.fgdc_procstep)
        self.fgdc_procdesc.setMaximumSize(QtCore.QSize(16777215, 155))
        self.fgdc_procdesc.setObjectName("fgdc_procdesc")
        self.verticalLayout_5.addWidget(self.fgdc_procdesc)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label_37 = QtWidgets.QLabel(self.fgdc_procstep)
        self.label_37.setObjectName("label_37")
        self.verticalLayout_2.addWidget(self.label_37)
        self.fgdc_procdate = QtWidgets.QWidget(self.fgdc_procstep)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_procdate.sizePolicy().hasHeightForWidth())
        self.fgdc_procdate.setSizePolicy(sizePolicy)
        self.fgdc_procdate.setMinimumSize(QtCore.QSize(0, 0))
        self.fgdc_procdate.setMaximumSize(QtCore.QSize(221, 100))
        self.fgdc_procdate.setObjectName("fgdc_procdate")
        self.verticalLayout_2.addWidget(self.fgdc_procdate)
        spacerItem = QtWidgets.QSpacerItem(20, 0,
                                           QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Preferred)
        self.verticalLayout_2.addItem(spacerItem)
        self.horizontalLayout.addLayout(self.verticalLayout_2)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout_5.addLayout(self.horizontalLayout)
        self.src_widget = QtWidgets.QWidget(self.fgdc_procstep)
        self.src_widget.setObjectName("src_widget")
        self.src_layout = QtWidgets.QHBoxLayout(self.src_widget)
        self.src_layout.setContentsMargins(0, 0, 0, 0)
        self.src_layout.setObjectName("src_layout")
        self.srcused_groupbox = QtWidgets.QFrame(self.src_widget)
        self.srcused_groupbox.setObjectName("srcused_groupbox")
        self.srcused_layout = QtWidgets.QVBoxLayout(self.srcused_groupbox)
        self.srcused_layout.setObjectName("srcused_layout")
        self.lbl_dataset_title = QtWidgets.QLabel(self.srcused_groupbox)
        self.lbl_dataset_title.setStyleSheet("font: bold;")
        self.lbl_dataset_title.setAlignment(QtCore.Qt.AlignLeading
                                            | QtCore.Qt.AlignLeft
                                            | QtCore.Qt.AlignTop)
        self.lbl_dataset_title.setObjectName("lbl_dataset_title")
        self.srcused_layout.addWidget(self.lbl_dataset_title)
        self.label_34 = QtWidgets.QLabel(self.srcused_groupbox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_34.sizePolicy().hasHeightForWidth())
        self.label_34.setSizePolicy(sizePolicy)
        self.label_34.setStyleSheet("font: italic;")
        self.label_34.setWordWrap(True)
        self.label_34.setObjectName("label_34")
        self.srcused_layout.addWidget(self.label_34)
        spacerItem2 = QtWidgets.QSpacerItem(20, 0,
                                            QtWidgets.QSizePolicy.Minimum,
                                            QtWidgets.QSizePolicy.Expanding)
        self.srcused_layout.addItem(spacerItem2)
        self.src_layout.addWidget(self.srcused_groupbox)
        self.srcprod_groupbox = QtWidgets.QFrame(self.src_widget)
        self.srcprod_groupbox.setObjectName("srcprod_groupbox")
        self.srcprod_layout = QtWidgets.QVBoxLayout(self.srcprod_groupbox)
        self.srcprod_layout.setObjectName("srcprod_layout")
        self.lbl_dataset_title_2 = QtWidgets.QLabel(self.srcprod_groupbox)
        self.lbl_dataset_title_2.setStyleSheet("font: bold;")
        self.lbl_dataset_title_2.setAlignment(QtCore.Qt.AlignLeading
                                              | QtCore.Qt.AlignLeft
                                              | QtCore.Qt.AlignTop)
        self.lbl_dataset_title_2.setObjectName("lbl_dataset_title_2")
        self.srcprod_layout.addWidget(self.lbl_dataset_title_2)
        self.label_35 = QtWidgets.QLabel(self.srcprod_groupbox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_35.sizePolicy().hasHeightForWidth())
        self.label_35.setSizePolicy(sizePolicy)
        self.label_35.setStyleSheet("font: italic;")
        self.label_35.setWordWrap(True)
        self.label_35.setObjectName("label_35")
        self.srcprod_layout.addWidget(self.label_35)
        spacerItem3 = QtWidgets.QSpacerItem(20, 0,
                                            QtWidgets.QSizePolicy.Minimum,
                                            QtWidgets.QSizePolicy.Expanding)
        self.srcprod_layout.addItem(spacerItem3)
        self.src_layout.addWidget(self.srcprod_groupbox)
        self.verticalLayout_5.addWidget(self.src_widget)
        self.widget_proccont = QtWidgets.QWidget(self.fgdc_procstep)
        self.widget_proccont.setObjectName("widget_proccont")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.widget_proccont)
        self.verticalLayout_6.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_6.setSpacing(0)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.verticalLayout_5.addWidget(self.widget_proccont)
        spacerItem4 = QtWidgets.QSpacerItem(20, 0,
                                            QtWidgets.QSizePolicy.Minimum,
                                            QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem4)
        self.horizontalLayout_3.addWidget(self.fgdc_procstep)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.label.setText(
            _translate("Form",
                       "Describe the processing step or method below:"))
        self.fgdc_procdesc.setPlainText(
            _translate(
                "Form",
                "Development of the dataset by the agency / individuals identified in the \'Originator\' element in the Identification Info section of the record."
            ))
        self.label_37.setText(_translate("Form", "Process Date (YYYYMMDD)"))
        self.lbl_dataset_title.setText(
            _translate("Form", "Source Used Citation Abbreviation(s)"))
        self.label_34.setText(
            _translate(
                "Form",
                "List any data sources used in this step.  These can be listed in sources section below."
            ))
        self.lbl_dataset_title_2.setText(
            _translate("Form", "Source Produced Citation Abbreviation (s)"))
        self.label_35.setText(
            _translate(
                "Form",
                "List data produced from this step that was used in a subsequent step.  These must also be added to the source inputs below. "
            ))
Beispiel #16
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(650, 232)
        Form.setMinimumSize(QtCore.QSize(0, 0))
        Form.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(9)
        Form.setFont(font)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.fg_dc_possacc = QtWidgets.QGroupBox(Form)
        self.fg_dc_possacc.setObjectName("fg_dc_possacc")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.fg_dc_possacc)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label = QtWidgets.QLabel(self.fg_dc_possacc)
        self.label.setObjectName("label")
        self.verticalLayout_2.addWidget(self.label)
        self.fgdc_horizpa = GrowingTextEdit(self.fg_dc_possacc)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_horizpa.sizePolicy().hasHeightForWidth())
        self.fgdc_horizpa.setSizePolicy(sizePolicy)
        self.fgdc_horizpa.setObjectName("fgdc_horizpa")
        self.verticalLayout_2.addWidget(self.fgdc_horizpa)
        self.label_2 = QtWidgets.QLabel(self.fg_dc_possacc)
        self.label_2.setObjectName("label_2")
        self.verticalLayout_2.addWidget(self.label_2)
        self.fgdc_vertacc = GrowingTextEdit(self.fg_dc_possacc)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fgdc_vertacc.sizePolicy().hasHeightForWidth())
        self.fgdc_vertacc.setSizePolicy(sizePolicy)
        self.fgdc_vertacc.setObjectName("fgdc_vertacc")
        self.verticalLayout_2.addWidget(self.fgdc_vertacc)
        self.verticalLayout_3.addLayout(self.verticalLayout_2)
        self.verticalLayout.addWidget(self.fg_dc_possacc)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.fg_dc_possacc.setTitle(_translate("Form", "Positional Accuracy"))
        self.label.setText(_translate("Form", "Horizontal Accuracy Report"))
        self.fgdc_horizpa.setPlainText(
            _translate(
                "Form",
                "A formal accuracy assessment of the horizontal positional information in the dataset has not been conducted."
            ))
        self.label_2.setText(_translate("Form", "Vertical Accuracy Report"))
        self.fgdc_vertacc.setPlainText(
            _translate(
                "Form",
                "A formal accuracy assessment of the vertical positional information in the dataset has either not been conducted, or is not applicable."
            ))