Пример #1
0
class Ui_ImportTableOptions(object):
    def setupUi(self, ImportTableOptions):
        if not ImportTableOptions.objectName():
            ImportTableOptions.setObjectName(u"ImportTableOptions")
        ImportTableOptions.resize(650, 514)
        sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ImportTableOptions.sizePolicy().hasHeightForWidth())
        ImportTableOptions.setSizePolicy(sizePolicy)
        ImportTableOptions.setMinimumSize(QSize(650, 450))
        self.gridLayout = QGridLayout(ImportTableOptions)
        self.gridLayout.setObjectName(u"gridLayout")
        self.gridLayout.setVerticalSpacing(8)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.lbl_status = QLabel(ImportTableOptions)
        self.lbl_status.setObjectName(u"lbl_status")

        self.gridLayout.addWidget(self.lbl_status, 5, 0, 1, 2)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.radio_update = QRadioButton(ImportTableOptions)
        self.radiogroup_update = QButtonGroup(ImportTableOptions)
        self.radiogroup_update.setObjectName(u"radiogroup_update")
        self.radiogroup_update.addButton(self.radio_update)
        self.radio_update.setObjectName(u"radio_update")
        self.radio_update.setChecked(True)

        self.horizontalLayout_2.addWidget(self.radio_update)

        self.radio_replace = QRadioButton(ImportTableOptions)
        self.radiogroup_update.addButton(self.radio_replace)
        self.radio_replace.setObjectName(u"radio_replace")

        self.horizontalLayout_2.addWidget(self.radio_replace)

        self.gridLayout.addLayout(self.horizontalLayout_2, 3, 0, 1, 2)

        self.label_3 = QLabel(ImportTableOptions)
        self.label_3.setObjectName(u"label_3")
        self.label_3.setWordWrap(True)

        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 2)

        self.table_loaded = DataFrameTableView(ImportTableOptions)
        self.table_loaded.setObjectName(u"table_loaded")
        self.table_loaded.setSortingEnabled(True)
        self.table_loaded.horizontalHeader().setStretchLastSection(True)

        self.gridLayout.addWidget(self.table_loaded, 6, 0, 1, 2)

        self.label = QLabel(ImportTableOptions)
        self.label.setObjectName(u"label")
        font = QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)

        self.gridLayout.addWidget(self.label, 0, 0, 1, 2)

        self.file_chooser = FileChooser(ImportTableOptions)
        self.file_chooser.setObjectName(u"file_chooser")

        self.gridLayout.addWidget(self.file_chooser, 2, 0, 1, 2)

        self.merged_table = QWidget(ImportTableOptions)
        self.merged_table.setObjectName(u"merged_table")
        self.merged_table.setMinimumSize(QSize(0, 0))
        self.verticalLayout = QVBoxLayout(self.merged_table)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.label_2 = QLabel(self.merged_table)
        self.label_2.setObjectName(u"label_2")

        self.verticalLayout.addWidget(self.label_2)

        self.table_to_import = DataFrameTableView(self.merged_table)
        self.table_to_import.setObjectName(u"table_to_import")
        self.table_to_import.setSortingEnabled(True)
        self.table_to_import.horizontalHeader().setStretchLastSection(True)

        self.verticalLayout.addWidget(self.table_to_import)

        self.gridLayout.addWidget(self.merged_table, 7, 0, 1, 2)

        self.checkbox_overwrite = QCheckBox(ImportTableOptions)
        self.checkbox_overwrite.setObjectName(u"checkbox_overwrite")

        self.gridLayout.addWidget(self.checkbox_overwrite, 4, 0, 1, 1)

        self.retranslateUi(ImportTableOptions)

        QMetaObject.connectSlotsByName(ImportTableOptions)

    # setupUi

    def retranslateUi(self, ImportTableOptions):
        ImportTableOptions.setWindowTitle(
            QCoreApplication.translate("ImportTableOptions", u"Form", None))
        self.lbl_status.setText(
            QCoreApplication.translate("ImportTableOptions",
                                       u"This table was loaded:", None))
        #if QT_CONFIG(tooltip)
        self.radio_update.setToolTip(
            QCoreApplication.translate(
                "ImportTableOptions",
                u"Existing rows will be replaced and missing rows will be added",
                None))
        #endif // QT_CONFIG(tooltip)
        self.radio_update.setText(
            QCoreApplication.translate("ImportTableOptions",
                                       u"Update existing table", None))
        #if QT_CONFIG(tooltip)
        self.radio_replace.setToolTip(
            QCoreApplication.translate("ImportTableOptions",
                                       u"The existing table will be replaced",
                                       None))
        #endif // QT_CONFIG(tooltip)
        self.radio_replace.setText(
            QCoreApplication.translate("ImportTableOptions",
                                       u"Replace existing table", None))
        self.label_3.setText(
            QCoreApplication.translate(
                "ImportTableOptions",
                u"Warning: depending on the size of the imported table, this action could require a lot of memory",
                None))
        self.label.setText(
            QCoreApplication.translate("ImportTableOptions",
                                       u"Importing table: ", None))
        self.label_2.setText(
            QCoreApplication.translate(
                "ImportTableOptions",
                u"After merging columns, the following table will be imported:",
                None))
        self.checkbox_overwrite.setText(
            QCoreApplication.translate("ImportTableOptions",
                                       u"Replace existing entries", None))
Пример #2
0
    def setupUi(self, ImportTableOptions):
        if not ImportTableOptions.objectName():
            ImportTableOptions.setObjectName(u"ImportTableOptions")
        ImportTableOptions.resize(650, 514)
        sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ImportTableOptions.sizePolicy().hasHeightForWidth())
        ImportTableOptions.setSizePolicy(sizePolicy)
        ImportTableOptions.setMinimumSize(QSize(650, 450))
        self.gridLayout = QGridLayout(ImportTableOptions)
        self.gridLayout.setObjectName(u"gridLayout")
        self.gridLayout.setVerticalSpacing(8)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.lbl_status = QLabel(ImportTableOptions)
        self.lbl_status.setObjectName(u"lbl_status")

        self.gridLayout.addWidget(self.lbl_status, 5, 0, 1, 2)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.radio_update = QRadioButton(ImportTableOptions)
        self.radiogroup_update = QButtonGroup(ImportTableOptions)
        self.radiogroup_update.setObjectName(u"radiogroup_update")
        self.radiogroup_update.addButton(self.radio_update)
        self.radio_update.setObjectName(u"radio_update")
        self.radio_update.setChecked(True)

        self.horizontalLayout_2.addWidget(self.radio_update)

        self.radio_replace = QRadioButton(ImportTableOptions)
        self.radiogroup_update.addButton(self.radio_replace)
        self.radio_replace.setObjectName(u"radio_replace")

        self.horizontalLayout_2.addWidget(self.radio_replace)

        self.gridLayout.addLayout(self.horizontalLayout_2, 3, 0, 1, 2)

        self.label_3 = QLabel(ImportTableOptions)
        self.label_3.setObjectName(u"label_3")
        self.label_3.setWordWrap(True)

        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 2)

        self.table_loaded = DataFrameTableView(ImportTableOptions)
        self.table_loaded.setObjectName(u"table_loaded")
        self.table_loaded.setSortingEnabled(True)
        self.table_loaded.horizontalHeader().setStretchLastSection(True)

        self.gridLayout.addWidget(self.table_loaded, 6, 0, 1, 2)

        self.label = QLabel(ImportTableOptions)
        self.label.setObjectName(u"label")
        font = QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)

        self.gridLayout.addWidget(self.label, 0, 0, 1, 2)

        self.file_chooser = FileChooser(ImportTableOptions)
        self.file_chooser.setObjectName(u"file_chooser")

        self.gridLayout.addWidget(self.file_chooser, 2, 0, 1, 2)

        self.merged_table = QWidget(ImportTableOptions)
        self.merged_table.setObjectName(u"merged_table")
        self.merged_table.setMinimumSize(QSize(0, 0))
        self.verticalLayout = QVBoxLayout(self.merged_table)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.label_2 = QLabel(self.merged_table)
        self.label_2.setObjectName(u"label_2")

        self.verticalLayout.addWidget(self.label_2)

        self.table_to_import = DataFrameTableView(self.merged_table)
        self.table_to_import.setObjectName(u"table_to_import")
        self.table_to_import.setSortingEnabled(True)
        self.table_to_import.horizontalHeader().setStretchLastSection(True)

        self.verticalLayout.addWidget(self.table_to_import)

        self.gridLayout.addWidget(self.merged_table, 7, 0, 1, 2)

        self.checkbox_overwrite = QCheckBox(ImportTableOptions)
        self.checkbox_overwrite.setObjectName(u"checkbox_overwrite")

        self.gridLayout.addWidget(self.checkbox_overwrite, 4, 0, 1, 1)

        self.retranslateUi(ImportTableOptions)

        QMetaObject.connectSlotsByName(ImportTableOptions)
Пример #3
0
    def setupUi(self, DBExplorer):
        if not DBExplorer.objectName():
            DBExplorer.setObjectName(u"DBExplorer")
        DBExplorer.resize(1075, 564)
        DBExplorer.setContextMenuPolicy(Qt.ActionsContextMenu)
        self.action_ACI = QAction(DBExplorer)
        self.action_ACI.setObjectName(u"action_ACI")
        icon = QIcon()
        icon.addFile(u":/tango/audio", QSize(), QIcon.Normal, QIcon.On)
        self.action_ACI.setIcon(icon)
        self.gridLayout = QGridLayout(DBExplorer)
        self.gridLayout.setObjectName(u"gridLayout")
        self.dbOptions = QGroupBox(DBExplorer)
        self.dbOptions.setObjectName(u"dbOptions")
        self.gridLayout_2 = QGridLayout(self.dbOptions)
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.lbl_table = QLabel(self.dbOptions)
        self.lbl_table.setObjectName(u"lbl_table")

        self.horizontalLayout.addWidget(self.lbl_table)

        self.combo_table = QComboBox(self.dbOptions)
        self.combo_table.addItem("")
        self.combo_table.setObjectName(u"combo_table")
        sizePolicy = QSizePolicy(QSizePolicy.Minimum, QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.combo_table.sizePolicy().hasHeightForWidth())
        self.combo_table.setSizePolicy(sizePolicy)
        self.combo_table.setMinimumSize(QSize(200, 0))

        self.horizontalLayout.addWidget(self.combo_table)

        self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Expanding,
                                              QSizePolicy.Minimum)

        self.horizontalLayout.addItem(self.horizontalSpacer_2)

        self.btn_import = QPushButton(self.dbOptions)
        self.btn_import.setObjectName(u"btn_import")

        self.horizontalLayout.addWidget(self.btn_import)

        self.btn_export = QPushButton(self.dbOptions)
        self.btn_export.setObjectName(u"btn_export")

        self.horizontalLayout.addWidget(self.btn_export)

        self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 3)

        self.gridLayout.addWidget(self.dbOptions, 0, 0, 1, 1)

        self.dbTable = DataFrameTableView(DBExplorer)
        self.dbTable.setObjectName(u"dbTable")
        self.dbTable.setEnabled(True)
        self.dbTable.setContextMenuPolicy(Qt.DefaultContextMenu)
        self.dbTable.setSizeAdjustPolicy(QAbstractScrollArea.AdjustToContents)
        self.dbTable.setSelectionMode(QAbstractItemView.ContiguousSelection)
        self.dbTable.setSelectionBehavior(QAbstractItemView.SelectRows)
        self.dbTable.setSortingEnabled(True)
        self.dbTable.horizontalHeader().setStretchLastSection(True)
        self.dbTable.verticalHeader().setVisible(False)

        self.gridLayout.addWidget(self.dbTable, 2, 0, 1, 1)

        self.rowsFound = QLabel(DBExplorer)
        self.rowsFound.setObjectName(u"rowsFound")

        self.gridLayout.addWidget(self.rowsFound, 1, 0, 1, 1)

        self.retranslateUi(DBExplorer)

        QMetaObject.connectSlotsByName(DBExplorer)
Пример #4
0
class Ui_DBExplorer(object):
    def setupUi(self, DBExplorer):
        if not DBExplorer.objectName():
            DBExplorer.setObjectName(u"DBExplorer")
        DBExplorer.resize(1075, 564)
        DBExplorer.setContextMenuPolicy(Qt.ActionsContextMenu)
        self.action_ACI = QAction(DBExplorer)
        self.action_ACI.setObjectName(u"action_ACI")
        icon = QIcon()
        icon.addFile(u":/tango/audio", QSize(), QIcon.Normal, QIcon.On)
        self.action_ACI.setIcon(icon)
        self.gridLayout = QGridLayout(DBExplorer)
        self.gridLayout.setObjectName(u"gridLayout")
        self.dbOptions = QGroupBox(DBExplorer)
        self.dbOptions.setObjectName(u"dbOptions")
        self.gridLayout_2 = QGridLayout(self.dbOptions)
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.lbl_table = QLabel(self.dbOptions)
        self.lbl_table.setObjectName(u"lbl_table")

        self.horizontalLayout.addWidget(self.lbl_table)

        self.combo_table = QComboBox(self.dbOptions)
        self.combo_table.addItem("")
        self.combo_table.setObjectName(u"combo_table")
        sizePolicy = QSizePolicy(QSizePolicy.Minimum, QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.combo_table.sizePolicy().hasHeightForWidth())
        self.combo_table.setSizePolicy(sizePolicy)
        self.combo_table.setMinimumSize(QSize(200, 0))

        self.horizontalLayout.addWidget(self.combo_table)

        self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Expanding,
                                              QSizePolicy.Minimum)

        self.horizontalLayout.addItem(self.horizontalSpacer_2)

        self.btn_import = QPushButton(self.dbOptions)
        self.btn_import.setObjectName(u"btn_import")

        self.horizontalLayout.addWidget(self.btn_import)

        self.btn_export = QPushButton(self.dbOptions)
        self.btn_export.setObjectName(u"btn_export")

        self.horizontalLayout.addWidget(self.btn_export)

        self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 3)

        self.gridLayout.addWidget(self.dbOptions, 0, 0, 1, 1)

        self.dbTable = DataFrameTableView(DBExplorer)
        self.dbTable.setObjectName(u"dbTable")
        self.dbTable.setEnabled(True)
        self.dbTable.setContextMenuPolicy(Qt.DefaultContextMenu)
        self.dbTable.setSizeAdjustPolicy(QAbstractScrollArea.AdjustToContents)
        self.dbTable.setSelectionMode(QAbstractItemView.ContiguousSelection)
        self.dbTable.setSelectionBehavior(QAbstractItemView.SelectRows)
        self.dbTable.setSortingEnabled(True)
        self.dbTable.horizontalHeader().setStretchLastSection(True)
        self.dbTable.verticalHeader().setVisible(False)

        self.gridLayout.addWidget(self.dbTable, 2, 0, 1, 1)

        self.rowsFound = QLabel(DBExplorer)
        self.rowsFound.setObjectName(u"rowsFound")

        self.gridLayout.addWidget(self.rowsFound, 1, 0, 1, 1)

        self.retranslateUi(DBExplorer)

        QMetaObject.connectSlotsByName(DBExplorer)

    # setupUi

    def retranslateUi(self, DBExplorer):
        DBExplorer.setWindowTitle(
            QCoreApplication.translate("DBExplorer", u"Form", None))
        self.action_ACI.setText(
            QCoreApplication.translate("DBExplorer", u"Calculate ACI", None))
        #if QT_CONFIG(tooltip)
        self.action_ACI.setToolTip(
            QCoreApplication.translate("DBExplorer", u"hello world!", None))
        #endif // QT_CONFIG(tooltip)
        #if QT_CONFIG(shortcut)
        self.action_ACI.setShortcut(
            QCoreApplication.translate("DBExplorer", u"Alt+A", None))
        #endif // QT_CONFIG(shortcut)
        self.dbOptions.setTitle(
            QCoreApplication.translate("DBExplorer", u"Database Explorer",
                                       None))
        self.lbl_table.setText(
            QCoreApplication.translate("DBExplorer",
                                       u"Select table to display", None))
        self.combo_table.setItemText(
            0,
            QCoreApplication.translate("DBExplorer",
                                       u"-- Select a table to display --",
                                       None))

        self.btn_import.setText(
            QCoreApplication.translate("DBExplorer", u"Import table", None))
        self.btn_export.setText(
            QCoreApplication.translate("DBExplorer", u"Export table", None))
        self.rowsFound.setText(
            QCoreApplication.translate("DBExplorer", u"TextLabel", None))
Пример #5
0
    def setupUi(self, DetectionEvaluator):
        if not DetectionEvaluator.objectName():
            DetectionEvaluator.setObjectName(u"DetectionEvaluator")
        DetectionEvaluator.resize(1118, 802)
        sizePolicy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            DetectionEvaluator.sizePolicy().hasHeightForWidth())
        DetectionEvaluator.setSizePolicy(sizePolicy)
        font = QFont()
        font.setFamily(u"Ubuntu")
        DetectionEvaluator.setFont(font)
        self.horizontalLayout_5 = QHBoxLayout(DetectionEvaluator)
        self.horizontalLayout_5.setSpacing(3)
        self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
        self.horizontalLayout_5.setContentsMargins(3, 3, 3, 3)
        self.splitter = QSplitter(DetectionEvaluator)
        self.splitter.setObjectName(u"splitter")
        self.splitter.setOrientation(Qt.Horizontal)
        self.verticalLayoutWidget = QWidget(self.splitter)
        self.verticalLayoutWidget.setObjectName(u"verticalLayoutWidget")
        self.verticalLayout_5 = QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout_5.setObjectName(u"verticalLayout_5")
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 15)
        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.radio_selected = QRadioButton(self.verticalLayoutWidget)
        self.buttonGroup = QButtonGroup(DetectionEvaluator)
        self.buttonGroup.setObjectName(u"buttonGroup")
        self.buttonGroup.addButton(self.radio_selected)
        self.radio_selected.setObjectName(u"radio_selected")
        self.radio_selected.setChecked(True)

        self.horizontalLayout_3.addWidget(self.radio_selected)

        self.radio_all = QRadioButton(self.verticalLayoutWidget)
        self.buttonGroup.addButton(self.radio_all)
        self.radio_all.setObjectName(u"radio_all")

        self.horizontalLayout_3.addWidget(self.radio_all)

        self.checkbox_only_done = QCheckBox(self.verticalLayoutWidget)
        self.checkbox_only_done.setObjectName(u"checkbox_only_done")
        self.checkbox_only_done.setChecked(True)

        self.horizontalLayout_3.addWidget(self.checkbox_only_done)

        self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Expanding,
                                              QSizePolicy.Minimum)

        self.horizontalLayout_3.addItem(self.horizontalSpacer_2)

        self.verticalLayout_5.addLayout(self.horizontalLayout_3)

        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.horizontalLayout.setContentsMargins(5, 5, 5, 5)
        self.lbl_selected_tags = QLabel(self.verticalLayoutWidget)
        self.lbl_selected_tags.setObjectName(u"lbl_selected_tags")

        self.horizontalLayout.addWidget(self.lbl_selected_tags)

        self.verticalLayout_5.addLayout(self.horizontalLayout)

        self.checkbox_show_tags = QCheckBox(self.verticalLayoutWidget)
        self.checkbox_show_tags.setObjectName(u"checkbox_show_tags")

        self.verticalLayout_5.addWidget(self.checkbox_show_tags)

        self.groupBox = QGroupBox(self.verticalLayoutWidget)
        self.groupBox.setObjectName(u"groupBox")
        sizePolicy1 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy1.setHorizontalStretch(1)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy1)
        self.verticalLayout_3 = QVBoxLayout(self.groupBox)
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.song_events_options = SongEventsOptions(self.groupBox)
        self.song_events_options.setObjectName(u"song_events_options")

        self.verticalLayout_3.addWidget(self.song_events_options)

        self.verticalLayout_5.addWidget(self.groupBox)

        self.groupBox_2 = QGroupBox(self.verticalLayoutWidget)
        self.groupBox_2.setObjectName(u"groupBox_2")
        self.groupBox_2.setEnabled(True)
        sizePolicy2 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy2.setHorizontalStretch(2)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(
            self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy2)
        self.groupBox_2.setCheckable(True)
        self.groupBox_2.setChecked(False)
        self.gridLayout_4 = QGridLayout(self.groupBox_2)
        self.gridLayout_4.setObjectName(u"gridLayout_4")
        self.gridLayout_4.setContentsMargins(-1, 9, -1, -1)
        self.label_8 = QLabel(self.groupBox_2)
        self.label_8.setObjectName(u"label_8")
        sizePolicy3 = QSizePolicy(QSizePolicy.Maximum, QSizePolicy.Preferred)
        sizePolicy3.setHorizontalStretch(0)
        sizePolicy3.setVerticalStretch(0)
        sizePolicy3.setHeightForWidth(
            self.label_8.sizePolicy().hasHeightForWidth())
        self.label_8.setSizePolicy(sizePolicy3)

        self.gridLayout_4.addWidget(self.label_8, 0, 0, 1, 1)

        self.pushButton = QPushButton(self.groupBox_2)
        self.pushButton.setObjectName(u"pushButton")

        self.gridLayout_4.addWidget(self.pushButton, 1, 2, 1, 1)

        self.list_exclude_tag = QListWidget(self.groupBox_2)
        self.list_exclude_tag.setObjectName(u"list_exclude_tag")
        self.list_exclude_tag.setSelectionMode(
            QAbstractItemView.MultiSelection)

        self.gridLayout_4.addWidget(self.list_exclude_tag, 2, 2, 1, 1)

        self.list_include_tag = QListWidget(self.groupBox_2)
        self.list_include_tag.setObjectName(u"list_include_tag")
        self.list_include_tag.setSelectionMode(
            QAbstractItemView.MultiSelection)

        self.gridLayout_4.addWidget(self.list_include_tag, 2, 0, 1, 1)

        self.label_10 = QLabel(self.groupBox_2)
        self.label_10.setObjectName(u"label_10")
        sizePolicy3.setHeightForWidth(
            self.label_10.sizePolicy().hasHeightForWidth())
        self.label_10.setSizePolicy(sizePolicy3)

        self.gridLayout_4.addWidget(self.label_10, 0, 2, 1, 1)

        self.checkbox_keep_by_default = QCheckBox(self.groupBox_2)
        self.checkbox_keep_by_default.setObjectName(
            u"checkbox_keep_by_default")

        self.gridLayout_4.addWidget(self.checkbox_keep_by_default, 3, 0, 1, 2)

        self.verticalLayout_5.addWidget(self.groupBox_2)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.horizontalLayout_2.setContentsMargins(10, 10, 10, 10)
        self.btn_calculate = QPushButton(self.verticalLayoutWidget)
        self.btn_calculate.setObjectName(u"btn_calculate")
        font1 = QFont()
        font1.setFamily(u"Ubuntu")
        font1.setPointSize(12)
        font1.setBold(True)
        font1.setWeight(75)
        self.btn_calculate.setFont(font1)

        self.horizontalLayout_2.addWidget(self.btn_calculate)

        self.verticalLayout_5.addLayout(self.horizontalLayout_2)

        self.verticalSpacer_2 = QSpacerItem(20, 40, QSizePolicy.Minimum,
                                            QSizePolicy.Expanding)

        self.verticalLayout_5.addItem(self.verticalSpacer_2)

        self.splitter.addWidget(self.verticalLayoutWidget)
        self.results_scrollArea = QScrollArea(self.splitter)
        self.results_scrollArea.setObjectName(u"results_scrollArea")
        sizePolicy4 = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
        sizePolicy4.setHorizontalStretch(2)
        sizePolicy4.setVerticalStretch(0)
        sizePolicy4.setHeightForWidth(
            self.results_scrollArea.sizePolicy().hasHeightForWidth())
        self.results_scrollArea.setSizePolicy(sizePolicy4)
        self.results_scrollArea.setAutoFillBackground(True)
        self.results_scrollArea.setStyleSheet(
            u"#results_scrollArea { background: transparent; }\n"
            "#results_scrollArea > QWidget > QWidget { background: transparent; }\n"
            "#results_scrollArea > QWidget > QScrollBar { background: palette(base); }"
        )
        self.results_scrollArea.setFrameShape(QFrame.NoFrame)
        self.results_scrollArea.setFrameShadow(QFrame.Plain)
        self.results_scrollArea.setWidgetResizable(True)
        self.results_scrollArea.setAlignment(Qt.AlignLeading | Qt.AlignLeft
                                             | Qt.AlignTop)
        self.scrollAreaWidgetContents = QWidget()
        self.scrollAreaWidgetContents.setObjectName(
            u"scrollAreaWidgetContents")
        self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 558, 796))
        self.scrollAreaWidgetContents.setAutoFillBackground(False)
        self.verticalLayout = QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.verticalLayout.setContentsMargins(9, 6, 9, 0)
        self.verticalLayout_6 = QVBoxLayout()
        self.verticalLayout_6.setObjectName(u"verticalLayout_6")
        self.explore_tabs = QTabWidget(self.scrollAreaWidgetContents)
        self.explore_tabs.setObjectName(u"explore_tabs")
        self.table_tab = QWidget()
        self.table_tab.setObjectName(u"table_tab")
        self.verticalLayout_4 = QVBoxLayout(self.table_tab)
        self.verticalLayout_4.setObjectName(u"verticalLayout_4")
        self.verticalLayout_4.setContentsMargins(0, 6, 0, 0)
        self.table_tags = DataFrameTableView(self.table_tab)
        self.table_tags.setObjectName(u"table_tags")
        self.table_tags.setMinimumSize(QSize(0, 200))
        self.table_tags.horizontalHeader().setStretchLastSection(True)

        self.verticalLayout_4.addWidget(self.table_tags)

        self.explore_tabs.addTab(self.table_tab, "")
        self.barplot_tab = QWidget()
        self.barplot_tab.setObjectName(u"barplot_tab")
        self.plot_layout = QVBoxLayout(self.barplot_tab)
        self.plot_layout.setObjectName(u"plot_layout")
        self.plot_widget = QWidget(self.barplot_tab)
        self.plot_widget.setObjectName(u"plot_widget")

        self.plot_layout.addWidget(self.plot_widget)

        self.explore_tabs.addTab(self.barplot_tab, "")

        self.verticalLayout_6.addWidget(self.explore_tabs)

        self.group_results = QGroupBox(self.scrollAreaWidgetContents)
        self.group_results.setObjectName(u"group_results")
        self.group_results.setEnabled(False)
        self.gridLayout_2 = QGridLayout(self.group_results)
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
        self.lbl_true_positives_ratio = QLabel(self.group_results)
        self.lbl_true_positives_ratio.setObjectName(
            u"lbl_true_positives_ratio")
        font2 = QFont()
        font2.setFamily(u"Ubuntu")
        font2.setPointSize(11)
        font2.setBold(True)
        font2.setWeight(75)
        self.lbl_true_positives_ratio.setFont(font2)

        self.gridLayout_2.addWidget(self.lbl_true_positives_ratio, 5, 1, 1, 1)

        self.label = QLabel(self.group_results)
        self.label.setObjectName(u"label")

        self.gridLayout_2.addWidget(self.label, 3, 0, 1, 1)

        self.lbl_n_true_positives = QLabel(self.group_results)
        self.lbl_n_true_positives.setObjectName(u"lbl_n_true_positives")

        self.gridLayout_2.addWidget(self.lbl_n_true_positives, 2, 1, 1, 1)

        self.label_22 = QLabel(self.group_results)
        self.label_22.setObjectName(u"label_22")

        self.gridLayout_2.addWidget(self.label_22, 2, 2, 1, 1)

        self.label_21 = QLabel(self.group_results)
        self.label_21.setObjectName(u"label_21")

        self.gridLayout_2.addWidget(self.label_21, 2, 0, 1, 1)

        self.label_13 = QLabel(self.group_results)
        self.label_13.setObjectName(u"label_13")
        self.label_13.setFont(font2)

        self.gridLayout_2.addWidget(self.label_13, 5, 0, 1, 1)

        self.label_18 = QLabel(self.group_results)
        self.label_18.setObjectName(u"label_18")

        self.gridLayout_2.addWidget(self.label_18, 1, 2, 1, 1)

        self.lbl_n_tags = QLabel(self.group_results)
        self.lbl_n_tags.setObjectName(u"lbl_n_tags")

        self.gridLayout_2.addWidget(self.lbl_n_tags, 1, 3, 1, 1)

        self.label_17 = QLabel(self.group_results)
        self.label_17.setObjectName(u"label_17")

        self.gridLayout_2.addWidget(self.label_17, 1, 0, 1, 1)

        self.table_results = DataFrameTableView(self.group_results)
        self.table_results.setObjectName(u"table_results")
        self.table_results.setEnabled(False)
        self.table_results.horizontalHeader().setStretchLastSection(True)

        self.gridLayout_2.addWidget(self.table_results, 0, 0, 1, 4)

        self.lbl_n_events = QLabel(self.group_results)
        self.lbl_n_events.setObjectName(u"lbl_n_events")

        self.gridLayout_2.addWidget(self.lbl_n_events, 1, 1, 1, 1)

        self.lbl_n_tags_matched = QLabel(self.group_results)
        self.lbl_n_tags_matched.setObjectName(u"lbl_n_tags_matched")

        self.gridLayout_2.addWidget(self.lbl_n_tags_matched, 2, 3, 1, 1)

        self.label_2 = QLabel(self.group_results)
        self.label_2.setObjectName(u"label_2")
        font3 = QFont()
        font3.setPointSize(11)
        font3.setBold(True)
        font3.setWeight(75)
        self.label_2.setFont(font3)

        self.gridLayout_2.addWidget(self.label_2, 4, 0, 1, 1)

        self.label_15 = QLabel(self.group_results)
        self.label_15.setObjectName(u"label_15")
        self.label_15.setFont(font2)

        self.gridLayout_2.addWidget(self.label_15, 4, 2, 1, 1)

        self.lbl_recall = QLabel(self.group_results)
        self.lbl_recall.setObjectName(u"lbl_recall")
        self.lbl_recall.setFont(font2)

        self.gridLayout_2.addWidget(self.lbl_recall, 4, 3, 1, 1)

        self.label_3 = QLabel(self.group_results)
        self.label_3.setObjectName(u"label_3")
        self.label_3.setFont(font3)

        self.gridLayout_2.addWidget(self.label_3, 5, 2, 1, 1)

        self.lbl_false_positive_rate = QLabel(self.group_results)
        self.lbl_false_positive_rate.setObjectName(u"lbl_false_positive_rate")
        self.lbl_false_positive_rate.setFont(font3)

        self.gridLayout_2.addWidget(self.lbl_false_positive_rate, 5, 3, 1, 1)

        self.lbl_precision = QLabel(self.group_results)
        self.lbl_precision.setObjectName(u"lbl_precision")
        self.lbl_precision.setFont(font3)

        self.gridLayout_2.addWidget(self.lbl_precision, 4, 1, 1, 1)

        self.label_6 = QLabel(self.group_results)
        self.label_6.setObjectName(u"label_6")

        self.gridLayout_2.addWidget(self.label_6, 3, 2, 1, 1)

        self.lbl_n_tags_unmatched = QLabel(self.group_results)
        self.lbl_n_tags_unmatched.setObjectName(u"lbl_n_tags_unmatched")

        self.gridLayout_2.addWidget(self.lbl_n_tags_unmatched, 3, 3, 1, 1)

        self.lbl_n_false_positives = QLabel(self.group_results)
        self.lbl_n_false_positives.setObjectName(u"lbl_n_false_positives")

        self.gridLayout_2.addWidget(self.lbl_n_false_positives, 3, 1, 1, 1)

        self.verticalLayout_6.addWidget(self.group_results)

        self.horizontalLayout_4 = QHBoxLayout()
        self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
        self.horizontalLayout_4.setContentsMargins(10, 10, 10, 10)
        self.horizontalSpacer_5 = QSpacerItem(40, 20, QSizePolicy.Expanding,
                                              QSizePolicy.Minimum)

        self.horizontalLayout_4.addItem(self.horizontalSpacer_5)

        self.btn_export = QPushButton(self.scrollAreaWidgetContents)
        self.btn_export.setObjectName(u"btn_export")
        font4 = QFont()
        font4.setFamily(u"Ubuntu")
        font4.setBold(True)
        font4.setWeight(75)
        self.btn_export.setFont(font4)

        self.horizontalLayout_4.addWidget(self.btn_export)

        self.btn_sensitivity = QPushButton(self.scrollAreaWidgetContents)
        self.btn_sensitivity.setObjectName(u"btn_sensitivity")
        font5 = QFont()
        font5.setFamily(u"Ubuntu")
        font5.setPointSize(9)
        font5.setBold(True)
        font5.setWeight(75)
        self.btn_sensitivity.setFont(font5)

        self.horizontalLayout_4.addWidget(self.btn_sensitivity)

        self.verticalLayout_6.addLayout(self.horizontalLayout_4)

        self.verticalLayout.addLayout(self.verticalLayout_6)

        self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Minimum,
                                          QSizePolicy.Expanding)

        self.verticalLayout.addItem(self.verticalSpacer)

        self.results_scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.splitter.addWidget(self.results_scrollArea)

        self.horizontalLayout_5.addWidget(self.splitter)

        self.retranslateUi(DetectionEvaluator)

        self.explore_tabs.setCurrentIndex(1)

        QMetaObject.connectSlotsByName(DetectionEvaluator)
Пример #6
0
    def setupUi(self, FileImportWizard):
        if not FileImportWizard.objectName():
            FileImportWizard.setObjectName(u"FileImportWizard")
        FileImportWizard.setEnabled(True)
        FileImportWizard.resize(896, 665)
        self.page1 = QWizardPage()
        self.page1.setObjectName(u"page1")
        self.layoutWidget = QWidget(self.page1)
        self.layoutWidget.setObjectName(u"layoutWidget")
        self.layoutWidget.setGeometry(QRect(0, 0, 870, 461))
        self.gridLayout = QGridLayout(self.layoutWidget)
        self.gridLayout.setObjectName(u"gridLayout")
        self.gridLayout.setHorizontalSpacing(15)
        self.gridLayout.setVerticalSpacing(10)
        self.gridLayout.setContentsMargins(10, 0, 10, 0)
        self.verticalSpacer_2 = QSpacerItem(20, 30, QSizePolicy.Minimum, QSizePolicy.Preferred)

        self.gridLayout.addItem(self.verticalSpacer_2, 3, 0, 1, 4)

        self.verticalSpacer_3 = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.gridLayout.addItem(self.verticalSpacer_3, 11, 0, 1, 4)

        self.radio_site_auto = QRadioButton(self.layoutWidget)
        self.radio_site_info = QButtonGroup(FileImportWizard)
        self.radio_site_info.setObjectName(u"radio_site_info")
        self.radio_site_info.addButton(self.radio_site_auto)
        self.radio_site_auto.setObjectName(u"radio_site_auto")
        sizePolicy = QSizePolicy(QSizePolicy.Maximum, QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.radio_site_auto.sizePolicy().hasHeightForWidth())
        self.radio_site_auto.setSizePolicy(sizePolicy)
        self.radio_site_auto.setChecked(True)

        self.gridLayout.addWidget(self.radio_site_auto, 5, 0, 1, 4)

        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setSpacing(0)
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.label_3 = QLabel(self.layoutWidget)
        self.label_3.setObjectName(u"label_3")
        sizePolicy1 = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy1)
        font = QFont()
        font.setPointSize(11)
        font.setBold(False)
        font.setWeight(50)
        self.label_3.setFont(font)
        self.label_3.setMargin(5)

        self.horizontalLayout_3.addWidget(self.label_3)

        self.radio_rec_auto = QRadioButton(self.layoutWidget)
        self.radio_recorders = QButtonGroup(FileImportWizard)
        self.radio_recorders.setObjectName(u"radio_recorders")
        self.radio_recorders.addButton(self.radio_rec_auto)
        self.radio_rec_auto.setObjectName(u"radio_rec_auto")
        self.radio_rec_auto.setEnabled(True)
        sizePolicy.setHeightForWidth(self.radio_rec_auto.sizePolicy().hasHeightForWidth())
        self.radio_rec_auto.setSizePolicy(sizePolicy)
        self.radio_rec_auto.setChecked(True)

        self.horizontalLayout_3.addWidget(self.radio_rec_auto)

        self.radio_rec_sm = QRadioButton(self.layoutWidget)
        self.radio_recorders.addButton(self.radio_rec_sm)
        self.radio_rec_sm.setObjectName(u"radio_rec_sm")
        sizePolicy.setHeightForWidth(self.radio_rec_sm.sizePolicy().hasHeightForWidth())
        self.radio_rec_sm.setSizePolicy(sizePolicy)

        self.horizontalLayout_3.addWidget(self.radio_rec_sm)

        self.radio_rec_am = QRadioButton(self.layoutWidget)
        self.radio_recorders.addButton(self.radio_rec_am)
        self.radio_rec_am.setObjectName(u"radio_rec_am")
        sizePolicy.setHeightForWidth(self.radio_rec_am.sizePolicy().hasHeightForWidth())
        self.radio_rec_am.setSizePolicy(sizePolicy)

        self.horizontalLayout_3.addWidget(self.radio_rec_am)

        self.horizontalSpacer_3 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_3.addItem(self.horizontalSpacer_3)


        self.gridLayout.addLayout(self.horizontalLayout_3, 2, 0, 1, 4)

        self.checkbox_save_info = QCheckBox(self.layoutWidget)
        self.checkbox_save_info.setObjectName(u"checkbox_save_info")
        self.checkbox_save_info.setChecked(True)

        self.gridLayout.addWidget(self.checkbox_save_info, 9, 0, 1, 4)

        self.label_9 = QLabel(self.layoutWidget)
        self.label_9.setObjectName(u"label_9")
        sizePolicy2 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Maximum)
        sizePolicy2.setHorizontalStretch(0)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(self.label_9.sizePolicy().hasHeightForWidth())
        self.label_9.setSizePolicy(sizePolicy2)
        font1 = QFont()
        font1.setPointSize(11)
        font1.setBold(True)
        font1.setWeight(75)
        self.label_9.setFont(font1)

        self.gridLayout.addWidget(self.label_9, 4, 0, 1, 3)

        self.input_src_path = QLineEdit(self.layoutWidget)
        self.input_src_path.setObjectName(u"input_src_path")
        sizePolicy3 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Fixed)
        sizePolicy3.setHorizontalStretch(0)
        sizePolicy3.setVerticalStretch(0)
        sizePolicy3.setHeightForWidth(self.input_src_path.sizePolicy().hasHeightForWidth())
        self.input_src_path.setSizePolicy(sizePolicy3)
        self.input_src_path.setMaximumSize(QSize(16777215, 16777215))

        self.gridLayout.addWidget(self.input_src_path, 1, 0, 1, 3)

        self.radio_folder = QRadioButton(self.layoutWidget)
        self.radio_is_folder = QButtonGroup(FileImportWizard)
        self.radio_is_folder.setObjectName(u"radio_is_folder")
        self.radio_is_folder.addButton(self.radio_folder)
        self.radio_folder.setObjectName(u"radio_folder")
        sizePolicy.setHeightForWidth(self.radio_folder.sizePolicy().hasHeightForWidth())
        self.radio_folder.setSizePolicy(sizePolicy)
        self.radio_folder.setChecked(True)

        self.gridLayout.addWidget(self.radio_folder, 0, 0, 1, 1)

        self.checkbox_subfolders = QCheckBox(self.layoutWidget)
        self.checkbox_subfolders.setObjectName(u"checkbox_subfolders")
        sizePolicy3.setHeightForWidth(self.checkbox_subfolders.sizePolicy().hasHeightForWidth())
        self.checkbox_subfolders.setSizePolicy(sizePolicy3)
        self.checkbox_subfolders.setChecked(True)

        self.gridLayout.addWidget(self.checkbox_subfolders, 0, 2, 1, 2)

        self.site_manual = QWidget(self.layoutWidget)
        self.site_manual.setObjectName(u"site_manual")
        sizePolicy2.setHeightForWidth(self.site_manual.sizePolicy().hasHeightForWidth())
        self.site_manual.setSizePolicy(sizePolicy2)
        self.horizontalLayout = QHBoxLayout(self.site_manual)
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.label_8 = QLabel(self.site_manual)
        self.label_8.setObjectName(u"label_8")
        sizePolicy.setHeightForWidth(self.label_8.sizePolicy().hasHeightForWidth())
        self.label_8.setSizePolicy(sizePolicy)

        self.horizontalLayout.addWidget(self.label_8)

        self.input_year = QLineEdit(self.site_manual)
        self.input_year.setObjectName(u"input_year")
        sizePolicy3.setHeightForWidth(self.input_year.sizePolicy().hasHeightForWidth())
        self.input_year.setSizePolicy(sizePolicy3)

        self.horizontalLayout.addWidget(self.input_year)

        self.label = QLabel(self.site_manual)
        self.label.setObjectName(u"label")
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)

        self.horizontalLayout.addWidget(self.label)

        self.input_site = QLineEdit(self.site_manual)
        self.input_site.setObjectName(u"input_site")
        sizePolicy3.setHeightForWidth(self.input_site.sizePolicy().hasHeightForWidth())
        self.input_site.setSizePolicy(sizePolicy3)

        self.horizontalLayout.addWidget(self.input_site)

        self.label_4 = QLabel(self.site_manual)
        self.label_4.setObjectName(u"label_4")
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)

        self.horizontalLayout.addWidget(self.label_4)

        self.input_plot = QLineEdit(self.site_manual)
        self.input_plot.setObjectName(u"input_plot")
        sizePolicy3.setHeightForWidth(self.input_plot.sizePolicy().hasHeightForWidth())
        self.input_plot.setSizePolicy(sizePolicy3)

        self.horizontalLayout.addWidget(self.input_plot)

        self.horizontalSpacer = QSpacerItem(100, 20, QSizePolicy.Minimum, QSizePolicy.Minimum)

        self.horizontalLayout.addItem(self.horizontalSpacer)


        self.gridLayout.addWidget(self.site_manual, 8, 0, 1, 4)

        self.site_auto = QWidget(self.layoutWidget)
        self.site_auto.setObjectName(u"site_auto")
        sizePolicy2.setHeightForWidth(self.site_auto.sizePolicy().hasHeightForWidth())
        self.site_auto.setSizePolicy(sizePolicy2)
        self.gridLayout_2 = QGridLayout(self.site_auto)
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.gridLayout_2.setSizeConstraint(QLayout.SetMinimumSize)
        self.gridLayout_2.setContentsMargins(9, 9, 9, 9)
        self.label_2 = QLabel(self.site_auto)
        self.label_2.setObjectName(u"label_2")
        sizePolicy4 = QSizePolicy(QSizePolicy.Maximum, QSizePolicy.Maximum)
        sizePolicy4.setHorizontalStretch(0)
        sizePolicy4.setVerticalStretch(0)
        sizePolicy4.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy4)

        self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.horizontalLayout_2.setSizeConstraint(QLayout.SetMinimumSize)
        self.label_5 = QLabel(self.site_auto)
        self.label_5.setObjectName(u"label_5")
        sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)

        self.horizontalLayout_2.addWidget(self.label_5)

        self.combo_idx_3 = QComboBox(self.site_auto)
        self.combo_idx_3.addItem("")
        self.combo_idx_3.addItem("")
        self.combo_idx_3.addItem("")
        self.combo_idx_3.setObjectName(u"combo_idx_3")
        sizePolicy.setHeightForWidth(self.combo_idx_3.sizePolicy().hasHeightForWidth())
        self.combo_idx_3.setSizePolicy(sizePolicy)

        self.horizontalLayout_2.addWidget(self.combo_idx_3)

        self.label_7 = QLabel(self.site_auto)
        self.label_7.setObjectName(u"label_7")
        sizePolicy.setHeightForWidth(self.label_7.sizePolicy().hasHeightForWidth())
        self.label_7.setSizePolicy(sizePolicy)

        self.horizontalLayout_2.addWidget(self.label_7)

        self.combo_idx_2 = QComboBox(self.site_auto)
        self.combo_idx_2.addItem("")
        self.combo_idx_2.addItem("")
        self.combo_idx_2.addItem("")
        self.combo_idx_2.setObjectName(u"combo_idx_2")
        sizePolicy.setHeightForWidth(self.combo_idx_2.sizePolicy().hasHeightForWidth())
        self.combo_idx_2.setSizePolicy(sizePolicy)

        self.horizontalLayout_2.addWidget(self.combo_idx_2)

        self.label_6 = QLabel(self.site_auto)
        self.label_6.setObjectName(u"label_6")
        sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
        self.label_6.setSizePolicy(sizePolicy)

        self.horizontalLayout_2.addWidget(self.label_6)

        self.combo_idx_1 = QComboBox(self.site_auto)
        self.combo_idx_1.addItem("")
        self.combo_idx_1.addItem("")
        self.combo_idx_1.addItem("")
        self.combo_idx_1.setObjectName(u"combo_idx_1")
        sizePolicy.setHeightForWidth(self.combo_idx_1.sizePolicy().hasHeightForWidth())
        self.combo_idx_1.setSizePolicy(sizePolicy)

        self.horizontalLayout_2.addWidget(self.combo_idx_1)

        self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_2.addItem(self.horizontalSpacer_2)


        self.gridLayout_2.addLayout(self.horizontalLayout_2, 2, 0, 1, 1)


        self.gridLayout.addWidget(self.site_auto, 7, 0, 1, 4)

        self.radio_site_manual = QRadioButton(self.layoutWidget)
        self.radio_site_info.addButton(self.radio_site_manual)
        self.radio_site_manual.setObjectName(u"radio_site_manual")
        self.radio_site_manual.setEnabled(False)

        self.gridLayout.addWidget(self.radio_site_manual, 6, 0, 1, 4)

        self.radio_file = QRadioButton(self.layoutWidget)
        self.radio_is_folder.addButton(self.radio_file)
        self.radio_file.setObjectName(u"radio_file")
        sizePolicy3.setHeightForWidth(self.radio_file.sizePolicy().hasHeightForWidth())
        self.radio_file.setSizePolicy(sizePolicy3)
        self.radio_file.setMinimumSize(QSize(0, 0))
        self.radio_file.setChecked(False)

        self.gridLayout.addWidget(self.radio_file, 0, 1, 1, 1)

        self.checkbox_load_info = QCheckBox(self.layoutWidget)
        self.checkbox_load_info.setObjectName(u"checkbox_load_info")
        self.checkbox_load_info.setChecked(True)

        self.gridLayout.addWidget(self.checkbox_load_info, 10, 0, 1, 4)

        self.btn_browse_src = QPushButton(self.layoutWidget)
        self.btn_browse_src.setObjectName(u"btn_browse_src")
        sizePolicy.setHeightForWidth(self.btn_browse_src.sizePolicy().hasHeightForWidth())
        self.btn_browse_src.setSizePolicy(sizePolicy)

        self.gridLayout.addWidget(self.btn_browse_src, 1, 3, 1, 1)

        FileImportWizard.addPage(self.page1)
        self.page2 = QWizardPage()
        self.page2.setObjectName(u"page2")
        self.gridLayoutWidget = QWidget(self.page2)
        self.gridLayoutWidget.setObjectName(u"gridLayoutWidget")
        self.gridLayoutWidget.setGeometry(QRect(0, 0, 861, 501))
        self.gridLayout_3 = QGridLayout(self.gridLayoutWidget)
        self.gridLayout_3.setObjectName(u"gridLayout_3")
        self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
        self.lbl_status = QLabel(self.gridLayoutWidget)
        self.lbl_status.setObjectName(u"lbl_status")
        sizePolicy3.setHeightForWidth(self.lbl_status.sizePolicy().hasHeightForWidth())
        self.lbl_status.setSizePolicy(sizePolicy3)

        self.gridLayout_3.addWidget(self.lbl_status, 2, 0, 1, 1)

        self.verticalSpacer = QSpacerItem(20, 10, QSizePolicy.Minimum, QSizePolicy.Fixed)

        self.gridLayout_3.addItem(self.verticalSpacer, 0, 0, 1, 1)

        self.table_files = DataFrameTableView(self.gridLayoutWidget)
        self.table_files.setObjectName(u"table_files")
        self.table_files.setSizeAdjustPolicy(QAbstractScrollArea.AdjustToContents)
        self.table_files.setSelectionMode(QAbstractItemView.ContiguousSelection)
        self.table_files.setSortingEnabled(True)
        self.table_files.horizontalHeader().setStretchLastSection(True)
        self.table_files.verticalHeader().setVisible(False)

        self.gridLayout_3.addWidget(self.table_files, 3, 0, 1, 1)

        FileImportWizard.addPage(self.page2)
        self.page3 = QWizardPage()
        self.page3.setObjectName(u"page3")
        self.gridLayoutWidget_2 = QWidget(self.page3)
        self.gridLayoutWidget_2.setObjectName(u"gridLayoutWidget_2")
        self.gridLayoutWidget_2.setGeometry(QRect(0, 0, 861, 543))
        self.gridLayout_4 = QGridLayout(self.gridLayoutWidget_2)
        self.gridLayout_4.setObjectName(u"gridLayout_4")
        self.gridLayout_4.setContentsMargins(0, 0, 0, 0)
        self.verticalSpacer_5 = QSpacerItem(20, 10, QSizePolicy.Minimum, QSizePolicy.Fixed)

        self.gridLayout_4.addItem(self.verticalSpacer_5, 1, 0, 1, 2)

        self.verticalSpacer_4 = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.gridLayout_4.addItem(self.verticalSpacer_4, 8, 0, 1, 2)

        self.checkbox_rename = QCheckBox(self.gridLayoutWidget_2)
        self.checkbox_rename.setObjectName(u"checkbox_rename")
        self.checkbox_rename.setChecked(True)

        self.gridLayout_4.addWidget(self.checkbox_rename, 3, 0, 1, 1)

        self.label_11 = QLabel(self.gridLayoutWidget_2)
        self.label_11.setObjectName(u"label_11")

        self.gridLayout_4.addWidget(self.label_11, 0, 0, 1, 2)

        self.move_options = QWidget(self.gridLayoutWidget_2)
        self.move_options.setObjectName(u"move_options")
        self.gridLayout_7 = QGridLayout(self.move_options)
        self.gridLayout_7.setObjectName(u"gridLayout_7")
        self.radio_new_folder = QRadioButton(self.move_options)
        self.radio_destination = QButtonGroup(FileImportWizard)
        self.radio_destination.setObjectName(u"radio_destination")
        self.radio_destination.addButton(self.radio_new_folder)
        self.radio_new_folder.setObjectName(u"radio_new_folder")
        self.radio_new_folder.setChecked(True)

        self.gridLayout_7.addWidget(self.radio_new_folder, 1, 0, 1, 1)

        self.radio_data_source = QRadioButton(self.move_options)
        self.radio_destination.addButton(self.radio_data_source)
        self.radio_data_source.setObjectName(u"radio_data_source")
        self.radio_data_source.setEnabled(False)
        self.radio_data_source.setChecked(False)

        self.gridLayout_7.addWidget(self.radio_data_source, 4, 0, 1, 1)

        self.combo_datasource = QComboBox(self.move_options)
        self.combo_datasource.setObjectName(u"combo_datasource")
        self.combo_datasource.setEnabled(False)

        self.gridLayout_7.addWidget(self.combo_datasource, 5, 0, 1, 4)

        self.label_12 = QLabel(self.move_options)
        self.label_12.setObjectName(u"label_12")

        self.gridLayout_7.addWidget(self.label_12, 0, 0, 1, 1)

        self.checkbox_overwrite = QCheckBox(self.move_options)
        self.checkbox_overwrite.setObjectName(u"checkbox_overwrite")
        self.checkbox_overwrite.setChecked(True)

        self.gridLayout_7.addWidget(self.checkbox_overwrite, 6, 0, 1, 1)

        self.btn_browse_dest = QPushButton(self.move_options)
        self.btn_browse_dest.setObjectName(u"btn_browse_dest")
        sizePolicy.setHeightForWidth(self.btn_browse_dest.sizePolicy().hasHeightForWidth())
        self.btn_browse_dest.setSizePolicy(sizePolicy)

        self.gridLayout_7.addWidget(self.btn_browse_dest, 2, 3, 1, 1)

        self.input_dest_path = QLineEdit(self.move_options)
        self.input_dest_path.setObjectName(u"input_dest_path")

        self.gridLayout_7.addWidget(self.input_dest_path, 2, 0, 1, 3)

        self.label_14 = QLabel(self.move_options)
        self.label_14.setObjectName(u"label_14")
        self.label_14.setEnabled(False)
        sizePolicy5 = QSizePolicy(QSizePolicy.Maximum, QSizePolicy.Preferred)
        sizePolicy5.setHorizontalStretch(0)
        sizePolicy5.setVerticalStretch(0)
        sizePolicy5.setHeightForWidth(self.label_14.sizePolicy().hasHeightForWidth())
        self.label_14.setSizePolicy(sizePolicy5)

        self.gridLayout_7.addWidget(self.label_14, 3, 1, 1, 1)

        self.input_datasource = QLineEdit(self.move_options)
        self.input_datasource.setObjectName(u"input_datasource")
        self.input_datasource.setEnabled(False)

        self.gridLayout_7.addWidget(self.input_datasource, 3, 2, 1, 1)

        self.checkbox_new_datasource = QCheckBox(self.move_options)
        self.checkbox_new_datasource.setObjectName(u"checkbox_new_datasource")
        self.checkbox_new_datasource.setEnabled(False)
        sizePolicy.setHeightForWidth(self.checkbox_new_datasource.sizePolicy().hasHeightForWidth())
        self.checkbox_new_datasource.setSizePolicy(sizePolicy)

        self.gridLayout_7.addWidget(self.checkbox_new_datasource, 3, 0, 1, 1)


        self.gridLayout_4.addWidget(self.move_options, 6, 0, 1, 2)

        self.horizontalSpacer_4 = QSpacerItem(40, 20, QSizePolicy.Preferred, QSizePolicy.Minimum)

        self.gridLayout_4.addItem(self.horizontalSpacer_4, 3, 1, 1, 1)

        self.checkbox_move = QCheckBox(self.gridLayoutWidget_2)
        self.checkbox_move.setObjectName(u"checkbox_move")
        self.checkbox_move.setChecked(False)

        self.gridLayout_4.addWidget(self.checkbox_move, 5, 0, 1, 1)

        self.checkbox_link = QCheckBox(self.gridLayoutWidget_2)
        self.checkbox_link.setObjectName(u"checkbox_link")
        self.checkbox_link.setChecked(True)

        self.gridLayout_4.addWidget(self.checkbox_link, 4, 0, 1, 1)

        self.compression_options = QGroupBox(self.gridLayoutWidget_2)
        self.compression_options.setObjectName(u"compression_options")
        self.compression_options.setEnabled(True)
        self.gridLayout_5 = QGridLayout(self.compression_options)
        self.gridLayout_5.setObjectName(u"gridLayout_5")
        self.radio_zip = QRadioButton(self.compression_options)
        self.radio_compression = QButtonGroup(FileImportWizard)
        self.radio_compression.setObjectName(u"radio_compression")
        self.radio_compression.addButton(self.radio_zip)
        self.radio_zip.setObjectName(u"radio_zip")

        self.gridLayout_5.addWidget(self.radio_zip, 2, 2, 1, 1)

        self.radio_7z = QRadioButton(self.compression_options)
        self.radio_compression.addButton(self.radio_7z)
        self.radio_7z.setObjectName(u"radio_7z")
        self.radio_7z.setChecked(True)

        self.gridLayout_5.addWidget(self.radio_7z, 2, 1, 1, 1)

        self.label_10 = QLabel(self.compression_options)
        self.label_10.setObjectName(u"label_10")
        sizePolicy5.setHeightForWidth(self.label_10.sizePolicy().hasHeightForWidth())
        self.label_10.setSizePolicy(sizePolicy5)

        self.gridLayout_5.addWidget(self.label_10, 2, 0, 1, 1)

        self.radio_tar = QRadioButton(self.compression_options)
        self.radio_compression.addButton(self.radio_tar)
        self.radio_tar.setObjectName(u"radio_tar")

        self.gridLayout_5.addWidget(self.radio_tar, 2, 3, 1, 1)

        self.checkbox_archive = QCheckBox(self.compression_options)
        self.checkbox_archive.setObjectName(u"checkbox_archive")

        self.gridLayout_5.addWidget(self.checkbox_archive, 1, 0, 1, 1)

        self.checkbox_flac = QCheckBox(self.compression_options)
        self.checkbox_flac.setObjectName(u"checkbox_flac")

        self.gridLayout_5.addWidget(self.checkbox_flac, 0, 0, 1, 1)


        self.gridLayout_4.addWidget(self.compression_options, 7, 0, 1, 2)

        self.checkbox_reimport = QCheckBox(self.gridLayoutWidget_2)
        self.checkbox_reimport.setObjectName(u"checkbox_reimport")

        self.gridLayout_4.addWidget(self.checkbox_reimport, 2, 0, 1, 1)

        FileImportWizard.addPage(self.page3)
        self.page4 = QWizardPage()
        self.page4.setObjectName(u"page4")
        self.gridLayoutWidget_3 = QWidget(self.page4)
        self.gridLayoutWidget_3.setObjectName(u"gridLayoutWidget_3")
        self.gridLayoutWidget_3.setGeometry(QRect(9, -1, 851, 531))
        self.gridLayout_8 = QGridLayout(self.gridLayoutWidget_3)
        self.gridLayout_8.setObjectName(u"gridLayout_8")
        self.gridLayout_8.setContentsMargins(0, 0, 0, 0)
        self.label_13 = QLabel(self.gridLayoutWidget_3)
        self.label_13.setObjectName(u"label_13")

        self.gridLayout_8.addWidget(self.label_13, 0, 0, 1, 1)

        self.verticalSpacer_6 = QSpacerItem(20, 20, QSizePolicy.Minimum, QSizePolicy.Fixed)

        self.gridLayout_8.addItem(self.verticalSpacer_6, 1, 0, 1, 1)

        self.details_console = QTextEdit(self.gridLayoutWidget_3)
        self.details_console.setObjectName(u"details_console")

        self.gridLayout_8.addWidget(self.details_console, 2, 0, 1, 1)

        FileImportWizard.addPage(self.page4)
        self.page5 = QWizardPage()
        self.page5.setObjectName(u"page5")
        self.gridLayoutWidget_4 = QWidget(self.page5)
        self.gridLayoutWidget_4.setObjectName(u"gridLayoutWidget_4")
        self.gridLayoutWidget_4.setGeometry(QRect(0, 0, 861, 521))
        self.gridLayout_6 = QGridLayout(self.gridLayoutWidget_4)
        self.gridLayout_6.setObjectName(u"gridLayout_6")
        self.gridLayout_6.setContentsMargins(0, 0, 0, 0)
        self.lbl_removing = QLabel(self.gridLayoutWidget_4)
        self.lbl_removing.setObjectName(u"lbl_removing")
        self.lbl_removing.setEnabled(False)
        self.lbl_removing.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)

        self.gridLayout_6.addWidget(self.lbl_removing, 1, 1, 1, 2)

        self.horizontalSpacer_5 = QSpacerItem(100, 20, QSizePolicy.Fixed, QSizePolicy.Minimum)

        self.gridLayout_6.addItem(self.horizontalSpacer_5, 0, 0, 1, 1)

        self.checkbox_done = QCheckBox(self.gridLayoutWidget_4)
        self.checkbox_done.setObjectName(u"checkbox_done")

        self.gridLayout_6.addWidget(self.checkbox_done, 8, 1, 1, 1)

        self.spacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Preferred)

        self.gridLayout_6.addItem(self.spacer, 7, 1, 1, 2)

        self.lbl_renaming = QLabel(self.gridLayoutWidget_4)
        self.lbl_renaming.setObjectName(u"lbl_renaming")
        self.lbl_renaming.setEnabled(False)

        self.gridLayout_6.addWidget(self.lbl_renaming, 2, 1, 1, 2)

        self.lbl_converting = QLabel(self.gridLayoutWidget_4)
        self.lbl_converting.setObjectName(u"lbl_converting")
        self.lbl_converting.setLayoutDirection(Qt.LeftToRight)
        self.lbl_converting.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)

        self.gridLayout_6.addWidget(self.lbl_converting, 0, 1, 1, 2)

        self.progress_bar = QProgressBar(self.gridLayoutWidget_4)
        self.progress_bar.setObjectName(u"progress_bar")
        self.progress_bar.setValue(0)

        self.gridLayout_6.addWidget(self.progress_bar, 5, 1, 1, 2)

        self.verticalSpacer_8 = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Fixed)

        self.gridLayout_6.addItem(self.verticalSpacer_8, 4, 1, 1, 2)

        self.log_console = QTextEdit(self.gridLayoutWidget_4)
        self.log_console.setObjectName(u"log_console")

        self.gridLayout_6.addWidget(self.log_console, 6, 1, 1, 1)

        self.lbl_saving = QLabel(self.gridLayoutWidget_4)
        self.lbl_saving.setObjectName(u"lbl_saving")
        self.lbl_saving.setEnabled(False)

        self.gridLayout_6.addWidget(self.lbl_saving, 3, 1, 1, 1)

        FileImportWizard.addPage(self.page5)

        self.retranslateUi(FileImportWizard)

        self.combo_idx_2.setCurrentIndex(1)
        self.combo_idx_1.setCurrentIndex(2)


        QMetaObject.connectSlotsByName(FileImportWizard)
Пример #7
0
class Ui_FileImportWizard(object):
    def setupUi(self, FileImportWizard):
        if not FileImportWizard.objectName():
            FileImportWizard.setObjectName(u"FileImportWizard")
        FileImportWizard.setEnabled(True)
        FileImportWizard.resize(896, 665)
        self.page1 = QWizardPage()
        self.page1.setObjectName(u"page1")
        self.layoutWidget = QWidget(self.page1)
        self.layoutWidget.setObjectName(u"layoutWidget")
        self.layoutWidget.setGeometry(QRect(0, 0, 870, 461))
        self.gridLayout = QGridLayout(self.layoutWidget)
        self.gridLayout.setObjectName(u"gridLayout")
        self.gridLayout.setHorizontalSpacing(15)
        self.gridLayout.setVerticalSpacing(10)
        self.gridLayout.setContentsMargins(10, 0, 10, 0)
        self.verticalSpacer_2 = QSpacerItem(20, 30, QSizePolicy.Minimum, QSizePolicy.Preferred)

        self.gridLayout.addItem(self.verticalSpacer_2, 3, 0, 1, 4)

        self.verticalSpacer_3 = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.gridLayout.addItem(self.verticalSpacer_3, 11, 0, 1, 4)

        self.radio_site_auto = QRadioButton(self.layoutWidget)
        self.radio_site_info = QButtonGroup(FileImportWizard)
        self.radio_site_info.setObjectName(u"radio_site_info")
        self.radio_site_info.addButton(self.radio_site_auto)
        self.radio_site_auto.setObjectName(u"radio_site_auto")
        sizePolicy = QSizePolicy(QSizePolicy.Maximum, QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.radio_site_auto.sizePolicy().hasHeightForWidth())
        self.radio_site_auto.setSizePolicy(sizePolicy)
        self.radio_site_auto.setChecked(True)

        self.gridLayout.addWidget(self.radio_site_auto, 5, 0, 1, 4)

        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setSpacing(0)
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.label_3 = QLabel(self.layoutWidget)
        self.label_3.setObjectName(u"label_3")
        sizePolicy1 = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy1)
        font = QFont()
        font.setPointSize(11)
        font.setBold(False)
        font.setWeight(50)
        self.label_3.setFont(font)
        self.label_3.setMargin(5)

        self.horizontalLayout_3.addWidget(self.label_3)

        self.radio_rec_auto = QRadioButton(self.layoutWidget)
        self.radio_recorders = QButtonGroup(FileImportWizard)
        self.radio_recorders.setObjectName(u"radio_recorders")
        self.radio_recorders.addButton(self.radio_rec_auto)
        self.radio_rec_auto.setObjectName(u"radio_rec_auto")
        self.radio_rec_auto.setEnabled(True)
        sizePolicy.setHeightForWidth(self.radio_rec_auto.sizePolicy().hasHeightForWidth())
        self.radio_rec_auto.setSizePolicy(sizePolicy)
        self.radio_rec_auto.setChecked(True)

        self.horizontalLayout_3.addWidget(self.radio_rec_auto)

        self.radio_rec_sm = QRadioButton(self.layoutWidget)
        self.radio_recorders.addButton(self.radio_rec_sm)
        self.radio_rec_sm.setObjectName(u"radio_rec_sm")
        sizePolicy.setHeightForWidth(self.radio_rec_sm.sizePolicy().hasHeightForWidth())
        self.radio_rec_sm.setSizePolicy(sizePolicy)

        self.horizontalLayout_3.addWidget(self.radio_rec_sm)

        self.radio_rec_am = QRadioButton(self.layoutWidget)
        self.radio_recorders.addButton(self.radio_rec_am)
        self.radio_rec_am.setObjectName(u"radio_rec_am")
        sizePolicy.setHeightForWidth(self.radio_rec_am.sizePolicy().hasHeightForWidth())
        self.radio_rec_am.setSizePolicy(sizePolicy)

        self.horizontalLayout_3.addWidget(self.radio_rec_am)

        self.horizontalSpacer_3 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_3.addItem(self.horizontalSpacer_3)


        self.gridLayout.addLayout(self.horizontalLayout_3, 2, 0, 1, 4)

        self.checkbox_save_info = QCheckBox(self.layoutWidget)
        self.checkbox_save_info.setObjectName(u"checkbox_save_info")
        self.checkbox_save_info.setChecked(True)

        self.gridLayout.addWidget(self.checkbox_save_info, 9, 0, 1, 4)

        self.label_9 = QLabel(self.layoutWidget)
        self.label_9.setObjectName(u"label_9")
        sizePolicy2 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Maximum)
        sizePolicy2.setHorizontalStretch(0)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(self.label_9.sizePolicy().hasHeightForWidth())
        self.label_9.setSizePolicy(sizePolicy2)
        font1 = QFont()
        font1.setPointSize(11)
        font1.setBold(True)
        font1.setWeight(75)
        self.label_9.setFont(font1)

        self.gridLayout.addWidget(self.label_9, 4, 0, 1, 3)

        self.input_src_path = QLineEdit(self.layoutWidget)
        self.input_src_path.setObjectName(u"input_src_path")
        sizePolicy3 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Fixed)
        sizePolicy3.setHorizontalStretch(0)
        sizePolicy3.setVerticalStretch(0)
        sizePolicy3.setHeightForWidth(self.input_src_path.sizePolicy().hasHeightForWidth())
        self.input_src_path.setSizePolicy(sizePolicy3)
        self.input_src_path.setMaximumSize(QSize(16777215, 16777215))

        self.gridLayout.addWidget(self.input_src_path, 1, 0, 1, 3)

        self.radio_folder = QRadioButton(self.layoutWidget)
        self.radio_is_folder = QButtonGroup(FileImportWizard)
        self.radio_is_folder.setObjectName(u"radio_is_folder")
        self.radio_is_folder.addButton(self.radio_folder)
        self.radio_folder.setObjectName(u"radio_folder")
        sizePolicy.setHeightForWidth(self.radio_folder.sizePolicy().hasHeightForWidth())
        self.radio_folder.setSizePolicy(sizePolicy)
        self.radio_folder.setChecked(True)

        self.gridLayout.addWidget(self.radio_folder, 0, 0, 1, 1)

        self.checkbox_subfolders = QCheckBox(self.layoutWidget)
        self.checkbox_subfolders.setObjectName(u"checkbox_subfolders")
        sizePolicy3.setHeightForWidth(self.checkbox_subfolders.sizePolicy().hasHeightForWidth())
        self.checkbox_subfolders.setSizePolicy(sizePolicy3)
        self.checkbox_subfolders.setChecked(True)

        self.gridLayout.addWidget(self.checkbox_subfolders, 0, 2, 1, 2)

        self.site_manual = QWidget(self.layoutWidget)
        self.site_manual.setObjectName(u"site_manual")
        sizePolicy2.setHeightForWidth(self.site_manual.sizePolicy().hasHeightForWidth())
        self.site_manual.setSizePolicy(sizePolicy2)
        self.horizontalLayout = QHBoxLayout(self.site_manual)
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.label_8 = QLabel(self.site_manual)
        self.label_8.setObjectName(u"label_8")
        sizePolicy.setHeightForWidth(self.label_8.sizePolicy().hasHeightForWidth())
        self.label_8.setSizePolicy(sizePolicy)

        self.horizontalLayout.addWidget(self.label_8)

        self.input_year = QLineEdit(self.site_manual)
        self.input_year.setObjectName(u"input_year")
        sizePolicy3.setHeightForWidth(self.input_year.sizePolicy().hasHeightForWidth())
        self.input_year.setSizePolicy(sizePolicy3)

        self.horizontalLayout.addWidget(self.input_year)

        self.label = QLabel(self.site_manual)
        self.label.setObjectName(u"label")
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)

        self.horizontalLayout.addWidget(self.label)

        self.input_site = QLineEdit(self.site_manual)
        self.input_site.setObjectName(u"input_site")
        sizePolicy3.setHeightForWidth(self.input_site.sizePolicy().hasHeightForWidth())
        self.input_site.setSizePolicy(sizePolicy3)

        self.horizontalLayout.addWidget(self.input_site)

        self.label_4 = QLabel(self.site_manual)
        self.label_4.setObjectName(u"label_4")
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)

        self.horizontalLayout.addWidget(self.label_4)

        self.input_plot = QLineEdit(self.site_manual)
        self.input_plot.setObjectName(u"input_plot")
        sizePolicy3.setHeightForWidth(self.input_plot.sizePolicy().hasHeightForWidth())
        self.input_plot.setSizePolicy(sizePolicy3)

        self.horizontalLayout.addWidget(self.input_plot)

        self.horizontalSpacer = QSpacerItem(100, 20, QSizePolicy.Minimum, QSizePolicy.Minimum)

        self.horizontalLayout.addItem(self.horizontalSpacer)


        self.gridLayout.addWidget(self.site_manual, 8, 0, 1, 4)

        self.site_auto = QWidget(self.layoutWidget)
        self.site_auto.setObjectName(u"site_auto")
        sizePolicy2.setHeightForWidth(self.site_auto.sizePolicy().hasHeightForWidth())
        self.site_auto.setSizePolicy(sizePolicy2)
        self.gridLayout_2 = QGridLayout(self.site_auto)
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.gridLayout_2.setSizeConstraint(QLayout.SetMinimumSize)
        self.gridLayout_2.setContentsMargins(9, 9, 9, 9)
        self.label_2 = QLabel(self.site_auto)
        self.label_2.setObjectName(u"label_2")
        sizePolicy4 = QSizePolicy(QSizePolicy.Maximum, QSizePolicy.Maximum)
        sizePolicy4.setHorizontalStretch(0)
        sizePolicy4.setVerticalStretch(0)
        sizePolicy4.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy4)

        self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.horizontalLayout_2.setSizeConstraint(QLayout.SetMinimumSize)
        self.label_5 = QLabel(self.site_auto)
        self.label_5.setObjectName(u"label_5")
        sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)

        self.horizontalLayout_2.addWidget(self.label_5)

        self.combo_idx_3 = QComboBox(self.site_auto)
        self.combo_idx_3.addItem("")
        self.combo_idx_3.addItem("")
        self.combo_idx_3.addItem("")
        self.combo_idx_3.setObjectName(u"combo_idx_3")
        sizePolicy.setHeightForWidth(self.combo_idx_3.sizePolicy().hasHeightForWidth())
        self.combo_idx_3.setSizePolicy(sizePolicy)

        self.horizontalLayout_2.addWidget(self.combo_idx_3)

        self.label_7 = QLabel(self.site_auto)
        self.label_7.setObjectName(u"label_7")
        sizePolicy.setHeightForWidth(self.label_7.sizePolicy().hasHeightForWidth())
        self.label_7.setSizePolicy(sizePolicy)

        self.horizontalLayout_2.addWidget(self.label_7)

        self.combo_idx_2 = QComboBox(self.site_auto)
        self.combo_idx_2.addItem("")
        self.combo_idx_2.addItem("")
        self.combo_idx_2.addItem("")
        self.combo_idx_2.setObjectName(u"combo_idx_2")
        sizePolicy.setHeightForWidth(self.combo_idx_2.sizePolicy().hasHeightForWidth())
        self.combo_idx_2.setSizePolicy(sizePolicy)

        self.horizontalLayout_2.addWidget(self.combo_idx_2)

        self.label_6 = QLabel(self.site_auto)
        self.label_6.setObjectName(u"label_6")
        sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
        self.label_6.setSizePolicy(sizePolicy)

        self.horizontalLayout_2.addWidget(self.label_6)

        self.combo_idx_1 = QComboBox(self.site_auto)
        self.combo_idx_1.addItem("")
        self.combo_idx_1.addItem("")
        self.combo_idx_1.addItem("")
        self.combo_idx_1.setObjectName(u"combo_idx_1")
        sizePolicy.setHeightForWidth(self.combo_idx_1.sizePolicy().hasHeightForWidth())
        self.combo_idx_1.setSizePolicy(sizePolicy)

        self.horizontalLayout_2.addWidget(self.combo_idx_1)

        self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_2.addItem(self.horizontalSpacer_2)


        self.gridLayout_2.addLayout(self.horizontalLayout_2, 2, 0, 1, 1)


        self.gridLayout.addWidget(self.site_auto, 7, 0, 1, 4)

        self.radio_site_manual = QRadioButton(self.layoutWidget)
        self.radio_site_info.addButton(self.radio_site_manual)
        self.radio_site_manual.setObjectName(u"radio_site_manual")
        self.radio_site_manual.setEnabled(False)

        self.gridLayout.addWidget(self.radio_site_manual, 6, 0, 1, 4)

        self.radio_file = QRadioButton(self.layoutWidget)
        self.radio_is_folder.addButton(self.radio_file)
        self.radio_file.setObjectName(u"radio_file")
        sizePolicy3.setHeightForWidth(self.radio_file.sizePolicy().hasHeightForWidth())
        self.radio_file.setSizePolicy(sizePolicy3)
        self.radio_file.setMinimumSize(QSize(0, 0))
        self.radio_file.setChecked(False)

        self.gridLayout.addWidget(self.radio_file, 0, 1, 1, 1)

        self.checkbox_load_info = QCheckBox(self.layoutWidget)
        self.checkbox_load_info.setObjectName(u"checkbox_load_info")
        self.checkbox_load_info.setChecked(True)

        self.gridLayout.addWidget(self.checkbox_load_info, 10, 0, 1, 4)

        self.btn_browse_src = QPushButton(self.layoutWidget)
        self.btn_browse_src.setObjectName(u"btn_browse_src")
        sizePolicy.setHeightForWidth(self.btn_browse_src.sizePolicy().hasHeightForWidth())
        self.btn_browse_src.setSizePolicy(sizePolicy)

        self.gridLayout.addWidget(self.btn_browse_src, 1, 3, 1, 1)

        FileImportWizard.addPage(self.page1)
        self.page2 = QWizardPage()
        self.page2.setObjectName(u"page2")
        self.gridLayoutWidget = QWidget(self.page2)
        self.gridLayoutWidget.setObjectName(u"gridLayoutWidget")
        self.gridLayoutWidget.setGeometry(QRect(0, 0, 861, 501))
        self.gridLayout_3 = QGridLayout(self.gridLayoutWidget)
        self.gridLayout_3.setObjectName(u"gridLayout_3")
        self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
        self.lbl_status = QLabel(self.gridLayoutWidget)
        self.lbl_status.setObjectName(u"lbl_status")
        sizePolicy3.setHeightForWidth(self.lbl_status.sizePolicy().hasHeightForWidth())
        self.lbl_status.setSizePolicy(sizePolicy3)

        self.gridLayout_3.addWidget(self.lbl_status, 2, 0, 1, 1)

        self.verticalSpacer = QSpacerItem(20, 10, QSizePolicy.Minimum, QSizePolicy.Fixed)

        self.gridLayout_3.addItem(self.verticalSpacer, 0, 0, 1, 1)

        self.table_files = DataFrameTableView(self.gridLayoutWidget)
        self.table_files.setObjectName(u"table_files")
        self.table_files.setSizeAdjustPolicy(QAbstractScrollArea.AdjustToContents)
        self.table_files.setSelectionMode(QAbstractItemView.ContiguousSelection)
        self.table_files.setSortingEnabled(True)
        self.table_files.horizontalHeader().setStretchLastSection(True)
        self.table_files.verticalHeader().setVisible(False)

        self.gridLayout_3.addWidget(self.table_files, 3, 0, 1, 1)

        FileImportWizard.addPage(self.page2)
        self.page3 = QWizardPage()
        self.page3.setObjectName(u"page3")
        self.gridLayoutWidget_2 = QWidget(self.page3)
        self.gridLayoutWidget_2.setObjectName(u"gridLayoutWidget_2")
        self.gridLayoutWidget_2.setGeometry(QRect(0, 0, 861, 543))
        self.gridLayout_4 = QGridLayout(self.gridLayoutWidget_2)
        self.gridLayout_4.setObjectName(u"gridLayout_4")
        self.gridLayout_4.setContentsMargins(0, 0, 0, 0)
        self.verticalSpacer_5 = QSpacerItem(20, 10, QSizePolicy.Minimum, QSizePolicy.Fixed)

        self.gridLayout_4.addItem(self.verticalSpacer_5, 1, 0, 1, 2)

        self.verticalSpacer_4 = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.gridLayout_4.addItem(self.verticalSpacer_4, 8, 0, 1, 2)

        self.checkbox_rename = QCheckBox(self.gridLayoutWidget_2)
        self.checkbox_rename.setObjectName(u"checkbox_rename")
        self.checkbox_rename.setChecked(True)

        self.gridLayout_4.addWidget(self.checkbox_rename, 3, 0, 1, 1)

        self.label_11 = QLabel(self.gridLayoutWidget_2)
        self.label_11.setObjectName(u"label_11")

        self.gridLayout_4.addWidget(self.label_11, 0, 0, 1, 2)

        self.move_options = QWidget(self.gridLayoutWidget_2)
        self.move_options.setObjectName(u"move_options")
        self.gridLayout_7 = QGridLayout(self.move_options)
        self.gridLayout_7.setObjectName(u"gridLayout_7")
        self.radio_new_folder = QRadioButton(self.move_options)
        self.radio_destination = QButtonGroup(FileImportWizard)
        self.radio_destination.setObjectName(u"radio_destination")
        self.radio_destination.addButton(self.radio_new_folder)
        self.radio_new_folder.setObjectName(u"radio_new_folder")
        self.radio_new_folder.setChecked(True)

        self.gridLayout_7.addWidget(self.radio_new_folder, 1, 0, 1, 1)

        self.radio_data_source = QRadioButton(self.move_options)
        self.radio_destination.addButton(self.radio_data_source)
        self.radio_data_source.setObjectName(u"radio_data_source")
        self.radio_data_source.setEnabled(False)
        self.radio_data_source.setChecked(False)

        self.gridLayout_7.addWidget(self.radio_data_source, 4, 0, 1, 1)

        self.combo_datasource = QComboBox(self.move_options)
        self.combo_datasource.setObjectName(u"combo_datasource")
        self.combo_datasource.setEnabled(False)

        self.gridLayout_7.addWidget(self.combo_datasource, 5, 0, 1, 4)

        self.label_12 = QLabel(self.move_options)
        self.label_12.setObjectName(u"label_12")

        self.gridLayout_7.addWidget(self.label_12, 0, 0, 1, 1)

        self.checkbox_overwrite = QCheckBox(self.move_options)
        self.checkbox_overwrite.setObjectName(u"checkbox_overwrite")
        self.checkbox_overwrite.setChecked(True)

        self.gridLayout_7.addWidget(self.checkbox_overwrite, 6, 0, 1, 1)

        self.btn_browse_dest = QPushButton(self.move_options)
        self.btn_browse_dest.setObjectName(u"btn_browse_dest")
        sizePolicy.setHeightForWidth(self.btn_browse_dest.sizePolicy().hasHeightForWidth())
        self.btn_browse_dest.setSizePolicy(sizePolicy)

        self.gridLayout_7.addWidget(self.btn_browse_dest, 2, 3, 1, 1)

        self.input_dest_path = QLineEdit(self.move_options)
        self.input_dest_path.setObjectName(u"input_dest_path")

        self.gridLayout_7.addWidget(self.input_dest_path, 2, 0, 1, 3)

        self.label_14 = QLabel(self.move_options)
        self.label_14.setObjectName(u"label_14")
        self.label_14.setEnabled(False)
        sizePolicy5 = QSizePolicy(QSizePolicy.Maximum, QSizePolicy.Preferred)
        sizePolicy5.setHorizontalStretch(0)
        sizePolicy5.setVerticalStretch(0)
        sizePolicy5.setHeightForWidth(self.label_14.sizePolicy().hasHeightForWidth())
        self.label_14.setSizePolicy(sizePolicy5)

        self.gridLayout_7.addWidget(self.label_14, 3, 1, 1, 1)

        self.input_datasource = QLineEdit(self.move_options)
        self.input_datasource.setObjectName(u"input_datasource")
        self.input_datasource.setEnabled(False)

        self.gridLayout_7.addWidget(self.input_datasource, 3, 2, 1, 1)

        self.checkbox_new_datasource = QCheckBox(self.move_options)
        self.checkbox_new_datasource.setObjectName(u"checkbox_new_datasource")
        self.checkbox_new_datasource.setEnabled(False)
        sizePolicy.setHeightForWidth(self.checkbox_new_datasource.sizePolicy().hasHeightForWidth())
        self.checkbox_new_datasource.setSizePolicy(sizePolicy)

        self.gridLayout_7.addWidget(self.checkbox_new_datasource, 3, 0, 1, 1)


        self.gridLayout_4.addWidget(self.move_options, 6, 0, 1, 2)

        self.horizontalSpacer_4 = QSpacerItem(40, 20, QSizePolicy.Preferred, QSizePolicy.Minimum)

        self.gridLayout_4.addItem(self.horizontalSpacer_4, 3, 1, 1, 1)

        self.checkbox_move = QCheckBox(self.gridLayoutWidget_2)
        self.checkbox_move.setObjectName(u"checkbox_move")
        self.checkbox_move.setChecked(False)

        self.gridLayout_4.addWidget(self.checkbox_move, 5, 0, 1, 1)

        self.checkbox_link = QCheckBox(self.gridLayoutWidget_2)
        self.checkbox_link.setObjectName(u"checkbox_link")
        self.checkbox_link.setChecked(True)

        self.gridLayout_4.addWidget(self.checkbox_link, 4, 0, 1, 1)

        self.compression_options = QGroupBox(self.gridLayoutWidget_2)
        self.compression_options.setObjectName(u"compression_options")
        self.compression_options.setEnabled(True)
        self.gridLayout_5 = QGridLayout(self.compression_options)
        self.gridLayout_5.setObjectName(u"gridLayout_5")
        self.radio_zip = QRadioButton(self.compression_options)
        self.radio_compression = QButtonGroup(FileImportWizard)
        self.radio_compression.setObjectName(u"radio_compression")
        self.radio_compression.addButton(self.radio_zip)
        self.radio_zip.setObjectName(u"radio_zip")

        self.gridLayout_5.addWidget(self.radio_zip, 2, 2, 1, 1)

        self.radio_7z = QRadioButton(self.compression_options)
        self.radio_compression.addButton(self.radio_7z)
        self.radio_7z.setObjectName(u"radio_7z")
        self.radio_7z.setChecked(True)

        self.gridLayout_5.addWidget(self.radio_7z, 2, 1, 1, 1)

        self.label_10 = QLabel(self.compression_options)
        self.label_10.setObjectName(u"label_10")
        sizePolicy5.setHeightForWidth(self.label_10.sizePolicy().hasHeightForWidth())
        self.label_10.setSizePolicy(sizePolicy5)

        self.gridLayout_5.addWidget(self.label_10, 2, 0, 1, 1)

        self.radio_tar = QRadioButton(self.compression_options)
        self.radio_compression.addButton(self.radio_tar)
        self.radio_tar.setObjectName(u"radio_tar")

        self.gridLayout_5.addWidget(self.radio_tar, 2, 3, 1, 1)

        self.checkbox_archive = QCheckBox(self.compression_options)
        self.checkbox_archive.setObjectName(u"checkbox_archive")

        self.gridLayout_5.addWidget(self.checkbox_archive, 1, 0, 1, 1)

        self.checkbox_flac = QCheckBox(self.compression_options)
        self.checkbox_flac.setObjectName(u"checkbox_flac")

        self.gridLayout_5.addWidget(self.checkbox_flac, 0, 0, 1, 1)


        self.gridLayout_4.addWidget(self.compression_options, 7, 0, 1, 2)

        self.checkbox_reimport = QCheckBox(self.gridLayoutWidget_2)
        self.checkbox_reimport.setObjectName(u"checkbox_reimport")

        self.gridLayout_4.addWidget(self.checkbox_reimport, 2, 0, 1, 1)

        FileImportWizard.addPage(self.page3)
        self.page4 = QWizardPage()
        self.page4.setObjectName(u"page4")
        self.gridLayoutWidget_3 = QWidget(self.page4)
        self.gridLayoutWidget_3.setObjectName(u"gridLayoutWidget_3")
        self.gridLayoutWidget_3.setGeometry(QRect(9, -1, 851, 531))
        self.gridLayout_8 = QGridLayout(self.gridLayoutWidget_3)
        self.gridLayout_8.setObjectName(u"gridLayout_8")
        self.gridLayout_8.setContentsMargins(0, 0, 0, 0)
        self.label_13 = QLabel(self.gridLayoutWidget_3)
        self.label_13.setObjectName(u"label_13")

        self.gridLayout_8.addWidget(self.label_13, 0, 0, 1, 1)

        self.verticalSpacer_6 = QSpacerItem(20, 20, QSizePolicy.Minimum, QSizePolicy.Fixed)

        self.gridLayout_8.addItem(self.verticalSpacer_6, 1, 0, 1, 1)

        self.details_console = QTextEdit(self.gridLayoutWidget_3)
        self.details_console.setObjectName(u"details_console")

        self.gridLayout_8.addWidget(self.details_console, 2, 0, 1, 1)

        FileImportWizard.addPage(self.page4)
        self.page5 = QWizardPage()
        self.page5.setObjectName(u"page5")
        self.gridLayoutWidget_4 = QWidget(self.page5)
        self.gridLayoutWidget_4.setObjectName(u"gridLayoutWidget_4")
        self.gridLayoutWidget_4.setGeometry(QRect(0, 0, 861, 521))
        self.gridLayout_6 = QGridLayout(self.gridLayoutWidget_4)
        self.gridLayout_6.setObjectName(u"gridLayout_6")
        self.gridLayout_6.setContentsMargins(0, 0, 0, 0)
        self.lbl_removing = QLabel(self.gridLayoutWidget_4)
        self.lbl_removing.setObjectName(u"lbl_removing")
        self.lbl_removing.setEnabled(False)
        self.lbl_removing.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)

        self.gridLayout_6.addWidget(self.lbl_removing, 1, 1, 1, 2)

        self.horizontalSpacer_5 = QSpacerItem(100, 20, QSizePolicy.Fixed, QSizePolicy.Minimum)

        self.gridLayout_6.addItem(self.horizontalSpacer_5, 0, 0, 1, 1)

        self.checkbox_done = QCheckBox(self.gridLayoutWidget_4)
        self.checkbox_done.setObjectName(u"checkbox_done")

        self.gridLayout_6.addWidget(self.checkbox_done, 8, 1, 1, 1)

        self.spacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Preferred)

        self.gridLayout_6.addItem(self.spacer, 7, 1, 1, 2)

        self.lbl_renaming = QLabel(self.gridLayoutWidget_4)
        self.lbl_renaming.setObjectName(u"lbl_renaming")
        self.lbl_renaming.setEnabled(False)

        self.gridLayout_6.addWidget(self.lbl_renaming, 2, 1, 1, 2)

        self.lbl_converting = QLabel(self.gridLayoutWidget_4)
        self.lbl_converting.setObjectName(u"lbl_converting")
        self.lbl_converting.setLayoutDirection(Qt.LeftToRight)
        self.lbl_converting.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)

        self.gridLayout_6.addWidget(self.lbl_converting, 0, 1, 1, 2)

        self.progress_bar = QProgressBar(self.gridLayoutWidget_4)
        self.progress_bar.setObjectName(u"progress_bar")
        self.progress_bar.setValue(0)

        self.gridLayout_6.addWidget(self.progress_bar, 5, 1, 1, 2)

        self.verticalSpacer_8 = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Fixed)

        self.gridLayout_6.addItem(self.verticalSpacer_8, 4, 1, 1, 2)

        self.log_console = QTextEdit(self.gridLayoutWidget_4)
        self.log_console.setObjectName(u"log_console")

        self.gridLayout_6.addWidget(self.log_console, 6, 1, 1, 1)

        self.lbl_saving = QLabel(self.gridLayoutWidget_4)
        self.lbl_saving.setObjectName(u"lbl_saving")
        self.lbl_saving.setEnabled(False)

        self.gridLayout_6.addWidget(self.lbl_saving, 3, 1, 1, 1)

        FileImportWizard.addPage(self.page5)

        self.retranslateUi(FileImportWizard)

        self.combo_idx_2.setCurrentIndex(1)
        self.combo_idx_1.setCurrentIndex(2)


        QMetaObject.connectSlotsByName(FileImportWizard)
    # setupUi

    def retranslateUi(self, FileImportWizard):
        FileImportWizard.setWindowTitle(QCoreApplication.translate("FileImportWizard", u"File import wizard", None))
        self.page1.setTitle(QCoreApplication.translate("FileImportWizard", u"Import files in the database", None))
        self.page1.setSubTitle(QCoreApplication.translate("FileImportWizard", u"Please select the files you want to import.", None))
        self.radio_site_auto.setText(QCoreApplication.translate("FileImportWizard", u"Automatically detect information from folder hierarchy. The 3 folders above the audio files will be used to extract the information", None))
        self.label_3.setText(QCoreApplication.translate("FileImportWizard", u"File type:", None))
        self.radio_rec_auto.setText(QCoreApplication.translate("FileImportWizard", u"Auto-detect", None))
        self.radio_rec_sm.setText(QCoreApplication.translate("FileImportWizard", u"SongMeter", None))
        self.radio_rec_am.setText(QCoreApplication.translate("FileImportWizard", u"Audiomoth", None))
        self.checkbox_save_info.setText(QCoreApplication.translate("FileImportWizard", u"Generate information file when parsing directories to allow for fast loading of directories", None))
        self.label_9.setText(QCoreApplication.translate("FileImportWizard", u"Each file requires information about site, year and plot:", None))
        self.radio_folder.setText(QCoreApplication.translate("FileImportWizard", u"Import a folder", None))
        self.checkbox_subfolders.setText(QCoreApplication.translate("FileImportWizard", u"Include subfolders", None))
        self.label_8.setText(QCoreApplication.translate("FileImportWizard", u"Year", None))
        self.label.setText(QCoreApplication.translate("FileImportWizard", u"Site", None))
        self.label_4.setText(QCoreApplication.translate("FileImportWizard", u"Plot", None))
        self.label_2.setText(QCoreApplication.translate("FileImportWizard", u"Define the order in which the information is stocked on the hard drive starting with the topmost folder:", None))
        self.label_5.setText(QCoreApplication.translate("FileImportWizard", u"Top folder", None))
        self.combo_idx_3.setItemText(0, QCoreApplication.translate("FileImportWizard", u"Year", None))
        self.combo_idx_3.setItemText(1, QCoreApplication.translate("FileImportWizard", u"Site", None))
        self.combo_idx_3.setItemText(2, QCoreApplication.translate("FileImportWizard", u"Plot", None))

        self.label_7.setText(QCoreApplication.translate("FileImportWizard", u"Subfolder 1", None))
        self.combo_idx_2.setItemText(0, QCoreApplication.translate("FileImportWizard", u"Year", None))
        self.combo_idx_2.setItemText(1, QCoreApplication.translate("FileImportWizard", u"Site", None))
        self.combo_idx_2.setItemText(2, QCoreApplication.translate("FileImportWizard", u"Plot", None))

        self.label_6.setText(QCoreApplication.translate("FileImportWizard", u"Subfolder 2", None))
        self.combo_idx_1.setItemText(0, QCoreApplication.translate("FileImportWizard", u"Year", None))
        self.combo_idx_1.setItemText(1, QCoreApplication.translate("FileImportWizard", u"Site", None))
        self.combo_idx_1.setItemText(2, QCoreApplication.translate("FileImportWizard", u"Plot", None))

        self.radio_site_manual.setText(QCoreApplication.translate("FileImportWizard", u"Manually enter the relevant information (does not work with folder import with subfolders as multiple sites could be imported this way)", None))
        self.radio_file.setText(QCoreApplication.translate("FileImportWizard", u"Import files", None))
        self.checkbox_load_info.setText(QCoreApplication.translate("FileImportWizard", u"Load information file instead of parsing all files if present", None))
        self.btn_browse_src.setText(QCoreApplication.translate("FileImportWizard", u"Browse", None))
        self.page2.setTitle(QCoreApplication.translate("FileImportWizard", u"Review selected files", None))
        self.page2.setSubTitle(QCoreApplication.translate("FileImportWizard", u"Here you can see what files have been selected and what information will be imported into the database", None))
        self.lbl_status.setText("")
        self.page3.setTitle(QCoreApplication.translate("FileImportWizard", u"File management options", None))
        self.page3.setSubTitle(QCoreApplication.translate("FileImportWizard", u"Please select additional import options", None))
        self.checkbox_rename.setText(QCoreApplication.translate("FileImportWizard", u"Rename files (files will be renamed with the following convention: SITE-ABBREV_PLOT_yyyy-MM-dd_hh:mm:ss)", None))
        self.label_11.setText(QCoreApplication.translate("FileImportWizard", u"<html><head/><body><p><span style=\" font-weight:600;\">IMPORTANT</span>: All .wac files (SongMeter SM2 files) will be converted to .wav files to allow for easy analysis. By default, these files will be<br/>created in the original folder and the original .wac files will be compressed in a zip archive.</p></body></html>", None))
        self.radio_new_folder.setText(QCoreApplication.translate("FileImportWizard", u"Select new destination folder", None))
        self.radio_data_source.setText(QCoreApplication.translate("FileImportWizard", u"Select existing data source", None))
        self.label_12.setText(QCoreApplication.translate("FileImportWizard", u"<b>Select destination folder</b>", None))
        self.checkbox_overwrite.setText(QCoreApplication.translate("FileImportWizard", u"Overwrite existing files", None))
        self.btn_browse_dest.setText(QCoreApplication.translate("FileImportWizard", u"Browse...", None))
        self.label_14.setText(QCoreApplication.translate("FileImportWizard", u"Data source name", None))
        self.checkbox_new_datasource.setText(QCoreApplication.translate("FileImportWizard", u"Add new destination as data source", None))
        self.checkbox_move.setText(QCoreApplication.translate("FileImportWizard", u"Move files", None))
        self.checkbox_link.setText(QCoreApplication.translate("FileImportWizard", u"Create links to files instead of renaming", None))
        self.compression_options.setTitle(QCoreApplication.translate("FileImportWizard", u"Compression options", None))
        self.radio_zip.setText(QCoreApplication.translate("FileImportWizard", u"ZIP", None))
        self.radio_7z.setText(QCoreApplication.translate("FileImportWizard", u"7z (Recommended)", None))
        self.label_10.setText(QCoreApplication.translate("FileImportWizard", u"Use the following compression format:", None))
        self.radio_tar.setText(QCoreApplication.translate("FileImportWizard", u"tar", None))
        self.checkbox_archive.setText(QCoreApplication.translate("FileImportWizard", u"Create a compressed archive of the files", None))
        self.checkbox_flac.setText(QCoreApplication.translate("FileImportWizard", u"Compress wav files to FLAC", None))
        self.checkbox_reimport.setText(QCoreApplication.translate("FileImportWizard", u"Re-import files that already exist in database", None))
        self.page4.setTitle(QCoreApplication.translate("FileImportWizard", u"Summary", None))
        self.page4.setSubTitle(QCoreApplication.translate("FileImportWizard", u"Please review the selected options", None))
        self.label_13.setText(QCoreApplication.translate("FileImportWizard", u"<html><head/><body><p>Please make sure everything is in order before clicking on <span style=\" font-style:italic;\">Finish</span> because changes <span style=\" font-weight:600;\">WILL BE IRREVERSIBLE !!!</span></p></body></html>", None))
        self.page5.setTitle(QCoreApplication.translate("FileImportWizard", u"Performing file manipulation and import", None))
        self.page5.setSubTitle(QCoreApplication.translate("FileImportWizard", u"We are now converting/moving/renaming and importing the selected files", None))
        self.lbl_removing.setText(QCoreApplication.translate("FileImportWizard", u"Compressing and removing wac files", None))
        self.checkbox_done.setText("")
        self.lbl_renaming.setText(QCoreApplication.translate("FileImportWizard", u"Renaming and moving audio files", None))
        self.lbl_converting.setText(QCoreApplication.translate("FileImportWizard", u"Converting WAC files to wav", None))
        self.lbl_saving.setText(QCoreApplication.translate("FileImportWizard", u"Saving files in database", None))