class Ui_TabularDisplay(object): def setupUi(self, TabularDisplay): TabularDisplay.setObjectName("TabularDisplay") TabularDisplay.resize(821, 618) self.gridLayout_2 = QtWidgets.QGridLayout(TabularDisplay) self.gridLayout_2.setObjectName("gridLayout_2") self.tree = QtWidgets.QTreeWidget(TabularDisplay) font = QtGui.QFont() font.setFamily("Lucida Console") self.tree.setFont(font) self.tree.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) self.tree.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows) self.tree.setUniformRowHeights(True) self.tree.setAllColumnsShowFocus(True) self.tree.setObjectName("tree") self.tree.headerItem().setText(0, "1") self.tree.header().setHighlightSections(True) self.tree.header().setSortIndicatorShown(False) self.gridLayout_2.addWidget(self.tree, 0, 0, 1, 8) self.remove_prefix = QtWidgets.QCheckBox(TabularDisplay) self.remove_prefix.setObjectName("remove_prefix") self.gridLayout_2.addWidget(self.remove_prefix, 3, 6, 1, 1) self.prefix = QtWidgets.QComboBox(TabularDisplay) self.prefix.setMinimumSize(QtCore.QSize(200, 0)) self.prefix.setEditable(True) self.prefix.setObjectName("prefix") self.gridLayout_2.addWidget(self.prefix, 3, 7, 1, 2) self.groupBox = QtWidgets.QGroupBox(TabularDisplay) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.groupBox.sizePolicy().hasHeightForWidth()) self.groupBox.setSizePolicy(sizePolicy) self.groupBox.setMinimumSize(QtCore.QSize(0, 30)) self.groupBox.setObjectName("groupBox") self.gridLayout = QtWidgets.QGridLayout(self.groupBox) self.gridLayout.setContentsMargins(0, 0, 0, 0) self.gridLayout.setSpacing(0) self.gridLayout.setObjectName("gridLayout") self.query = QtWidgets.QTextEdit(self.groupBox) sizePolicy = QtWidgets.QSizePolicy( QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.query.sizePolicy().hasHeightForWidth()) self.query.setSizePolicy(sizePolicy) self.query.setMinimumSize(QtCore.QSize(0, 7)) self.query.setMaximumSize(QtCore.QSize(16777215, 150)) font = QtGui.QFont() font.setFamily("Lucida Console") self.query.setFont(font) self.query.setStyleSheet("background-color: rgb(186, 186, 186);") self.query.setReadOnly(True) self.query.setObjectName("query") self.gridLayout.addWidget(self.query, 0, 0, 1, 1) self.gridLayout_2.addWidget(self.groupBox, 5, 0, 1, 9) self.sort = QtWidgets.QCheckBox(TabularDisplay) self.sort.setObjectName("sort") self.gridLayout_2.addWidget(self.sort, 2, 6, 1, 1) self.filters = MinimalListWidget(TabularDisplay) self.filters.setMaximumSize(QtCore.QSize(16777215, 150)) self.filters.setObjectName("filters") self.gridLayout_2.addWidget(self.filters, 4, 0, 1, 9) self.add_filter_btn = QtWidgets.QPushButton(TabularDisplay) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/plus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.add_filter_btn.setIcon(icon) self.add_filter_btn.setObjectName("add_filter_btn") self.gridLayout_2.addWidget(self.add_filter_btn, 3, 1, 1, 1) spacerItem = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem, 3, 2, 1, 2) self.time_as_date = QtWidgets.QCheckBox(TabularDisplay) self.time_as_date.setObjectName("time_as_date") self.gridLayout_2.addWidget(self.time_as_date, 2, 7, 1, 2) spacerItem1 = QtWidgets.QSpacerItem(200, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem1, 3, 5, 1, 1) self.apply_filters_btn = QtWidgets.QPushButton(TabularDisplay) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/filter.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.apply_filters_btn.setIcon(icon1) self.apply_filters_btn.setObjectName("apply_filters_btn") self.gridLayout_2.addWidget(self.apply_filters_btn, 3, 4, 1, 1) self.tree_scroll = QtWidgets.QScrollBar(TabularDisplay) self.tree_scroll.setMaximum(9999) self.tree_scroll.setSingleStep(1) self.tree_scroll.setPageStep(10) self.tree_scroll.setOrientation(QtCore.Qt.Vertical) self.tree_scroll.setInvertedAppearance(False) self.tree_scroll.setObjectName("tree_scroll") self.gridLayout_2.addWidget(self.tree_scroll, 0, 8, 1, 1) self.format_selection = QtWidgets.QComboBox(TabularDisplay) self.format_selection.setObjectName("format_selection") self.format_selection.addItem("") self.format_selection.addItem("") self.format_selection.addItem("") self.gridLayout_2.addWidget(self.format_selection, 2, 1, 1, 1) self.gridLayout_2.setRowStretch(0, 5) self.retranslateUi(TabularDisplay) QtCore.QMetaObject.connectSlotsByName(TabularDisplay) def retranslateUi(self, TabularDisplay): _translate = QtCore.QCoreApplication.translate TabularDisplay.setWindowTitle(_translate("TabularDisplay", "Form")) self.remove_prefix.setText( _translate("TabularDisplay", "Remove prefix")) self.groupBox.setTitle( _translate("TabularDisplay", "pandas DataFrame query")) self.sort.setText(_translate("TabularDisplay", "Enable column sorting")) self.add_filter_btn.setText( _translate("TabularDisplay", "Add new filter")) self.time_as_date.setText(_translate("TabularDisplay", "Time as date")) self.apply_filters_btn.setText( _translate("TabularDisplay", "Apply filters")) self.format_selection.setItemText(0, _translate("TabularDisplay", "phys")) self.format_selection.setItemText(1, _translate("TabularDisplay", "hex")) self.format_selection.setItemText(2, _translate("TabularDisplay", "bin"))
class Ui_batch_widget(object): def setupUi(self, batch_widget): batch_widget.setObjectName("batch_widget") batch_widget.resize(707, 779) self.gridLayout_9 = QtWidgets.QGridLayout(batch_widget) self.gridLayout_9.setObjectName("gridLayout_9") self.splitter = QtWidgets.QSplitter(batch_widget) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName("splitter") self.aspects = QtWidgets.QTabWidget(self.splitter) self.aspects.setTabPosition(QtWidgets.QTabWidget.West) self.aspects.setDocumentMode(False) self.aspects.setObjectName("aspects") self.concatenate_tab = QtWidgets.QWidget() self.concatenate_tab.setObjectName("concatenate_tab") self.gridLayout_7 = QtWidgets.QGridLayout(self.concatenate_tab) self.gridLayout_7.setObjectName("gridLayout_7") self.concatenate_sync = QtWidgets.QCheckBox(self.concatenate_tab) self.concatenate_sync.setChecked(True) self.concatenate_sync.setObjectName("concatenate_sync") self.gridLayout_7.addWidget(self.concatenate_sync, 0, 0, 1, 2) self.concatenate_add_samples_origin = QtWidgets.QCheckBox(self.concatenate_tab) self.concatenate_add_samples_origin.setChecked(True) self.concatenate_add_samples_origin.setObjectName("concatenate_add_samples_origin") self.gridLayout_7.addWidget(self.concatenate_add_samples_origin, 1, 0, 1, 2) self.label_11 = QtWidgets.QLabel(self.concatenate_tab) self.label_11.setObjectName("label_11") self.gridLayout_7.addWidget(self.label_11, 2, 0, 1, 1) self.concatenate_format = QtWidgets.QComboBox(self.concatenate_tab) self.concatenate_format.setObjectName("concatenate_format") self.gridLayout_7.addWidget(self.concatenate_format, 2, 1, 1, 1) self.line_5 = QtWidgets.QFrame(self.concatenate_tab) self.line_5.setFrameShape(QtWidgets.QFrame.HLine) self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_5.setObjectName("line_5") self.gridLayout_7.addWidget(self.line_5, 3, 0, 1, 2) self.label_12 = QtWidgets.QLabel(self.concatenate_tab) self.label_12.setObjectName("label_12") self.gridLayout_7.addWidget(self.label_12, 4, 0, 1, 1) self.concatenate_compression = QtWidgets.QComboBox(self.concatenate_tab) self.concatenate_compression.setObjectName("concatenate_compression") self.gridLayout_7.addWidget(self.concatenate_compression, 4, 1, 1, 1) self.concatenate_split = QtWidgets.QCheckBox(self.concatenate_tab) self.concatenate_split.setChecked(True) self.concatenate_split.setObjectName("concatenate_split") self.gridLayout_7.addWidget(self.concatenate_split, 5, 0, 1, 1) self.line_6 = QtWidgets.QFrame(self.concatenate_tab) self.line_6.setFrameShape(QtWidgets.QFrame.HLine) self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_6.setObjectName("line_6") self.gridLayout_7.addWidget(self.line_6, 7, 0, 1, 2) self.concatenate_split_size = QtWidgets.QDoubleSpinBox(self.concatenate_tab) self.concatenate_split_size.setDecimals(3) self.concatenate_split_size.setMaximum(4.0) self.concatenate_split_size.setObjectName("concatenate_split_size") self.gridLayout_7.addWidget(self.concatenate_split_size, 6, 1, 1, 1) self.label_10 = QtWidgets.QLabel(self.concatenate_tab) self.label_10.setObjectName("label_10") self.gridLayout_7.addWidget(self.label_10, 6, 0, 1, 1) self.concatenate_btn = QtWidgets.QPushButton(self.concatenate_tab) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/plus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.concatenate_btn.setIcon(icon) self.concatenate_btn.setObjectName("concatenate_btn") self.gridLayout_7.addWidget(self.concatenate_btn, 9, 1, 1, 1) spacerItem = QtWidgets.QSpacerItem(20, 502, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_7.addItem(spacerItem, 8, 1, 1, 1) self.aspects.addTab(self.concatenate_tab, icon, "") self.convert_tab = QtWidgets.QWidget() self.convert_tab.setObjectName("convert_tab") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.convert_tab) self.verticalLayout_3.setObjectName("verticalLayout_3") self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setContentsMargins(5, 5, 5, 5) self.gridLayout_2.setObjectName("gridLayout_2") self.label_5 = QtWidgets.QLabel(self.convert_tab) self.label_5.setObjectName("label_5") self.gridLayout_2.addWidget(self.label_5, 4, 0, 1, 1) self.convert_format = QtWidgets.QComboBox(self.convert_tab) self.convert_format.setObjectName("convert_format") self.gridLayout_2.addWidget(self.convert_format, 0, 1, 1, 1) self.line = QtWidgets.QFrame(self.convert_tab) self.line.setFrameShape(QtWidgets.QFrame.HLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.gridLayout_2.addWidget(self.line, 1, 0, 1, 2) self.convert_compression = QtWidgets.QComboBox(self.convert_tab) self.convert_compression.setObjectName("convert_compression") self.gridLayout_2.addWidget(self.convert_compression, 2, 1, 1, 1) self.convert_split = QtWidgets.QCheckBox(self.convert_tab) self.convert_split.setChecked(True) self.convert_split.setObjectName("convert_split") self.gridLayout_2.addWidget(self.convert_split, 3, 0, 1, 1) self.convert_split_size = QtWidgets.QDoubleSpinBox(self.convert_tab) self.convert_split_size.setDecimals(3) self.convert_split_size.setMaximum(4.0) self.convert_split_size.setObjectName("convert_split_size") self.gridLayout_2.addWidget(self.convert_split_size, 4, 1, 1, 1) self.label_2 = QtWidgets.QLabel(self.convert_tab) self.label_2.setObjectName("label_2") self.gridLayout_2.addWidget(self.label_2, 0, 0, 1, 1) self.label_3 = QtWidgets.QLabel(self.convert_tab) self.label_3.setObjectName("label_3") self.gridLayout_2.addWidget(self.label_3, 2, 0, 1, 1) self.line_2 = QtWidgets.QFrame(self.convert_tab) self.line_2.setFrameShape(QtWidgets.QFrame.HLine) self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_2.setObjectName("line_2") self.gridLayout_2.addWidget(self.line_2, 5, 0, 1, 2) self.convert_btn = QtWidgets.QPushButton(self.convert_tab) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/convert.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.convert_btn.setIcon(icon1) self.convert_btn.setObjectName("convert_btn") self.gridLayout_2.addWidget(self.convert_btn, 7, 1, 1, 1) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem1, 6, 1, 1, 1) self.verticalLayout_3.addLayout(self.gridLayout_2) self.aspects.addTab(self.convert_tab, icon1, "") self.cut_tab = QtWidgets.QWidget() self.cut_tab.setObjectName("cut_tab") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.cut_tab) self.verticalLayout_4.setObjectName("verticalLayout_4") self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setContentsMargins(5, 5, 5, 5) self.gridLayout_3.setObjectName("gridLayout_3") self.label_6 = QtWidgets.QLabel(self.cut_tab) self.label_6.setObjectName("label_6") self.gridLayout_3.addWidget(self.label_6, 6, 0, 1, 1) self.label_15 = QtWidgets.QLabel(self.cut_tab) self.label_15.setObjectName("label_15") self.gridLayout_3.addWidget(self.label_15, 5, 0, 1, 1) self.cut_format = QtWidgets.QComboBox(self.cut_tab) self.cut_format.setObjectName("cut_format") self.gridLayout_3.addWidget(self.cut_format, 5, 1, 1, 1) self.label_13 = QtWidgets.QLabel(self.cut_tab) self.label_13.setObjectName("label_13") self.gridLayout_3.addWidget(self.label_13, 0, 0, 1, 1) self.cut_time_from_zero = QtWidgets.QCheckBox(self.cut_tab) self.cut_time_from_zero.setObjectName("cut_time_from_zero") self.gridLayout_3.addWidget(self.cut_time_from_zero, 2, 0, 1, 2) self.whence = QtWidgets.QCheckBox(self.cut_tab) self.whence.setObjectName("whence") self.gridLayout_3.addWidget(self.whence, 3, 0, 1, 2) self.cut_stop = QtWidgets.QDoubleSpinBox(self.cut_tab) self.cut_stop.setDecimals(6) self.cut_stop.setMinimum(-999999.0) self.cut_stop.setMaximum(999999.999999) self.cut_stop.setObjectName("cut_stop") self.gridLayout_3.addWidget(self.cut_stop, 1, 1, 1, 1) self.cut_split = QtWidgets.QCheckBox(self.cut_tab) self.cut_split.setChecked(True) self.cut_split.setObjectName("cut_split") self.gridLayout_3.addWidget(self.cut_split, 7, 0, 1, 1) self.cut_start = QtWidgets.QDoubleSpinBox(self.cut_tab) self.cut_start.setDecimals(6) self.cut_start.setMinimum(-999999.0) self.cut_start.setMaximum(999999.999999) self.cut_start.setObjectName("cut_start") self.gridLayout_3.addWidget(self.cut_start, 0, 1, 1, 1) self.label_14 = QtWidgets.QLabel(self.cut_tab) self.label_14.setObjectName("label_14") self.gridLayout_3.addWidget(self.label_14, 1, 0, 1, 1) self.cut_split_size = QtWidgets.QDoubleSpinBox(self.cut_tab) self.cut_split_size.setMaximum(4.0) self.cut_split_size.setObjectName("cut_split_size") self.gridLayout_3.addWidget(self.cut_split_size, 8, 1, 1, 1) self.cut_compression = QtWidgets.QComboBox(self.cut_tab) self.cut_compression.setObjectName("cut_compression") self.gridLayout_3.addWidget(self.cut_compression, 6, 1, 1, 1) self.line_3 = QtWidgets.QFrame(self.cut_tab) self.line_3.setFrameShape(QtWidgets.QFrame.HLine) self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_3.setObjectName("line_3") self.gridLayout_3.addWidget(self.line_3, 4, 0, 1, 2) self.line_4 = QtWidgets.QFrame(self.cut_tab) self.line_4.setFrameShape(QtWidgets.QFrame.HLine) self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_4.setObjectName("line_4") self.gridLayout_3.addWidget(self.line_4, 9, 0, 1, 2) self.label_7 = QtWidgets.QLabel(self.cut_tab) self.label_7.setObjectName("label_7") self.gridLayout_3.addWidget(self.label_7, 8, 0, 1, 1) spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_3.addItem(spacerItem2, 10, 1, 1, 1) self.cut_btn = QtWidgets.QPushButton(self.cut_tab) icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(":/cut.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.cut_btn.setIcon(icon2) self.cut_btn.setObjectName("cut_btn") self.gridLayout_3.addWidget(self.cut_btn, 11, 1, 1, 1) self.verticalLayout_4.addLayout(self.gridLayout_3) self.aspects.addTab(self.cut_tab, icon2, "") self.export_tab = QtWidgets.QWidget() self.export_tab.setObjectName("export_tab") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.export_tab) self.verticalLayout_7.setObjectName("verticalLayout_7") self.gridLayout_6 = QtWidgets.QGridLayout() self.gridLayout_6.setContentsMargins(5, 5, 5, 5) self.gridLayout_6.setObjectName("gridLayout_6") self.single_time_base = QtWidgets.QCheckBox(self.export_tab) self.single_time_base.setObjectName("single_time_base") self.gridLayout_6.addWidget(self.single_time_base, 2, 0, 1, 1) self.export_type = QtWidgets.QComboBox(self.export_tab) self.export_type.setObjectName("export_type") self.gridLayout_6.addWidget(self.export_type, 0, 1, 1, 1) self.use_display_names = QtWidgets.QCheckBox(self.export_tab) self.use_display_names.setObjectName("use_display_names") self.gridLayout_6.addWidget(self.use_display_names, 6, 0, 1, 1) self.mat_format = QtWidgets.QComboBox(self.export_tab) self.mat_format.setObjectName("mat_format") self.gridLayout_6.addWidget(self.mat_format, 11, 1, 1, 1) self.label_18 = QtWidgets.QLabel(self.export_tab) self.label_18.setObjectName("label_18") self.gridLayout_6.addWidget(self.label_18, 11, 0, 1, 1) self.time_from_zero = QtWidgets.QCheckBox(self.export_tab) self.time_from_zero.setObjectName("time_from_zero") self.gridLayout_6.addWidget(self.time_from_zero, 3, 0, 1, 1) self.reduce_memory_usage = QtWidgets.QCheckBox(self.export_tab) self.reduce_memory_usage.setObjectName("reduce_memory_usage") self.gridLayout_6.addWidget(self.reduce_memory_usage, 7, 0, 1, 1) self.export_btn = QtWidgets.QPushButton(self.export_tab) icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(":/export.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.export_btn.setIcon(icon3) self.export_btn.setObjectName("export_btn") self.gridLayout_6.addWidget(self.export_btn, 15, 1, 1, 1) self.export_raster = QtWidgets.QDoubleSpinBox(self.export_tab) self.export_raster.setDecimals(6) self.export_raster.setObjectName("export_raster") self.gridLayout_6.addWidget(self.export_raster, 4, 1, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_6.addItem(spacerItem3, 14, 1, 1, 1) self.label_20 = QtWidgets.QLabel(self.export_tab) self.label_20.setObjectName("label_20") self.gridLayout_6.addWidget(self.label_20, 9, 0, 1, 1) self.label_19 = QtWidgets.QLabel(self.export_tab) self.label_19.setObjectName("label_19") self.gridLayout_6.addWidget(self.label_19, 10, 0, 1, 1) self.export_compression = QtWidgets.QComboBox(self.export_tab) self.export_compression.setObjectName("export_compression") self.gridLayout_6.addWidget(self.export_compression, 9, 1, 1, 1) self.line_11 = QtWidgets.QFrame(self.export_tab) self.line_11.setFrameShape(QtWidgets.QFrame.HLine) self.line_11.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_11.setObjectName("line_11") self.gridLayout_6.addWidget(self.line_11, 1, 0, 1, 2) self.oned_as = QtWidgets.QComboBox(self.export_tab) self.oned_as.setObjectName("oned_as") self.gridLayout_6.addWidget(self.oned_as, 12, 1, 1, 1) self.label_21 = QtWidgets.QLabel(self.export_tab) self.label_21.setObjectName("label_21") self.gridLayout_6.addWidget(self.label_21, 0, 0, 1, 1) self.label_22 = QtWidgets.QLabel(self.export_tab) self.label_22.setObjectName("label_22") self.gridLayout_6.addWidget(self.label_22, 4, 0, 1, 1) self.line_9 = QtWidgets.QFrame(self.export_tab) self.line_9.setFrameShape(QtWidgets.QFrame.HLine) self.line_9.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_9.setObjectName("line_9") self.gridLayout_6.addWidget(self.line_9, 5, 0, 1, 2) self.line_10 = QtWidgets.QFrame(self.export_tab) self.line_10.setFrameShape(QtWidgets.QFrame.HLine) self.line_10.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_10.setObjectName("line_10") self.gridLayout_6.addWidget(self.line_10, 13, 0, 1, 2) self.empty_channels = QtWidgets.QComboBox(self.export_tab) self.empty_channels.setObjectName("empty_channels") self.gridLayout_6.addWidget(self.empty_channels, 10, 1, 1, 1) self.label_16 = QtWidgets.QLabel(self.export_tab) self.label_16.setObjectName("label_16") self.gridLayout_6.addWidget(self.label_16, 12, 0, 1, 1) self.time_as_date = QtWidgets.QCheckBox(self.export_tab) self.time_as_date.setObjectName("time_as_date") self.gridLayout_6.addWidget(self.time_as_date, 8, 0, 1, 1) self.verticalLayout_7.addLayout(self.gridLayout_6) self.aspects.addTab(self.export_tab, icon3, "") self.resample_tab = QtWidgets.QWidget() self.resample_tab.setObjectName("resample_tab") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.resample_tab) self.verticalLayout_5.setObjectName("verticalLayout_5") self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setContentsMargins(5, 5, 5, 5) self.gridLayout_4.setObjectName("gridLayout_4") self.label_8 = QtWidgets.QLabel(self.resample_tab) self.label_8.setObjectName("label_8") self.gridLayout_4.addWidget(self.label_8, 3, 0, 1, 1) self.resample_split_size = QtWidgets.QDoubleSpinBox(self.resample_tab) self.resample_split_size.setDecimals(3) self.resample_split_size.setMaximum(4.0) self.resample_split_size.setObjectName("resample_split_size") self.gridLayout_4.addWidget(self.resample_split_size, 5, 1, 1, 1) self.resample_split = QtWidgets.QCheckBox(self.resample_tab) self.resample_split.setChecked(True) self.resample_split.setObjectName("resample_split") self.gridLayout_4.addWidget(self.resample_split, 4, 0, 1, 1) self.resample_compression = QtWidgets.QComboBox(self.resample_tab) self.resample_compression.setObjectName("resample_compression") self.gridLayout_4.addWidget(self.resample_compression, 3, 1, 1, 1) self.label_4 = QtWidgets.QLabel(self.resample_tab) self.label_4.setObjectName("label_4") self.gridLayout_4.addWidget(self.label_4, 1, 0, 1, 1) self.resample_format = QtWidgets.QComboBox(self.resample_tab) self.resample_format.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents) self.resample_format.setObjectName("resample_format") self.gridLayout_4.addWidget(self.resample_format, 1, 1, 1, 1) self.label_9 = QtWidgets.QLabel(self.resample_tab) self.label_9.setObjectName("label_9") self.gridLayout_4.addWidget(self.label_9, 5, 0, 1, 1) self.label = QtWidgets.QLabel(self.resample_tab) self.label.setObjectName("label") self.gridLayout_4.addWidget(self.label, 0, 0, 1, 1) self.resample_time_from_zero = QtWidgets.QCheckBox(self.resample_tab) self.resample_time_from_zero.setObjectName("resample_time_from_zero") self.gridLayout_4.addWidget(self.resample_time_from_zero, 2, 0, 1, 1) self.verticalLayout_2 = QtWidgets.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") self.groupBox = QtWidgets.QGroupBox(self.resample_tab) self.groupBox.setObjectName("groupBox") self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout_9.setObjectName("verticalLayout_9") self.raster_type_step = QtWidgets.QRadioButton(self.groupBox) self.raster_type_step.setChecked(True) self.raster_type_step.setObjectName("raster_type_step") self.verticalLayout_9.addWidget(self.raster_type_step) self.raster_type_channel = QtWidgets.QRadioButton(self.groupBox) self.raster_type_channel.setObjectName("raster_type_channel") self.verticalLayout_9.addWidget(self.raster_type_channel) self.verticalLayout_2.addWidget(self.groupBox) self.raster = QtWidgets.QDoubleSpinBox(self.resample_tab) self.raster.setDecimals(6) self.raster.setObjectName("raster") self.verticalLayout_2.addWidget(self.raster) self.raster_channel = QtWidgets.QComboBox(self.resample_tab) self.raster_channel.setEnabled(False) self.raster_channel.setInsertPolicy(QtWidgets.QComboBox.InsertAtBottom) self.raster_channel.setObjectName("raster_channel") self.verticalLayout_2.addWidget(self.raster_channel) self.gridLayout_4.addLayout(self.verticalLayout_2, 0, 1, 1, 1) self.resample_btn = QtWidgets.QPushButton(self.resample_tab) icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(":/resample.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.resample_btn.setIcon(icon4) self.resample_btn.setObjectName("resample_btn") self.gridLayout_4.addWidget(self.resample_btn, 7, 1, 1, 1) spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_4.addItem(spacerItem4, 6, 1, 1, 1) self.verticalLayout_5.addLayout(self.gridLayout_4) self.aspects.addTab(self.resample_tab, icon4, "") self.scramble_tab = QtWidgets.QWidget() self.scramble_tab.setObjectName("scramble_tab") self.gridLayout = QtWidgets.QGridLayout(self.scramble_tab) self.gridLayout.setContentsMargins(25, 25, -1, -1) self.gridLayout.setSpacing(15) self.gridLayout.setObjectName("gridLayout") spacerItem5 = QtWidgets.QSpacerItem(20, 572, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem5, 1, 2, 1, 1) self.scramble_btn = QtWidgets.QPushButton(self.scramble_tab) icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(":/scramble.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.scramble_btn.setIcon(icon5) self.scramble_btn.setObjectName("scramble_btn") self.gridLayout.addWidget(self.scramble_btn, 2, 2, 1, 1) self.label_17 = QtWidgets.QLabel(self.scramble_tab) self.label_17.setWordWrap(True) self.label_17.setObjectName("label_17") self.gridLayout.addWidget(self.label_17, 0, 1, 1, 2) self.aspects.addTab(self.scramble_tab, icon5, "") self.stack_tab = QtWidgets.QWidget() self.stack_tab.setObjectName("stack_tab") self.gridLayout_8 = QtWidgets.QGridLayout(self.stack_tab) self.gridLayout_8.setObjectName("gridLayout_8") self.stack_sync = QtWidgets.QCheckBox(self.stack_tab) self.stack_sync.setChecked(True) self.stack_sync.setObjectName("stack_sync") self.gridLayout_8.addWidget(self.stack_sync, 0, 0, 1, 2) self.stack_add_samples_origin = QtWidgets.QCheckBox(self.stack_tab) self.stack_add_samples_origin.setChecked(True) self.stack_add_samples_origin.setObjectName("stack_add_samples_origin") self.gridLayout_8.addWidget(self.stack_add_samples_origin, 1, 0, 1, 2) self.label_26 = QtWidgets.QLabel(self.stack_tab) self.label_26.setObjectName("label_26") self.gridLayout_8.addWidget(self.label_26, 2, 0, 1, 1) self.stack_format = QtWidgets.QComboBox(self.stack_tab) self.stack_format.setObjectName("stack_format") self.gridLayout_8.addWidget(self.stack_format, 2, 1, 1, 1) self.line_8 = QtWidgets.QFrame(self.stack_tab) self.line_8.setFrameShape(QtWidgets.QFrame.HLine) self.line_8.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_8.setObjectName("line_8") self.gridLayout_8.addWidget(self.line_8, 3, 0, 1, 2) self.label_25 = QtWidgets.QLabel(self.stack_tab) self.label_25.setObjectName("label_25") self.gridLayout_8.addWidget(self.label_25, 4, 0, 1, 1) self.stack_compression = QtWidgets.QComboBox(self.stack_tab) self.stack_compression.setObjectName("stack_compression") self.gridLayout_8.addWidget(self.stack_compression, 4, 1, 1, 1) self.stack_split = QtWidgets.QCheckBox(self.stack_tab) self.stack_split.setChecked(True) self.stack_split.setObjectName("stack_split") self.gridLayout_8.addWidget(self.stack_split, 5, 0, 1, 1) self.label_23 = QtWidgets.QLabel(self.stack_tab) self.label_23.setObjectName("label_23") self.gridLayout_8.addWidget(self.label_23, 6, 0, 1, 1) self.stack_split_size = QtWidgets.QDoubleSpinBox(self.stack_tab) self.stack_split_size.setDecimals(3) self.stack_split_size.setMaximum(4.0) self.stack_split_size.setObjectName("stack_split_size") self.gridLayout_8.addWidget(self.stack_split_size, 6, 1, 1, 1) self.line_7 = QtWidgets.QFrame(self.stack_tab) self.line_7.setFrameShape(QtWidgets.QFrame.HLine) self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_7.setObjectName("line_7") self.gridLayout_8.addWidget(self.line_7, 7, 0, 1, 2) spacerItem6 = QtWidgets.QSpacerItem(20, 502, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_8.addItem(spacerItem6, 8, 1, 1, 1) self.stack_btn = QtWidgets.QPushButton(self.stack_tab) icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap(":/stack.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.stack_btn.setIcon(icon6) self.stack_btn.setObjectName("stack_btn") self.gridLayout_8.addWidget(self.stack_btn, 9, 1, 1, 1) self.aspects.addTab(self.stack_tab, icon6, "") self.extract_can_tab = QtWidgets.QWidget() self.extract_can_tab.setObjectName("extract_can_tab") self.gridLayout_11 = QtWidgets.QGridLayout(self.extract_can_tab) self.gridLayout_11.setObjectName("gridLayout_11") self.load_can_database_btn = QtWidgets.QPushButton(self.extract_can_tab) icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap(":/open.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.load_can_database_btn.setIcon(icon7) self.load_can_database_btn.setObjectName("load_can_database_btn") self.gridLayout_11.addWidget(self.load_can_database_btn, 0, 0, 1, 1) self.can_database_list = MinimalListWidget(self.extract_can_tab) self.can_database_list.setObjectName("can_database_list") self.gridLayout_11.addWidget(self.can_database_list, 1, 0, 1, 3) self.groupBox_2 = QtWidgets.QGroupBox(self.extract_can_tab) self.groupBox_2.setObjectName("groupBox_2") self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_2) self.gridLayout_5.setObjectName("gridLayout_5") self.extract_can_btn = QtWidgets.QPushButton(self.groupBox_2) icon8 = QtGui.QIcon() icon8.addPixmap(QtGui.QPixmap(":/down.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.extract_can_btn.setIcon(icon8) self.extract_can_btn.setObjectName("extract_can_btn") self.gridLayout_5.addWidget(self.extract_can_btn, 5, 0, 1, 2) self.label__1 = QtWidgets.QLabel(self.groupBox_2) self.label__1.setObjectName("label__1") self.gridLayout_5.addWidget(self.label__1, 0, 0, 1, 1) self.extract_can_compression = QtWidgets.QComboBox(self.groupBox_2) self.extract_can_compression.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents) self.extract_can_compression.setObjectName("extract_can_compression") self.gridLayout_5.addWidget(self.extract_can_compression, 0, 1, 1, 1) self.extract_can_format = QtWidgets.QComboBox(self.groupBox_2) self.extract_can_format.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents) self.extract_can_format.setObjectName("extract_can_format") self.gridLayout_5.addWidget(self.extract_can_format, 1, 1, 1, 1) self.label_24 = QtWidgets.QLabel(self.groupBox_2) self.label_24.setObjectName("label_24") self.gridLayout_5.addWidget(self.label_24, 1, 0, 1, 1) self.ignore_invalid_signals_mdf = QtWidgets.QCheckBox(self.groupBox_2) self.ignore_invalid_signals_mdf.setObjectName("ignore_invalid_signals_mdf") self.gridLayout_5.addWidget(self.ignore_invalid_signals_mdf, 2, 0, 1, 2) self.label_27 = QtWidgets.QLabel(self.groupBox_2) self.label_27.setText("") self.label_27.setObjectName("label_27") self.gridLayout_5.addWidget(self.label_27, 3, 0, 1, 1) self.line_12 = QtWidgets.QFrame(self.groupBox_2) self.line_12.setFrameShape(QtWidgets.QFrame.HLine) self.line_12.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_12.setObjectName("line_12") self.gridLayout_5.addWidget(self.line_12, 4, 0, 1, 2) self.gridLayout_11.addWidget(self.groupBox_2, 2, 0, 1, 1) self.groupBox_3 = QtWidgets.QGroupBox(self.extract_can_tab) self.groupBox_3.setObjectName("groupBox_3") self.gridLayout_10 = QtWidgets.QGridLayout(self.groupBox_3) self.gridLayout_10.setObjectName("gridLayout_10") self.time_from_zero_can = QtWidgets.QCheckBox(self.groupBox_3) self.time_from_zero_can.setObjectName("time_from_zero_can") self.gridLayout_10.addWidget(self.time_from_zero_can, 1, 1, 1, 1) self.label_28 = QtWidgets.QLabel(self.groupBox_3) self.label_28.setObjectName("label_28") self.gridLayout_10.addWidget(self.label_28, 4, 1, 1, 1) self.line_13 = QtWidgets.QFrame(self.groupBox_3) self.line_13.setFrameShape(QtWidgets.QFrame.HLine) self.line_13.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_13.setObjectName("line_13") self.gridLayout_10.addWidget(self.line_13, 7, 1, 1, 3) self.export_raster_can = QtWidgets.QDoubleSpinBox(self.groupBox_3) self.export_raster_can.setDecimals(6) self.export_raster_can.setObjectName("export_raster_can") self.gridLayout_10.addWidget(self.export_raster_can, 4, 2, 1, 2) self.extract_can_csv_btn = QtWidgets.QPushButton(self.groupBox_3) icon9 = QtGui.QIcon() icon9.addPixmap(QtGui.QPixmap(":/csv.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.extract_can_csv_btn.setIcon(icon9) self.extract_can_csv_btn.setObjectName("extract_can_csv_btn") self.gridLayout_10.addWidget(self.extract_can_csv_btn, 8, 1, 1, 3) self.single_time_base_can = QtWidgets.QCheckBox(self.groupBox_3) self.single_time_base_can.setObjectName("single_time_base_can") self.gridLayout_10.addWidget(self.single_time_base_can, 0, 1, 1, 1) self.ignore_invalid_signals_csv = QtWidgets.QCheckBox(self.groupBox_3) self.ignore_invalid_signals_csv.setObjectName("ignore_invalid_signals_csv") self.gridLayout_10.addWidget(self.ignore_invalid_signals_csv, 3, 1, 1, 1) self.empty_channels_can = QtWidgets.QComboBox(self.groupBox_3) self.empty_channels_can.setObjectName("empty_channels_can") self.gridLayout_10.addWidget(self.empty_channels_can, 5, 2, 1, 2) self.label_29 = QtWidgets.QLabel(self.groupBox_3) self.label_29.setObjectName("label_29") self.gridLayout_10.addWidget(self.label_29, 5, 1, 1, 1) self.can_time_as_date = QtWidgets.QCheckBox(self.groupBox_3) self.can_time_as_date.setObjectName("can_time_as_date") self.gridLayout_10.addWidget(self.can_time_as_date, 2, 1, 1, 1) self.gridLayout_11.addWidget(self.groupBox_3, 2, 1, 1, 1) spacerItem7 = QtWidgets.QSpacerItem(240, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_11.addItem(spacerItem7, 2, 2, 1, 1) self.aspects.addTab(self.extract_can_tab, icon8, "") self.gridLayout_9.addWidget(self.splitter, 0, 0, 1, 1) self.retranslateUi(batch_widget) self.aspects.setCurrentIndex(3) QtCore.QMetaObject.connectSlotsByName(batch_widget) def retranslateUi(self, batch_widget): _translate = QtCore.QCoreApplication.translate batch_widget.setWindowTitle(_translate("batch_widget", "Form")) self.concatenate_sync.setText(_translate("batch_widget", "Sync using measurements timestamps")) self.concatenate_add_samples_origin.setText(_translate("batch_widget", "Add samples origin file")) self.label_11.setText(_translate("batch_widget", "Output format")) self.label_12.setText(_translate("batch_widget", "Compression")) self.concatenate_split.setText(_translate("batch_widget", "Split data blocks")) self.concatenate_split_size.setSuffix(_translate("batch_widget", "MB")) self.label_10.setText(_translate("batch_widget", "Split size ")) self.concatenate_btn.setText(_translate("batch_widget", "Concatenate")) self.aspects.setTabText(self.aspects.indexOf(self.concatenate_tab), _translate("batch_widget", "Concatenate")) self.label_5.setText(_translate("batch_widget", "Split size ")) self.convert_split.setText(_translate("batch_widget", "Split data blocks")) self.convert_split_size.setSuffix(_translate("batch_widget", "MB")) self.label_2.setText(_translate("batch_widget", "Output format")) self.label_3.setText(_translate("batch_widget", "Compression")) self.convert_btn.setText(_translate("batch_widget", "Convert")) self.aspects.setTabText(self.aspects.indexOf(self.convert_tab), _translate("batch_widget", "Convert")) self.aspects.setTabToolTip(self.aspects.indexOf(self.convert_tab), _translate("batch_widget", "conv")) self.label_6.setText(_translate("batch_widget", "Compression")) self.label_15.setText(_translate("batch_widget", "Output format")) self.label_13.setText(_translate("batch_widget", "Start")) self.cut_time_from_zero.setText(_translate("batch_widget", "Time from 0s")) self.whence.setText(_translate("batch_widget", "Start relative to first time stamp")) self.cut_stop.setSuffix(_translate("batch_widget", "s")) self.cut_split.setText(_translate("batch_widget", "Split data blocks")) self.cut_start.setSuffix(_translate("batch_widget", "s")) self.label_14.setText(_translate("batch_widget", "End")) self.label_7.setText(_translate("batch_widget", "Split size [MB]")) self.cut_btn.setText(_translate("batch_widget", "Cut")) self.aspects.setTabText(self.aspects.indexOf(self.cut_tab), _translate("batch_widget", "Cut")) self.single_time_base.setText(_translate("batch_widget", "Single time base")) self.use_display_names.setText(_translate("batch_widget", "Use display names")) self.label_18.setText(_translate("batch_widget", ".mat format")) self.time_from_zero.setText(_translate("batch_widget", "Time from 0s")) self.reduce_memory_usage.setText(_translate("batch_widget", "Reduce memory usage")) self.export_btn.setText(_translate("batch_widget", "Export")) self.export_raster.setSuffix(_translate("batch_widget", "s")) self.label_20.setText(_translate("batch_widget", "Compression")) self.label_19.setText(_translate("batch_widget", "Empty channels")) self.label_21.setText(_translate("batch_widget", "Type")) self.label_22.setText(_translate("batch_widget", "Raster")) self.label_16.setText(_translate("batch_widget", ".mat oned_as")) self.time_as_date.setText(_translate("batch_widget", "Time as date")) self.aspects.setTabText(self.aspects.indexOf(self.export_tab), _translate("batch_widget", "Export")) self.label_8.setText(_translate("batch_widget", "Compression")) self.resample_split_size.setSuffix(_translate("batch_widget", "MB")) self.resample_split.setText(_translate("batch_widget", "Split data blocks")) self.label_4.setText(_translate("batch_widget", "Output format")) self.label_9.setText(_translate("batch_widget", "Split size")) self.label.setText(_translate("batch_widget", "Raster")) self.resample_time_from_zero.setText(_translate("batch_widget", "Time from 0s")) self.groupBox.setTitle(_translate("batch_widget", "Raster type")) self.raster_type_step.setText(_translate("batch_widget", "step")) self.raster_type_channel.setText(_translate("batch_widget", "channel")) self.raster.setSuffix(_translate("batch_widget", "s")) self.resample_btn.setText(_translate("batch_widget", "Resample")) self.aspects.setTabText(self.aspects.indexOf(self.resample_tab), _translate("batch_widget", "Resample")) self.scramble_btn.setText(_translate("batch_widget", "Scramble texts")) self.label_17.setText(_translate("batch_widget", "Anonymize the measurements: scramble all texts and replace them with random strings")) self.aspects.setTabText(self.aspects.indexOf(self.scramble_tab), _translate("batch_widget", "Scramble")) self.stack_sync.setText(_translate("batch_widget", "Sync using measurements timestamps")) self.stack_add_samples_origin.setText(_translate("batch_widget", "Add samples origin file")) self.label_26.setText(_translate("batch_widget", "Output format")) self.label_25.setText(_translate("batch_widget", "Compression")) self.stack_split.setText(_translate("batch_widget", "Split data blocks")) self.label_23.setText(_translate("batch_widget", "Split size ")) self.stack_split_size.setSuffix(_translate("batch_widget", "MB")) self.stack_btn.setText(_translate("batch_widget", "Stack")) self.aspects.setTabText(self.aspects.indexOf(self.stack_tab), _translate("batch_widget", "Stack")) self.load_can_database_btn.setText(_translate("batch_widget", "Load CAN database")) self.groupBox_2.setTitle(_translate("batch_widget", "MDF")) self.extract_can_btn.setText(_translate("batch_widget", "Extract CAN signals")) self.label__1.setText(_translate("batch_widget", "Compression")) self.label_24.setText(_translate("batch_widget", "Version")) self.ignore_invalid_signals_mdf.setToolTip(_translate("batch_widget", "checks if all samples are eauql to the maximum teoretical signal value")) self.ignore_invalid_signals_mdf.setText(_translate("batch_widget", "Ignore invalid signals")) self.groupBox_3.setTitle(_translate("batch_widget", "CSV")) self.time_from_zero_can.setText(_translate("batch_widget", "Time from 0s")) self.label_28.setText(_translate("batch_widget", "Raster")) self.export_raster_can.setSuffix(_translate("batch_widget", "s")) self.extract_can_csv_btn.setText(_translate("batch_widget", "Export to CSV ")) self.single_time_base_can.setText(_translate("batch_widget", "Single time base")) self.ignore_invalid_signals_csv.setToolTip(_translate("batch_widget", "checks if all samples are eauql to the maximum teoretical signal value")) self.ignore_invalid_signals_csv.setText(_translate("batch_widget", "Ignore invalid signals")) self.label_29.setText(_translate("batch_widget", "Empty channels")) self.can_time_as_date.setText(_translate("batch_widget", "Time as date")) self.aspects.setTabText(self.aspects.indexOf(self.extract_can_tab), _translate("batch_widget", "CAN logging"))
class Ui_SearchDialog(object): def setupUi(self, SearchDialog): SearchDialog.setObjectName("SearchDialog") SearchDialog.resize(625, 549) SearchDialog.setSizeGripEnabled(True) self.grid_layout = QtWidgets.QGridLayout(SearchDialog) self.grid_layout.setContentsMargins(9, 9, 9, 9) self.grid_layout.setObjectName("grid_layout") self.matches = QtWidgets.QListWidget(SearchDialog) self.matches.setSelectionMode( QtWidgets.QAbstractItemView.ExtendedSelection) self.matches.setObjectName("matches") self.grid_layout.addWidget(self.matches, 5, 0, 4, 1) self.search_box = QtWidgets.QLineEdit(SearchDialog) self.search_box.setText("") self.search_box.setObjectName("search_box") self.grid_layout.addWidget(self.search_box, 1, 0, 1, 1) self.match_kind = QtWidgets.QComboBox(SearchDialog) self.match_kind.setObjectName("match_kind") self.match_kind.addItem("") self.match_kind.addItem("") self.grid_layout.addWidget(self.match_kind, 0, 0, 1, 1) self.selection = MinimalListWidget(SearchDialog) self.selection.setObjectName("selection") self.grid_layout.addWidget(self.selection, 5, 2, 4, 4) self.status = QtWidgets.QLabel(SearchDialog) self.status.setText("") self.status.setObjectName("status") self.grid_layout.addWidget(self.status, 10, 0, 1, 1) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.grid_layout.addItem(spacerItem, 6, 1, 1, 1) self.label = QtWidgets.QLabel(SearchDialog) self.label.setObjectName("label") self.grid_layout.addWidget(self.label, 1, 2, 1, 1) self.add_btn = QtWidgets.QPushButton(SearchDialog) self.add_btn.setText("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/left.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.add_btn.setIcon(icon) self.add_btn.setObjectName("add_btn") self.grid_layout.addWidget(self.add_btn, 5, 1, 1, 1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.cancel_btn = QtWidgets.QPushButton(SearchDialog) self.cancel_btn.setObjectName("cancel_btn") self.horizontalLayout.addWidget(self.cancel_btn) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.add_window_btn = QtWidgets.QPushButton(SearchDialog) self.add_window_btn.setObjectName("add_window_btn") self.horizontalLayout.addWidget(self.add_window_btn) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem2) self.apply_btn = QtWidgets.QPushButton(SearchDialog) self.apply_btn.setObjectName("apply_btn") self.horizontalLayout.addWidget(self.apply_btn) self.horizontalLayout.setStretch(1, 1) self.grid_layout.addLayout(self.horizontalLayout, 9, 0, 1, 6) self.grid_layout.setColumnStretch(0, 1) self.grid_layout.setColumnStretch(2, 1) self.retranslateUi(SearchDialog) self.match_kind.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(SearchDialog) SearchDialog.setTabOrder(self.search_box, self.matches) SearchDialog.setTabOrder(self.matches, self.add_btn) SearchDialog.setTabOrder(self.add_btn, self.selection) SearchDialog.setTabOrder(self.selection, self.add_window_btn) SearchDialog.setTabOrder(self.add_window_btn, self.apply_btn) SearchDialog.setTabOrder(self.apply_btn, self.cancel_btn) SearchDialog.setTabOrder(self.cancel_btn, self.match_kind) def retranslateUi(self, SearchDialog): _translate = QtCore.QCoreApplication.translate SearchDialog.setWindowTitle(_translate("SearchDialog", "Dialog")) self.matches.setSortingEnabled(True) self.match_kind.setItemText(0, _translate("SearchDialog", "Wildcard")) self.match_kind.setItemText(1, _translate("SearchDialog", "Regex")) self.label.setText(_translate("SearchDialog", "Final selection")) self.cancel_btn.setText(_translate("SearchDialog", "Cancel")) self.add_window_btn.setText(_translate("SearchDialog", "Add window")) self.apply_btn.setText(_translate("SearchDialog", "Apply"))
class Ui_MultiSearchDialog(object): def setupUi(self, MultiSearchDialog): MultiSearchDialog.setObjectName("MultiSearchDialog") MultiSearchDialog.resize(1028, 549) MultiSearchDialog.setSizeGripEnabled(True) self.grid_layout = QtWidgets.QGridLayout(MultiSearchDialog) self.grid_layout.setContentsMargins(9, 9, 9, 9) self.grid_layout.setObjectName("grid_layout") self.status = QtWidgets.QLabel(MultiSearchDialog) self.status.setText("") self.status.setObjectName("status") self.grid_layout.addWidget(self.status, 9, 0, 1, 1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.cancel_btn = QtWidgets.QPushButton(MultiSearchDialog) self.cancel_btn.setObjectName("cancel_btn") self.horizontalLayout.addWidget(self.cancel_btn) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.apply_btn = QtWidgets.QPushButton(MultiSearchDialog) self.apply_btn.setObjectName("apply_btn") self.horizontalLayout.addWidget(self.apply_btn) self.horizontalLayout.setStretch(1, 1) self.grid_layout.addLayout(self.horizontalLayout, 8, 0, 1, 6) self.match_kind = QtWidgets.QComboBox(MultiSearchDialog) self.match_kind.setObjectName("match_kind") self.match_kind.addItem("") self.match_kind.addItem("") self.grid_layout.addWidget(self.match_kind, 0, 0, 1, 1) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.grid_layout.addItem(spacerItem1, 6, 1, 1, 1) self.selection = MinimalListWidget(MultiSearchDialog) self.selection.setMinimumSize(QtCore.QSize(500, 0)) self.selection.setObjectName("selection") self.grid_layout.addWidget(self.selection, 5, 2, 3, 4) self.add_btn = QtWidgets.QPushButton(MultiSearchDialog) self.add_btn.setText("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/left.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.add_btn.setIcon(icon) self.add_btn.setObjectName("add_btn") self.grid_layout.addWidget(self.add_btn, 5, 1, 1, 1) self.label = QtWidgets.QLabel(MultiSearchDialog) self.label.setObjectName("label") self.grid_layout.addWidget(self.label, 1, 2, 1, 1) self.search_box = QtWidgets.QLineEdit(MultiSearchDialog) self.search_box.setText("") self.search_box.setObjectName("search_box") self.grid_layout.addWidget(self.search_box, 1, 0, 1, 1) self.scrollArea = QtWidgets.QScrollArea(MultiSearchDialog) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaLayoutWidget = QtWidgets.QWidget() self.scrollAreaLayoutWidget.setGeometry(QtCore.QRect(0, 0, 461, 409)) self.scrollAreaLayoutWidget.setObjectName("scrollAreaLayoutWidget") self.match_layout = QtWidgets.QHBoxLayout(self.scrollAreaLayoutWidget) self.match_layout.setContentsMargins(2, 2, 2, 2) self.match_layout.setSpacing(5) self.match_layout.setObjectName("match_layout") self.scrollArea.setWidget(self.scrollAreaLayoutWidget) self.grid_layout.addWidget(self.scrollArea, 5, 0, 2, 1) self.grid_layout.setColumnStretch(0, 1) self.retranslateUi(MultiSearchDialog) self.match_kind.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(MultiSearchDialog) MultiSearchDialog.setTabOrder(self.search_box, self.scrollArea) MultiSearchDialog.setTabOrder(self.scrollArea, self.match_kind) MultiSearchDialog.setTabOrder(self.match_kind, self.selection) MultiSearchDialog.setTabOrder(self.selection, self.add_btn) MultiSearchDialog.setTabOrder(self.add_btn, self.cancel_btn) MultiSearchDialog.setTabOrder(self.cancel_btn, self.apply_btn) def retranslateUi(self, MultiSearchDialog): _translate = QtCore.QCoreApplication.translate MultiSearchDialog.setWindowTitle( _translate("MultiSearchDialog", "Dialog")) self.cancel_btn.setText(_translate("MultiSearchDialog", "Cancel")) self.apply_btn.setText(_translate("MultiSearchDialog", "Apply")) self.match_kind.setItemText( 0, _translate("MultiSearchDialog", "Wildcard")) self.match_kind.setItemText(1, _translate("MultiSearchDialog", "Regex")) self.label.setText(_translate("MultiSearchDialog", "Final selection"))
class Ui_file_widget(object): def setupUi(self, file_widget): file_widget.setObjectName("file_widget") file_widget.resize(1034, 865) self.verticalLayout = QtWidgets.QVBoxLayout(file_widget) self.verticalLayout.setContentsMargins(0, 0, 0, 0) self.verticalLayout.setSpacing(0) self.verticalLayout.setObjectName("verticalLayout") self.aspects = QtWidgets.QTabWidget(file_widget) self.aspects.setTabPosition(QtWidgets.QTabWidget.West) self.aspects.setDocumentMode(False) self.aspects.setObjectName("aspects") self.channels_tab = QtWidgets.QWidget() self.channels_tab.setObjectName("channels_tab") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.channels_tab) self.verticalLayout_5.setObjectName("verticalLayout_5") self.splitter = QtWidgets.QSplitter(self.channels_tab) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName("splitter") self.verticalLayoutWidget = QtWidgets.QWidget(self.splitter) self.verticalLayoutWidget.setObjectName("verticalLayoutWidget") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.verticalLayoutWidget) self.verticalLayout_4.setContentsMargins(0, 0, 0, 0) self.verticalLayout_4.setObjectName("verticalLayout_4") self.channel_view = QtWidgets.QComboBox(self.verticalLayoutWidget) self.channel_view.setObjectName("channel_view") self.channel_view.addItem("") self.channel_view.addItem("") self.channel_view.addItem("") self.verticalLayout_4.addWidget(self.channel_view) self.channels_tree = TreeWidget(self.verticalLayoutWidget) self.channels_tree.setObjectName("channels_tree") self.verticalLayout_4.addWidget(self.channels_tree) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.load_channel_list_btn = QtWidgets.QPushButton(self.verticalLayoutWidget) self.load_channel_list_btn.setText("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/open.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.load_channel_list_btn.setIcon(icon) self.load_channel_list_btn.setObjectName("load_channel_list_btn") self.horizontalLayout_2.addWidget(self.load_channel_list_btn) self.save_channel_list_btn = QtWidgets.QPushButton(self.verticalLayoutWidget) self.save_channel_list_btn.setText("") icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/save.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.save_channel_list_btn.setIcon(icon1) self.save_channel_list_btn.setObjectName("save_channel_list_btn") self.horizontalLayout_2.addWidget(self.save_channel_list_btn) self.select_all_btn = QtWidgets.QPushButton(self.verticalLayoutWidget) self.select_all_btn.setText("") icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(":/checkmark.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.select_all_btn.setIcon(icon2) self.select_all_btn.setObjectName("select_all_btn") self.horizontalLayout_2.addWidget(self.select_all_btn) self.clear_channels_btn = QtWidgets.QPushButton(self.verticalLayoutWidget) self.clear_channels_btn.setText("") icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(":/erase.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.clear_channels_btn.setIcon(icon3) self.clear_channels_btn.setObjectName("clear_channels_btn") self.horizontalLayout_2.addWidget(self.clear_channels_btn) self.advanced_search_btn = QtWidgets.QPushButton(self.verticalLayoutWidget) self.advanced_search_btn.setText("") icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(":/search.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.advanced_search_btn.setIcon(icon4) self.advanced_search_btn.setObjectName("advanced_search_btn") self.horizontalLayout_2.addWidget(self.advanced_search_btn) self.create_window_btn = QtWidgets.QPushButton(self.verticalLayoutWidget) self.create_window_btn.setText("") icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(":/graph.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.create_window_btn.setIcon(icon5) self.create_window_btn.setObjectName("create_window_btn") self.horizontalLayout_2.addWidget(self.create_window_btn) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.verticalLayout_4.addLayout(self.horizontalLayout_2) self.verticalLayout_5.addWidget(self.splitter) self.aspects.addTab(self.channels_tab, icon5, "") self.modify = QtWidgets.QWidget() self.modify.setObjectName("modify") self.horizontalLayout = QtWidgets.QHBoxLayout(self.modify) self.horizontalLayout.setObjectName("horizontalLayout") self.verticalLayout_2 = QtWidgets.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") self.filter_view = QtWidgets.QComboBox(self.modify) self.filter_view.setObjectName("filter_view") self.filter_view.addItem("") self.filter_view.addItem("") self.filter_view.addItem("") self.verticalLayout_2.addWidget(self.filter_view) self.filter_tree = TreeWidget(self.modify) self.filter_tree.setObjectName("filter_tree") self.verticalLayout_2.addWidget(self.filter_tree) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.load_filter_list_btn = QtWidgets.QPushButton(self.modify) self.load_filter_list_btn.setText("") self.load_filter_list_btn.setIcon(icon) self.load_filter_list_btn.setObjectName("load_filter_list_btn") self.horizontalLayout_4.addWidget(self.load_filter_list_btn) self.save_filter_list_btn = QtWidgets.QPushButton(self.modify) self.save_filter_list_btn.setText("") self.save_filter_list_btn.setIcon(icon1) self.save_filter_list_btn.setObjectName("save_filter_list_btn") self.horizontalLayout_4.addWidget(self.save_filter_list_btn) self.clear_filter_btn = QtWidgets.QPushButton(self.modify) self.clear_filter_btn.setText("") self.clear_filter_btn.setIcon(icon3) self.clear_filter_btn.setObjectName("clear_filter_btn") self.horizontalLayout_4.addWidget(self.clear_filter_btn) self.advanced_serch_filter_btn = QtWidgets.QPushButton(self.modify) self.advanced_serch_filter_btn.setText("") self.advanced_serch_filter_btn.setIcon(icon4) self.advanced_serch_filter_btn.setObjectName("advanced_serch_filter_btn") self.horizontalLayout_4.addWidget(self.advanced_serch_filter_btn) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem1) self.verticalLayout_2.addLayout(self.horizontalLayout_4) self.horizontalLayout.addLayout(self.verticalLayout_2) self.verticalLayout_6 = QtWidgets.QVBoxLayout() self.verticalLayout_6.setObjectName("verticalLayout_6") self.label = QtWidgets.QLabel(self.modify) self.label.setObjectName("label") self.verticalLayout_6.addWidget(self.label) self.selected_filter_channels = QtWidgets.QListWidget(self.modify) self.selected_filter_channels.setViewMode(QtWidgets.QListView.ListMode) self.selected_filter_channels.setUniformItemSizes(True) self.selected_filter_channels.setObjectName("selected_filter_channels") self.verticalLayout_6.addWidget(self.selected_filter_channels) self.horizontalLayout.addLayout(self.verticalLayout_6) spacerItem2 = QtWidgets.QSpacerItem(40, 10, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem2) self.verticalLayout_3 = QtWidgets.QVBoxLayout() self.verticalLayout_3.setObjectName("verticalLayout_3") self.cut_group = QtWidgets.QGroupBox(self.modify) self.cut_group.setCheckable(True) self.cut_group.setChecked(False) self.cut_group.setObjectName("cut_group") self.gridLayout_19 = QtWidgets.QGridLayout(self.cut_group) self.gridLayout_19.setObjectName("gridLayout_19") self.label_59 = QtWidgets.QLabel(self.cut_group) self.label_59.setObjectName("label_59") self.gridLayout_19.addWidget(self.label_59, 0, 0, 1, 1) self.cut_stop = QtWidgets.QDoubleSpinBox(self.cut_group) self.cut_stop.setDecimals(6) self.cut_stop.setMaximum(999999.999999) self.cut_stop.setObjectName("cut_stop") self.gridLayout_19.addWidget(self.cut_stop, 1, 1, 1, 1) self.whence = QtWidgets.QCheckBox(self.cut_group) self.whence.setObjectName("whence") self.gridLayout_19.addWidget(self.whence, 3, 0, 1, 1) self.label_60 = QtWidgets.QLabel(self.cut_group) self.label_60.setObjectName("label_60") self.gridLayout_19.addWidget(self.label_60, 1, 0, 1, 1) self.cut_start = QtWidgets.QDoubleSpinBox(self.cut_group) self.cut_start.setDecimals(6) self.cut_start.setMaximum(999999.999999) self.cut_start.setObjectName("cut_start") self.gridLayout_19.addWidget(self.cut_start, 0, 1, 1, 1) self.cut_time_from_zero = QtWidgets.QCheckBox(self.cut_group) self.cut_time_from_zero.setObjectName("cut_time_from_zero") self.gridLayout_19.addWidget(self.cut_time_from_zero, 4, 0, 1, 1) self.verticalLayout_3.addWidget(self.cut_group) self.resample_group = QtWidgets.QGroupBox(self.modify) self.resample_group.setCheckable(True) self.resample_group.setChecked(False) self.resample_group.setObjectName("resample_group") self.gridLayout_21 = QtWidgets.QGridLayout(self.resample_group) self.gridLayout_21.setObjectName("gridLayout_21") self.raster_type_step = QtWidgets.QRadioButton(self.resample_group) self.raster_type_step.setChecked(True) self.raster_type_step.setObjectName("raster_type_step") self.gridLayout_21.addWidget(self.raster_type_step, 0, 0, 1, 1) self.raster = QtWidgets.QDoubleSpinBox(self.resample_group) self.raster.setMinimumSize(QtCore.QSize(100, 0)) self.raster.setDecimals(6) self.raster.setMinimum(1e-06) self.raster.setObjectName("raster") self.gridLayout_21.addWidget(self.raster, 0, 1, 1, 1) self.resample_time_from_zero = QtWidgets.QCheckBox(self.resample_group) self.resample_time_from_zero.setObjectName("resample_time_from_zero") self.gridLayout_21.addWidget(self.resample_time_from_zero, 3, 0, 1, 1) self.raster_type_channel = QtWidgets.QRadioButton(self.resample_group) self.raster_type_channel.setObjectName("raster_type_channel") self.gridLayout_21.addWidget(self.raster_type_channel, 2, 0, 1, 1) self.raster_channel = QtWidgets.QComboBox(self.resample_group) self.raster_channel.setEnabled(False) self.raster_channel.setInsertPolicy(QtWidgets.QComboBox.InsertAtBottom) self.raster_channel.setObjectName("raster_channel") self.gridLayout_21.addWidget(self.raster_channel, 2, 1, 1, 1) self.raster_search_btn = QtWidgets.QPushButton(self.resample_group) self.raster_search_btn.setText("") self.raster_search_btn.setIcon(icon4) self.raster_search_btn.setObjectName("raster_search_btn") self.gridLayout_21.addWidget(self.raster_search_btn, 2, 2, 1, 1) self.gridLayout_21.setColumnStretch(1, 1) self.verticalLayout_3.addWidget(self.resample_group) self.groupBox_10 = QtWidgets.QGroupBox(self.modify) self.groupBox_10.setObjectName("groupBox_10") self.verticalLayout_20 = QtWidgets.QVBoxLayout(self.groupBox_10) self.verticalLayout_20.setObjectName("verticalLayout_20") self.output_format = QtWidgets.QComboBox(self.groupBox_10) self.output_format.setObjectName("output_format") self.output_format.addItem("") self.output_format.addItem("") self.output_format.addItem("") self.output_format.addItem("") self.output_format.addItem("") self.verticalLayout_20.addWidget(self.output_format) self.output_options = QtWidgets.QStackedWidget(self.groupBox_10) self.output_options.setObjectName("output_options") self.MDF = QtWidgets.QWidget() self.MDF.setObjectName("MDF") self.gridLayout_22 = QtWidgets.QGridLayout(self.MDF) self.gridLayout_22.setObjectName("gridLayout_22") self.line_14 = QtWidgets.QFrame(self.MDF) self.line_14.setFrameShape(QtWidgets.QFrame.HLine) self.line_14.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_14.setObjectName("line_14") self.gridLayout_22.addWidget(self.line_14, 1, 0, 1, 2) self.label_28 = QtWidgets.QLabel(self.MDF) self.label_28.setObjectName("label_28") self.gridLayout_22.addWidget(self.label_28, 4, 0, 1, 1) self.mdf_compression = QtWidgets.QComboBox(self.MDF) self.mdf_compression.setObjectName("mdf_compression") self.gridLayout_22.addWidget(self.mdf_compression, 2, 1, 1, 1) self.mdf_split = QtWidgets.QCheckBox(self.MDF) self.mdf_split.setChecked(True) self.mdf_split.setObjectName("mdf_split") self.gridLayout_22.addWidget(self.mdf_split, 3, 0, 1, 1) self.label_29 = QtWidgets.QLabel(self.MDF) self.label_29.setObjectName("label_29") self.gridLayout_22.addWidget(self.label_29, 2, 0, 1, 1) self.mdf_version = QtWidgets.QComboBox(self.MDF) self.mdf_version.setMinimumSize(QtCore.QSize(200, 0)) self.mdf_version.setObjectName("mdf_version") self.gridLayout_22.addWidget(self.mdf_version, 0, 1, 1, 1) self.mdf_split_size = QtWidgets.QDoubleSpinBox(self.MDF) self.mdf_split_size.setMaximum(4.0) self.mdf_split_size.setObjectName("mdf_split_size") self.gridLayout_22.addWidget(self.mdf_split_size, 4, 1, 1, 1) self.label_27 = QtWidgets.QLabel(self.MDF) self.label_27.setObjectName("label_27") self.gridLayout_22.addWidget(self.label_27, 0, 0, 1, 1) self.groupBox_9 = QtWidgets.QGroupBox(self.MDF) self.groupBox_9.setObjectName("groupBox_9") self.gridLayout_20 = QtWidgets.QGridLayout(self.groupBox_9) self.gridLayout_20.setObjectName("gridLayout_20") self.scramble_btn = QtWidgets.QPushButton(self.groupBox_9) icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap(":/scramble.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.scramble_btn.setIcon(icon6) self.scramble_btn.setObjectName("scramble_btn") self.gridLayout_20.addWidget(self.scramble_btn, 1, 0, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_20.addItem(spacerItem3, 1, 1, 1, 1) self.label_61 = QtWidgets.QLabel(self.groupBox_9) self.label_61.setWordWrap(True) self.label_61.setObjectName("label_61") self.gridLayout_20.addWidget(self.label_61, 0, 0, 1, 2) self.gridLayout_22.addWidget(self.groupBox_9, 6, 0, 1, 2) spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_22.addItem(spacerItem4, 5, 1, 1, 1) self.output_options.addWidget(self.MDF) self.HDF5 = QtWidgets.QWidget() self.HDF5.setObjectName("HDF5") self.gridLayout_2 = QtWidgets.QGridLayout(self.HDF5) self.gridLayout_2.setObjectName("gridLayout_2") self.time_as_date = QtWidgets.QCheckBox(self.HDF5) self.time_as_date.setObjectName("time_as_date") self.gridLayout_2.addWidget(self.time_as_date, 2, 0, 1, 1) self.line_30 = QtWidgets.QFrame(self.HDF5) self.line_30.setFrameShape(QtWidgets.QFrame.HLine) self.line_30.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_30.setObjectName("line_30") self.gridLayout_2.addWidget(self.line_30, 3, 0, 1, 2) self.empty_channels = QtWidgets.QComboBox(self.HDF5) self.empty_channels.setObjectName("empty_channels") self.gridLayout_2.addWidget(self.empty_channels, 7, 1, 1, 1) self.use_display_names = QtWidgets.QCheckBox(self.HDF5) self.use_display_names.setObjectName("use_display_names") self.gridLayout_2.addWidget(self.use_display_names, 4, 0, 1, 1) self.label_67 = QtWidgets.QLabel(self.HDF5) self.label_67.setObjectName("label_67") self.gridLayout_2.addWidget(self.label_67, 6, 0, 1, 1) self.single_time_base = QtWidgets.QCheckBox(self.HDF5) self.single_time_base.setObjectName("single_time_base") self.gridLayout_2.addWidget(self.single_time_base, 0, 0, 1, 1) self.time_from_zero = QtWidgets.QCheckBox(self.HDF5) self.time_from_zero.setObjectName("time_from_zero") self.gridLayout_2.addWidget(self.time_from_zero, 1, 0, 1, 1) self.label_65 = QtWidgets.QLabel(self.HDF5) self.label_65.setObjectName("label_65") self.gridLayout_2.addWidget(self.label_65, 7, 0, 1, 1) self.reduce_memory_usage = QtWidgets.QCheckBox(self.HDF5) self.reduce_memory_usage.setObjectName("reduce_memory_usage") self.gridLayout_2.addWidget(self.reduce_memory_usage, 5, 0, 1, 1) self.export_compression = QtWidgets.QComboBox(self.HDF5) self.export_compression.setObjectName("export_compression") self.gridLayout_2.addWidget(self.export_compression, 6, 1, 1, 1) spacerItem5 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem5, 8, 0, 1, 1) self.output_options.addWidget(self.HDF5) self.MAT = QtWidgets.QWidget() self.MAT.setObjectName("MAT") self.gridLayout_3 = QtWidgets.QGridLayout(self.MAT) self.gridLayout_3.setObjectName("gridLayout_3") self.empty_channels_mat = QtWidgets.QComboBox(self.MAT) self.empty_channels_mat.setObjectName("empty_channels_mat") self.gridLayout_3.addWidget(self.empty_channels_mat, 7, 1, 1, 1) self.label_69 = QtWidgets.QLabel(self.MAT) self.label_69.setObjectName("label_69") self.gridLayout_3.addWidget(self.label_69, 8, 0, 1, 1) self.oned_as = QtWidgets.QComboBox(self.MAT) self.oned_as.setObjectName("oned_as") self.gridLayout_3.addWidget(self.oned_as, 9, 1, 1, 1) self.use_display_names_mat = QtWidgets.QCheckBox(self.MAT) self.use_display_names_mat.setObjectName("use_display_names_mat") self.gridLayout_3.addWidget(self.use_display_names_mat, 4, 0, 1, 1) self.reduce_memory_usage_mat = QtWidgets.QCheckBox(self.MAT) self.reduce_memory_usage_mat.setObjectName("reduce_memory_usage_mat") self.gridLayout_3.addWidget(self.reduce_memory_usage_mat, 5, 0, 1, 1) self.label_19 = QtWidgets.QLabel(self.MAT) self.label_19.setObjectName("label_19") self.gridLayout_3.addWidget(self.label_19, 9, 0, 1, 1) self.time_as_date_mat = QtWidgets.QCheckBox(self.MAT) self.time_as_date_mat.setObjectName("time_as_date_mat") self.gridLayout_3.addWidget(self.time_as_date_mat, 2, 0, 1, 1) self.time_from_zero_mat = QtWidgets.QCheckBox(self.MAT) self.time_from_zero_mat.setObjectName("time_from_zero_mat") self.gridLayout_3.addWidget(self.time_from_zero_mat, 1, 0, 1, 1) self.label_68 = QtWidgets.QLabel(self.MAT) self.label_68.setObjectName("label_68") self.gridLayout_3.addWidget(self.label_68, 7, 0, 1, 1) spacerItem6 = QtWidgets.QSpacerItem(20, 2, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_3.addItem(spacerItem6, 10, 0, 1, 1) self.line_31 = QtWidgets.QFrame(self.MAT) self.line_31.setFrameShape(QtWidgets.QFrame.HLine) self.line_31.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_31.setObjectName("line_31") self.gridLayout_3.addWidget(self.line_31, 3, 0, 1, 2) self.mat_format = QtWidgets.QComboBox(self.MAT) self.mat_format.setObjectName("mat_format") self.gridLayout_3.addWidget(self.mat_format, 8, 1, 1, 1) self.single_time_base_mat = QtWidgets.QCheckBox(self.MAT) self.single_time_base_mat.setObjectName("single_time_base_mat") self.gridLayout_3.addWidget(self.single_time_base_mat, 0, 0, 1, 1) self.export_compression_mat = QtWidgets.QComboBox(self.MAT) self.export_compression_mat.setObjectName("export_compression_mat") self.gridLayout_3.addWidget(self.export_compression_mat, 6, 1, 1, 1) self.label_70 = QtWidgets.QLabel(self.MAT) self.label_70.setObjectName("label_70") self.gridLayout_3.addWidget(self.label_70, 6, 0, 1, 1) self.output_options.addWidget(self.MAT) self.verticalLayout_20.addWidget(self.output_options) self.verticalLayout_3.addWidget(self.groupBox_10) spacerItem7 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_3.addItem(spacerItem7) self.apply_btn = QtWidgets.QPushButton(self.modify) self.apply_btn.setIcon(icon2) self.apply_btn.setObjectName("apply_btn") self.verticalLayout_3.addWidget(self.apply_btn) self.verticalLayout_3.setStretch(3, 1) self.horizontalLayout.addLayout(self.verticalLayout_3) self.horizontalLayout.setStretch(0, 1) self.horizontalLayout.setStretch(1, 1) icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap(":/convert.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.aspects.addTab(self.modify, icon7, "") self.extract_can_tab = QtWidgets.QWidget() self.extract_can_tab.setObjectName("extract_can_tab") self.gridLayout_8 = QtWidgets.QGridLayout(self.extract_can_tab) self.gridLayout_8.setObjectName("gridLayout_8") self.groupBox_3 = QtWidgets.QGroupBox(self.extract_can_tab) self.groupBox_3.setObjectName("groupBox_3") self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_3) self.gridLayout_7.setObjectName("gridLayout_7") self.line_13 = QtWidgets.QFrame(self.groupBox_3) self.line_13.setFrameShape(QtWidgets.QFrame.HLine) self.line_13.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_13.setObjectName("line_13") self.gridLayout_7.addWidget(self.line_13, 7, 1, 1, 3) self.extract_can_csv_btn = QtWidgets.QPushButton(self.groupBox_3) icon8 = QtGui.QIcon() icon8.addPixmap(QtGui.QPixmap(":/csv.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.extract_can_csv_btn.setIcon(icon8) self.extract_can_csv_btn.setObjectName("extract_can_csv_btn") self.gridLayout_7.addWidget(self.extract_can_csv_btn, 8, 1, 1, 1) self.label_25 = QtWidgets.QLabel(self.groupBox_3) self.label_25.setObjectName("label_25") self.gridLayout_7.addWidget(self.label_25, 5, 1, 1, 1) self.single_time_base_can = QtWidgets.QCheckBox(self.groupBox_3) self.single_time_base_can.setObjectName("single_time_base_can") self.gridLayout_7.addWidget(self.single_time_base_can, 0, 1, 1, 1) self.label_23 = QtWidgets.QLabel(self.groupBox_3) self.label_23.setObjectName("label_23") self.gridLayout_7.addWidget(self.label_23, 4, 1, 1, 1) self.export_raster_can = QtWidgets.QDoubleSpinBox(self.groupBox_3) self.export_raster_can.setDecimals(6) self.export_raster_can.setObjectName("export_raster_can") self.gridLayout_7.addWidget(self.export_raster_can, 4, 2, 1, 2) self.ignore_invalid_signals_csv = QtWidgets.QCheckBox(self.groupBox_3) self.ignore_invalid_signals_csv.setObjectName("ignore_invalid_signals_csv") self.gridLayout_7.addWidget(self.ignore_invalid_signals_csv, 3, 1, 1, 1) self.empty_channels_can = QtWidgets.QComboBox(self.groupBox_3) self.empty_channels_can.setObjectName("empty_channels_can") self.gridLayout_7.addWidget(self.empty_channels_can, 5, 2, 1, 2) self.time_from_zero_can = QtWidgets.QCheckBox(self.groupBox_3) self.time_from_zero_can.setObjectName("time_from_zero_can") self.gridLayout_7.addWidget(self.time_from_zero_can, 1, 1, 1, 1) self.can_time_as_date = QtWidgets.QCheckBox(self.groupBox_3) self.can_time_as_date.setObjectName("can_time_as_date") self.gridLayout_7.addWidget(self.can_time_as_date, 2, 1, 1, 1) self.gridLayout_8.addWidget(self.groupBox_3, 2, 1, 1, 1) self.load_can_database_btn = QtWidgets.QPushButton(self.extract_can_tab) self.load_can_database_btn.setIcon(icon) self.load_can_database_btn.setObjectName("load_can_database_btn") self.gridLayout_8.addWidget(self.load_can_database_btn, 0, 0, 1, 1) self.groupBox_2 = QtWidgets.QGroupBox(self.extract_can_tab) self.groupBox_2.setObjectName("groupBox_2") self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_2) self.gridLayout_5.setObjectName("gridLayout_5") self.extract_can_btn = QtWidgets.QPushButton(self.groupBox_2) icon9 = QtGui.QIcon() icon9.addPixmap(QtGui.QPixmap(":/down.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.extract_can_btn.setIcon(icon9) self.extract_can_btn.setObjectName("extract_can_btn") self.gridLayout_5.addWidget(self.extract_can_btn, 5, 0, 1, 2) self.label__1 = QtWidgets.QLabel(self.groupBox_2) self.label__1.setObjectName("label__1") self.gridLayout_5.addWidget(self.label__1, 0, 0, 1, 1) self.extract_can_compression = QtWidgets.QComboBox(self.groupBox_2) self.extract_can_compression.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents) self.extract_can_compression.setObjectName("extract_can_compression") self.gridLayout_5.addWidget(self.extract_can_compression, 0, 1, 1, 1) self.extract_can_format = QtWidgets.QComboBox(self.groupBox_2) self.extract_can_format.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents) self.extract_can_format.setObjectName("extract_can_format") self.gridLayout_5.addWidget(self.extract_can_format, 1, 1, 1, 1) self.label_24 = QtWidgets.QLabel(self.groupBox_2) self.label_24.setObjectName("label_24") self.gridLayout_5.addWidget(self.label_24, 1, 0, 1, 1) self.ignore_invalid_signals_mdf = QtWidgets.QCheckBox(self.groupBox_2) self.ignore_invalid_signals_mdf.setObjectName("ignore_invalid_signals_mdf") self.gridLayout_5.addWidget(self.ignore_invalid_signals_mdf, 2, 0, 1, 2) self.label_26 = QtWidgets.QLabel(self.groupBox_2) self.label_26.setText("") self.label_26.setObjectName("label_26") self.gridLayout_5.addWidget(self.label_26, 3, 0, 1, 1) self.line_12 = QtWidgets.QFrame(self.groupBox_2) self.line_12.setFrameShape(QtWidgets.QFrame.HLine) self.line_12.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_12.setObjectName("line_12") self.gridLayout_5.addWidget(self.line_12, 4, 0, 1, 2) self.gridLayout_8.addWidget(self.groupBox_2, 2, 0, 1, 1) self.can_database_list = MinimalListWidget(self.extract_can_tab) self.can_database_list.setObjectName("can_database_list") self.gridLayout_8.addWidget(self.can_database_list, 1, 0, 1, 2) self.output_info_can = QtWidgets.QTextEdit(self.extract_can_tab) self.output_info_can.setReadOnly(True) self.output_info_can.setObjectName("output_info_can") self.gridLayout_8.addWidget(self.output_info_can, 1, 2, 2, 2) self.aspects.addTab(self.extract_can_tab, icon9, "") self.info_tab = QtWidgets.QWidget() self.info_tab.setObjectName("info_tab") self.gridLayout_9 = QtWidgets.QGridLayout(self.info_tab) self.gridLayout_9.setObjectName("gridLayout_9") self.info = QtWidgets.QTreeWidget(self.info_tab) self.info.setUniformRowHeights(False) self.info.setObjectName("info") self.gridLayout_9.addWidget(self.info, 0, 0, 1, 1) icon10 = QtGui.QIcon() icon10.addPixmap(QtGui.QPixmap(":/info.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.aspects.addTab(self.info_tab, icon10, "") self.attachments_tab = QtWidgets.QWidget() self.attachments_tab.setObjectName("attachments_tab") self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.attachments_tab) self.verticalLayout_10.setObjectName("verticalLayout_10") self.attachments = QtWidgets.QListWidget(self.attachments_tab) self.attachments.setObjectName("attachments") self.verticalLayout_10.addWidget(self.attachments) icon11 = QtGui.QIcon() icon11.addPixmap(QtGui.QPixmap(":/attach.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.aspects.addTab(self.attachments_tab, icon11, "") self.verticalLayout.addWidget(self.aspects) self.retranslateUi(file_widget) self.aspects.setCurrentIndex(0) self.output_options.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(file_widget) def retranslateUi(self, file_widget): _translate = QtCore.QCoreApplication.translate file_widget.setWindowTitle(_translate("file_widget", "Form")) self.aspects.setToolTip(_translate("file_widget", "Load channel selection list")) self.channel_view.setItemText(0, _translate("file_widget", "Natural sort")) self.channel_view.setItemText(1, _translate("file_widget", "Internal file structure")) self.channel_view.setItemText(2, _translate("file_widget", "Selected channels only")) self.channels_tree.setToolTip(_translate("file_widget", "Double click channel to see extended information")) self.channels_tree.headerItem().setText(0, _translate("file_widget", "Channels")) self.load_channel_list_btn.setToolTip(_translate("file_widget", "Load channel selection list")) self.save_channel_list_btn.setToolTip(_translate("file_widget", "Save channel selection list")) self.select_all_btn.setToolTip(_translate("file_widget", "Select all the channels")) self.clear_channels_btn.setToolTip(_translate("file_widget", "Clear all selected channels")) self.advanced_search_btn.setToolTip(_translate("file_widget", "Search and select channels")) self.create_window_btn.setToolTip(_translate("file_widget", "Create window")) self.aspects.setTabText(self.aspects.indexOf(self.channels_tab), _translate("file_widget", "Channels")) self.filter_view.setItemText(0, _translate("file_widget", "Natural sort")) self.filter_view.setItemText(1, _translate("file_widget", "Internal file structure")) self.filter_view.setItemText(2, _translate("file_widget", "Selected channels only")) self.filter_tree.setToolTip(_translate("file_widget", "Double click channel to see extended information")) self.filter_tree.headerItem().setText(0, _translate("file_widget", "Channels")) self.load_filter_list_btn.setToolTip(_translate("file_widget", "Load channel selection list")) self.save_filter_list_btn.setToolTip(_translate("file_widget", "Save channel selection list")) self.clear_filter_btn.setToolTip(_translate("file_widget", "Clear selection")) self.advanced_serch_filter_btn.setToolTip(_translate("file_widget", "Search and select channels")) self.label.setText(_translate("file_widget", "All selected channels")) self.selected_filter_channels.setSortingEnabled(True) self.cut_group.setTitle(_translate("file_widget", "Cut")) self.label_59.setText(_translate("file_widget", "Start")) self.cut_stop.setSuffix(_translate("file_widget", "s")) self.whence.setText(_translate("file_widget", "Start relative to first time stamp")) self.label_60.setText(_translate("file_widget", "End")) self.cut_start.setSuffix(_translate("file_widget", "s")) self.cut_time_from_zero.setText(_translate("file_widget", "Time from 0s")) self.resample_group.setTitle(_translate("file_widget", "Resample")) self.raster_type_step.setText(_translate("file_widget", "step")) self.raster.setSuffix(_translate("file_widget", "s")) self.resample_time_from_zero.setText(_translate("file_widget", "Time from 0s")) self.raster_type_channel.setText(_translate("file_widget", "channel")) self.raster_search_btn.setToolTip(_translate("file_widget", "Search raster channel")) self.groupBox_10.setTitle(_translate("file_widget", "Ouput format")) self.output_format.setItemText(0, _translate("file_widget", "MDF")) self.output_format.setItemText(1, _translate("file_widget", "CSV")) self.output_format.setItemText(2, _translate("file_widget", "HDF5")) self.output_format.setItemText(3, _translate("file_widget", "MAT")) self.output_format.setItemText(4, _translate("file_widget", "Parquet")) self.label_28.setText(_translate("file_widget", "Split size ")) self.mdf_split.setText(_translate("file_widget", "Split data blocks")) self.label_29.setText(_translate("file_widget", "Compression")) self.mdf_split_size.setSuffix(_translate("file_widget", "MB")) self.label_27.setText(_translate("file_widget", "Version")) self.groupBox_9.setTitle(_translate("file_widget", "Scramble")) self.scramble_btn.setText(_translate("file_widget", "Scramble texts")) self.label_61.setText(_translate("file_widget", "Anonymize the measurements: scramble all texts and replace them with random strings")) self.time_as_date.setText(_translate("file_widget", "Time as date")) self.use_display_names.setText(_translate("file_widget", "Use display names")) self.label_67.setText(_translate("file_widget", "Compression")) self.single_time_base.setText(_translate("file_widget", "Single time base")) self.time_from_zero.setText(_translate("file_widget", "Time from 0s")) self.label_65.setText(_translate("file_widget", "Empty channels")) self.reduce_memory_usage.setText(_translate("file_widget", "Reduce memory usage")) self.label_69.setText(_translate("file_widget", ".mat format")) self.use_display_names_mat.setText(_translate("file_widget", "Use display names")) self.reduce_memory_usage_mat.setText(_translate("file_widget", "Reduce memory usage")) self.label_19.setText(_translate("file_widget", ".mat oned_as")) self.time_as_date_mat.setText(_translate("file_widget", "Time as date")) self.time_from_zero_mat.setText(_translate("file_widget", "Time from 0s")) self.label_68.setText(_translate("file_widget", "Empty channels")) self.single_time_base_mat.setText(_translate("file_widget", "Single time base")) self.label_70.setText(_translate("file_widget", "Compression")) self.apply_btn.setText(_translate("file_widget", "Apply")) self.aspects.setTabText(self.aspects.indexOf(self.modify), _translate("file_widget", "Modify && Export")) self.groupBox_3.setTitle(_translate("file_widget", "CSV")) self.extract_can_csv_btn.setText(_translate("file_widget", "Export to CSV ")) self.label_25.setText(_translate("file_widget", "Empty channels")) self.single_time_base_can.setText(_translate("file_widget", "Single time base")) self.label_23.setText(_translate("file_widget", "Raster")) self.export_raster_can.setSuffix(_translate("file_widget", "s")) self.ignore_invalid_signals_csv.setToolTip(_translate("file_widget", "checks if all samples are eauql to the maximum teoretical signal value")) self.ignore_invalid_signals_csv.setText(_translate("file_widget", "Ignore invalid signals")) self.time_from_zero_can.setText(_translate("file_widget", "Time from 0s")) self.can_time_as_date.setText(_translate("file_widget", "Time as date")) self.load_can_database_btn.setText(_translate("file_widget", "Load CAN database")) self.groupBox_2.setTitle(_translate("file_widget", "MDF")) self.extract_can_btn.setText(_translate("file_widget", "Extract CAN signals")) self.label__1.setText(_translate("file_widget", "Compression")) self.label_24.setText(_translate("file_widget", "Version")) self.ignore_invalid_signals_mdf.setToolTip(_translate("file_widget", "checks if all samples are eauql to the maximum teoretical signal value")) self.ignore_invalid_signals_mdf.setText(_translate("file_widget", "Ignore invalid signals")) self.aspects.setTabText(self.aspects.indexOf(self.extract_can_tab), _translate("file_widget", "CAN Logging")) self.info.headerItem().setText(0, _translate("file_widget", "Cathegory")) self.info.headerItem().setText(1, _translate("file_widget", "Value")) self.aspects.setTabText(self.aspects.indexOf(self.info_tab), _translate("file_widget", "Info")) self.aspects.setTabText(self.aspects.indexOf(self.attachments_tab), _translate("file_widget", "Attachments"))
class Ui_batch_widget(object): def setupUi(self, batch_widget): batch_widget.setObjectName("batch_widget") batch_widget.resize(979, 840) self.gridLayout_9 = QtWidgets.QGridLayout(batch_widget) self.gridLayout_9.setObjectName("gridLayout_9") self.splitter = QtWidgets.QSplitter(batch_widget) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName("splitter") self.aspects = QtWidgets.QTabWidget(self.splitter) self.aspects.setTabPosition(QtWidgets.QTabWidget.West) self.aspects.setDocumentMode(False) self.aspects.setObjectName("aspects") self.concatenate_tab = QtWidgets.QWidget() self.concatenate_tab.setObjectName("concatenate_tab") self.gridLayout_7 = QtWidgets.QGridLayout(self.concatenate_tab) self.gridLayout_7.setObjectName("gridLayout_7") self.concatenate_sync = QtWidgets.QCheckBox(self.concatenate_tab) self.concatenate_sync.setChecked(True) self.concatenate_sync.setObjectName("concatenate_sync") self.gridLayout_7.addWidget(self.concatenate_sync, 0, 0, 1, 2) self.concatenate_add_samples_origin = QtWidgets.QCheckBox( self.concatenate_tab) self.concatenate_add_samples_origin.setChecked(True) self.concatenate_add_samples_origin.setObjectName( "concatenate_add_samples_origin") self.gridLayout_7.addWidget(self.concatenate_add_samples_origin, 1, 0, 1, 2) self.label_11 = QtWidgets.QLabel(self.concatenate_tab) self.label_11.setObjectName("label_11") self.gridLayout_7.addWidget(self.label_11, 2, 0, 1, 1) self.concatenate_format = QtWidgets.QComboBox(self.concatenate_tab) self.concatenate_format.setObjectName("concatenate_format") self.gridLayout_7.addWidget(self.concatenate_format, 2, 1, 1, 1) self.line_5 = QtWidgets.QFrame(self.concatenate_tab) self.line_5.setFrameShape(QtWidgets.QFrame.HLine) self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_5.setObjectName("line_5") self.gridLayout_7.addWidget(self.line_5, 3, 0, 1, 2) self.label_12 = QtWidgets.QLabel(self.concatenate_tab) self.label_12.setObjectName("label_12") self.gridLayout_7.addWidget(self.label_12, 4, 0, 1, 1) self.concatenate_compression = QtWidgets.QComboBox( self.concatenate_tab) self.concatenate_compression.setObjectName("concatenate_compression") self.gridLayout_7.addWidget(self.concatenate_compression, 4, 1, 1, 1) self.concatenate_split = QtWidgets.QCheckBox(self.concatenate_tab) self.concatenate_split.setChecked(True) self.concatenate_split.setObjectName("concatenate_split") self.gridLayout_7.addWidget(self.concatenate_split, 5, 0, 1, 1) self.line_6 = QtWidgets.QFrame(self.concatenate_tab) self.line_6.setFrameShape(QtWidgets.QFrame.HLine) self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_6.setObjectName("line_6") self.gridLayout_7.addWidget(self.line_6, 7, 0, 1, 2) self.concatenate_split_size = QtWidgets.QDoubleSpinBox( self.concatenate_tab) self.concatenate_split_size.setMaximum(4.0) self.concatenate_split_size.setObjectName("concatenate_split_size") self.gridLayout_7.addWidget(self.concatenate_split_size, 6, 1, 1, 1) self.label_10 = QtWidgets.QLabel(self.concatenate_tab) self.label_10.setObjectName("label_10") self.gridLayout_7.addWidget(self.label_10, 6, 0, 1, 1) self.concatenate_btn = QtWidgets.QPushButton(self.concatenate_tab) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/plus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.concatenate_btn.setIcon(icon) self.concatenate_btn.setObjectName("concatenate_btn") self.gridLayout_7.addWidget(self.concatenate_btn, 9, 1, 1, 1) spacerItem = QtWidgets.QSpacerItem(20, 502, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_7.addItem(spacerItem, 8, 1, 1, 1) self.aspects.addTab(self.concatenate_tab, icon, "") self.convert_tab = QtWidgets.QWidget() self.convert_tab.setObjectName("convert_tab") self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.convert_tab) self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.verticalLayout_14 = QtWidgets.QVBoxLayout() self.verticalLayout_14.setObjectName("verticalLayout_14") self.filter_view = QtWidgets.QComboBox(self.convert_tab) self.filter_view.setObjectName("filter_view") self.filter_view.addItem("") self.filter_view.addItem("") self.filter_view.addItem("") self.verticalLayout_14.addWidget(self.filter_view) self.filter_tree = TreeWidget(self.convert_tab) self.filter_tree.setObjectName("filter_tree") self.verticalLayout_14.addWidget(self.filter_tree) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.load_filter_list_btn = QtWidgets.QPushButton(self.convert_tab) self.load_filter_list_btn.setText("") icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/open.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.load_filter_list_btn.setIcon(icon1) self.load_filter_list_btn.setObjectName("load_filter_list_btn") self.horizontalLayout_5.addWidget(self.load_filter_list_btn) self.save_filter_list_btn = QtWidgets.QPushButton(self.convert_tab) self.save_filter_list_btn.setText("") icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(":/save.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.save_filter_list_btn.setIcon(icon2) self.save_filter_list_btn.setObjectName("save_filter_list_btn") self.horizontalLayout_5.addWidget(self.save_filter_list_btn) self.clear_filter_btn = QtWidgets.QPushButton(self.convert_tab) self.clear_filter_btn.setText("") icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(":/erase.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.clear_filter_btn.setIcon(icon3) self.clear_filter_btn.setObjectName("clear_filter_btn") self.horizontalLayout_5.addWidget(self.clear_filter_btn) self.advanced_serch_filter_btn = QtWidgets.QPushButton( self.convert_tab) self.advanced_serch_filter_btn.setText("") icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(":/search.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.advanced_serch_filter_btn.setIcon(icon4) self.advanced_serch_filter_btn.setObjectName( "advanced_serch_filter_btn") self.horizontalLayout_5.addWidget(self.advanced_serch_filter_btn) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem1) self.verticalLayout_14.addLayout(self.horizontalLayout_5) self.horizontalLayout_3.addLayout(self.verticalLayout_14) self.verticalLayout_13 = QtWidgets.QVBoxLayout() self.verticalLayout_13.setObjectName("verticalLayout_13") self.label_3 = QtWidgets.QLabel(self.convert_tab) self.label_3.setObjectName("label_3") self.verticalLayout_13.addWidget(self.label_3) self.selected_filter_channels = QtWidgets.QListWidget(self.convert_tab) self.selected_filter_channels.setViewMode(QtWidgets.QListView.ListMode) self.selected_filter_channels.setUniformItemSizes(True) self.selected_filter_channels.setObjectName("selected_filter_channels") self.verticalLayout_13.addWidget(self.selected_filter_channels) self.horizontalLayout_3.addLayout(self.verticalLayout_13) spacerItem2 = QtWidgets.QSpacerItem(10, 10, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem2) self.verticalLayout_15 = QtWidgets.QVBoxLayout() self.verticalLayout_15.setContentsMargins(2, 2, 2, 2) self.verticalLayout_15.setSpacing(2) self.verticalLayout_15.setObjectName("verticalLayout_15") self.cut_group = QtWidgets.QGroupBox(self.convert_tab) self.cut_group.setCheckable(True) self.cut_group.setChecked(False) self.cut_group.setObjectName("cut_group") self.gridLayout_23 = QtWidgets.QGridLayout(self.cut_group) self.gridLayout_23.setContentsMargins(2, 2, 2, 2) self.gridLayout_23.setSpacing(2) self.gridLayout_23.setObjectName("gridLayout_23") self.label_62 = QtWidgets.QLabel(self.cut_group) self.label_62.setObjectName("label_62") self.gridLayout_23.addWidget(self.label_62, 0, 0, 1, 1) self.cut_stop = QtWidgets.QDoubleSpinBox(self.cut_group) self.cut_stop.setDecimals(6) self.cut_stop.setMaximum(999999.999999) self.cut_stop.setObjectName("cut_stop") self.gridLayout_23.addWidget(self.cut_stop, 1, 1, 1, 1) self.whence = QtWidgets.QCheckBox(self.cut_group) self.whence.setObjectName("whence") self.gridLayout_23.addWidget(self.whence, 3, 0, 1, 1) self.label_63 = QtWidgets.QLabel(self.cut_group) self.label_63.setObjectName("label_63") self.gridLayout_23.addWidget(self.label_63, 1, 0, 1, 1) self.cut_start = QtWidgets.QDoubleSpinBox(self.cut_group) self.cut_start.setDecimals(6) self.cut_start.setMaximum(999999.999999) self.cut_start.setObjectName("cut_start") self.gridLayout_23.addWidget(self.cut_start, 0, 1, 1, 1) self.cut_time_from_zero = QtWidgets.QCheckBox(self.cut_group) self.cut_time_from_zero.setObjectName("cut_time_from_zero") self.gridLayout_23.addWidget(self.cut_time_from_zero, 4, 0, 1, 1) self.verticalLayout_15.addWidget(self.cut_group) self.resample_group = QtWidgets.QGroupBox(self.convert_tab) self.resample_group.setCheckable(True) self.resample_group.setChecked(False) self.resample_group.setObjectName("resample_group") self.gridLayout_24 = QtWidgets.QGridLayout(self.resample_group) self.gridLayout_24.setContentsMargins(2, 2, 2, 2) self.gridLayout_24.setSpacing(2) self.gridLayout_24.setObjectName("gridLayout_24") self.raster_type_step = QtWidgets.QRadioButton(self.resample_group) self.raster_type_step.setChecked(True) self.raster_type_step.setObjectName("raster_type_step") self.gridLayout_24.addWidget(self.raster_type_step, 0, 0, 1, 1) self.raster = QtWidgets.QDoubleSpinBox(self.resample_group) self.raster.setMinimumSize(QtCore.QSize(100, 0)) self.raster.setDecimals(6) self.raster.setMinimum(1e-06) self.raster.setObjectName("raster") self.gridLayout_24.addWidget(self.raster, 0, 1, 1, 1) self.resample_time_from_zero = QtWidgets.QCheckBox(self.resample_group) self.resample_time_from_zero.setObjectName("resample_time_from_zero") self.gridLayout_24.addWidget(self.resample_time_from_zero, 3, 0, 1, 1) self.raster_type_channel = QtWidgets.QRadioButton(self.resample_group) self.raster_type_channel.setObjectName("raster_type_channel") self.gridLayout_24.addWidget(self.raster_type_channel, 2, 0, 1, 1) self.raster_channel = QtWidgets.QComboBox(self.resample_group) self.raster_channel.setEnabled(False) self.raster_channel.setInsertPolicy(QtWidgets.QComboBox.InsertAtBottom) self.raster_channel.setSizeAdjustPolicy( QtWidgets.QComboBox.AdjustToMinimumContentsLengthWithIcon) self.raster_channel.setObjectName("raster_channel") self.gridLayout_24.addWidget(self.raster_channel, 2, 1, 1, 1) self.raster_search_btn = QtWidgets.QPushButton(self.resample_group) self.raster_search_btn.setText("") self.raster_search_btn.setIcon(icon4) self.raster_search_btn.setObjectName("raster_search_btn") self.gridLayout_24.addWidget(self.raster_search_btn, 2, 2, 1, 1) self.gridLayout_24.setColumnStretch(1, 1) self.verticalLayout_15.addWidget(self.resample_group) self.groupBox_11 = QtWidgets.QGroupBox(self.convert_tab) self.groupBox_11.setObjectName("groupBox_11") self.verticalLayout_21 = QtWidgets.QVBoxLayout(self.groupBox_11) self.verticalLayout_21.setContentsMargins(2, 2, 2, 2) self.verticalLayout_21.setSpacing(2) self.verticalLayout_21.setObjectName("verticalLayout_21") self.output_format = QtWidgets.QComboBox(self.groupBox_11) self.output_format.setObjectName("output_format") self.output_format.addItem("") self.output_format.addItem("") self.output_format.addItem("") self.output_format.addItem("") self.output_format.addItem("") self.verticalLayout_21.addWidget(self.output_format) self.output_options = QtWidgets.QStackedWidget(self.groupBox_11) self.output_options.setObjectName("output_options") self.MDF_2 = QtWidgets.QWidget() self.MDF_2.setObjectName("MDF_2") self.gridLayout_25 = QtWidgets.QGridLayout(self.MDF_2) self.gridLayout_25.setObjectName("gridLayout_25") self.line_17 = QtWidgets.QFrame(self.MDF_2) self.line_17.setFrameShape(QtWidgets.QFrame.HLine) self.line_17.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_17.setObjectName("line_17") self.gridLayout_25.addWidget(self.line_17, 1, 0, 1, 2) self.label_38 = QtWidgets.QLabel(self.MDF_2) self.label_38.setObjectName("label_38") self.gridLayout_25.addWidget(self.label_38, 4, 0, 1, 1) self.mdf_compression = QtWidgets.QComboBox(self.MDF_2) self.mdf_compression.setObjectName("mdf_compression") self.gridLayout_25.addWidget(self.mdf_compression, 2, 1, 1, 1) self.mdf_split = QtWidgets.QCheckBox(self.MDF_2) self.mdf_split.setChecked(True) self.mdf_split.setObjectName("mdf_split") self.gridLayout_25.addWidget(self.mdf_split, 3, 0, 1, 1) self.label_39 = QtWidgets.QLabel(self.MDF_2) self.label_39.setObjectName("label_39") self.gridLayout_25.addWidget(self.label_39, 2, 0, 1, 1) self.mdf_version = QtWidgets.QComboBox(self.MDF_2) self.mdf_version.setMinimumSize(QtCore.QSize(200, 0)) self.mdf_version.setObjectName("mdf_version") self.gridLayout_25.addWidget(self.mdf_version, 0, 1, 1, 1) self.mdf_split_size = QtWidgets.QDoubleSpinBox(self.MDF_2) self.mdf_split_size.setMaximum(4.0) self.mdf_split_size.setObjectName("mdf_split_size") self.gridLayout_25.addWidget(self.mdf_split_size, 4, 1, 1, 1) self.label_40 = QtWidgets.QLabel(self.MDF_2) self.label_40.setObjectName("label_40") self.gridLayout_25.addWidget(self.label_40, 0, 0, 1, 1) self.groupBox_12 = QtWidgets.QGroupBox(self.MDF_2) self.groupBox_12.setObjectName("groupBox_12") self.gridLayout_26 = QtWidgets.QGridLayout(self.groupBox_12) self.gridLayout_26.setObjectName("gridLayout_26") self.scramble_btn = QtWidgets.QPushButton(self.groupBox_12) icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(":/scramble.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.scramble_btn.setIcon(icon5) self.scramble_btn.setObjectName("scramble_btn") self.gridLayout_26.addWidget(self.scramble_btn, 1, 0, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_26.addItem(spacerItem3, 1, 1, 1, 1) self.label_64 = QtWidgets.QLabel(self.groupBox_12) self.label_64.setWordWrap(True) self.label_64.setObjectName("label_64") self.gridLayout_26.addWidget(self.label_64, 0, 0, 1, 2) self.gridLayout_25.addWidget(self.groupBox_12, 6, 0, 1, 2) spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_25.addItem(spacerItem4, 5, 1, 1, 1) self.output_options.addWidget(self.MDF_2) self.HDF5_2 = QtWidgets.QWidget() self.HDF5_2.setObjectName("HDF5_2") self.gridLayout_17 = QtWidgets.QGridLayout(self.HDF5_2) self.gridLayout_17.setObjectName("gridLayout_17") self.time_as_date = QtWidgets.QCheckBox(self.HDF5_2) self.time_as_date.setObjectName("time_as_date") self.gridLayout_17.addWidget(self.time_as_date, 2, 0, 1, 1) self.empty_channels = QtWidgets.QComboBox(self.HDF5_2) self.empty_channels.setObjectName("empty_channels") self.gridLayout_17.addWidget(self.empty_channels, 8, 1, 1, 1) self.time_from_zero = QtWidgets.QCheckBox(self.HDF5_2) self.time_from_zero.setObjectName("time_from_zero") self.gridLayout_17.addWidget(self.time_from_zero, 1, 0, 1, 1) spacerItem5 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_17.addItem(spacerItem5, 9, 0, 1, 1) self.reduce_memory_usage = QtWidgets.QCheckBox(self.HDF5_2) self.reduce_memory_usage.setObjectName("reduce_memory_usage") self.gridLayout_17.addWidget(self.reduce_memory_usage, 6, 0, 1, 1) self.label_71 = QtWidgets.QLabel(self.HDF5_2) self.label_71.setObjectName("label_71") self.gridLayout_17.addWidget(self.label_71, 7, 0, 1, 1) self.label_66 = QtWidgets.QLabel(self.HDF5_2) self.label_66.setObjectName("label_66") self.gridLayout_17.addWidget(self.label_66, 8, 0, 1, 1) self.export_compression = QtWidgets.QComboBox(self.HDF5_2) self.export_compression.setObjectName("export_compression") self.gridLayout_17.addWidget(self.export_compression, 7, 1, 1, 1) self.line_32 = QtWidgets.QFrame(self.HDF5_2) self.line_32.setFrameShape(QtWidgets.QFrame.HLine) self.line_32.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_32.setObjectName("line_32") self.gridLayout_17.addWidget(self.line_32, 4, 0, 1, 2) self.single_time_base = QtWidgets.QCheckBox(self.HDF5_2) self.single_time_base.setObjectName("single_time_base") self.gridLayout_17.addWidget(self.single_time_base, 0, 0, 1, 1) self.use_display_names = QtWidgets.QCheckBox(self.HDF5_2) self.use_display_names.setObjectName("use_display_names") self.gridLayout_17.addWidget(self.use_display_names, 5, 0, 1, 1) self.raw = QtWidgets.QCheckBox(self.HDF5_2) self.raw.setObjectName("raw") self.gridLayout_17.addWidget(self.raw, 3, 0, 1, 1) self.output_options.addWidget(self.HDF5_2) self.MAT_2 = QtWidgets.QWidget() self.MAT_2.setObjectName("MAT_2") self.gridLayout_18 = QtWidgets.QGridLayout(self.MAT_2) self.gridLayout_18.setObjectName("gridLayout_18") self.use_display_names_mat = QtWidgets.QCheckBox(self.MAT_2) self.use_display_names_mat.setObjectName("use_display_names_mat") self.gridLayout_18.addWidget(self.use_display_names_mat, 5, 0, 1, 1) self.label_41 = QtWidgets.QLabel(self.MAT_2) self.label_41.setObjectName("label_41") self.gridLayout_18.addWidget(self.label_41, 10, 0, 1, 1) self.time_from_zero_mat = QtWidgets.QCheckBox(self.MAT_2) self.time_from_zero_mat.setObjectName("time_from_zero_mat") self.gridLayout_18.addWidget(self.time_from_zero_mat, 1, 0, 1, 1) self.label_72 = QtWidgets.QLabel(self.MAT_2) self.label_72.setObjectName("label_72") self.gridLayout_18.addWidget(self.label_72, 7, 0, 1, 1) self.label_73 = QtWidgets.QLabel(self.MAT_2) self.label_73.setObjectName("label_73") self.gridLayout_18.addWidget(self.label_73, 9, 0, 1, 1) self.export_compression_mat = QtWidgets.QComboBox(self.MAT_2) self.export_compression_mat.setObjectName("export_compression_mat") self.gridLayout_18.addWidget(self.export_compression_mat, 7, 1, 1, 1) spacerItem6 = QtWidgets.QSpacerItem(20, 2, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_18.addItem(spacerItem6, 11, 0, 1, 1) self.line_33 = QtWidgets.QFrame(self.MAT_2) self.line_33.setFrameShape(QtWidgets.QFrame.HLine) self.line_33.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_33.setObjectName("line_33") self.gridLayout_18.addWidget(self.line_33, 4, 0, 1, 2) self.single_time_base_mat = QtWidgets.QCheckBox(self.MAT_2) self.single_time_base_mat.setObjectName("single_time_base_mat") self.gridLayout_18.addWidget(self.single_time_base_mat, 0, 0, 1, 1) self.empty_channels_mat = QtWidgets.QComboBox(self.MAT_2) self.empty_channels_mat.setObjectName("empty_channels_mat") self.gridLayout_18.addWidget(self.empty_channels_mat, 8, 1, 1, 1) self.mat_format = QtWidgets.QComboBox(self.MAT_2) self.mat_format.setObjectName("mat_format") self.gridLayout_18.addWidget(self.mat_format, 9, 1, 1, 1) self.reduce_memory_usage_mat = QtWidgets.QCheckBox(self.MAT_2) self.reduce_memory_usage_mat.setObjectName("reduce_memory_usage_mat") self.gridLayout_18.addWidget(self.reduce_memory_usage_mat, 6, 0, 1, 1) self.oned_as = QtWidgets.QComboBox(self.MAT_2) self.oned_as.setObjectName("oned_as") self.gridLayout_18.addWidget(self.oned_as, 10, 1, 1, 1) self.time_as_date_mat = QtWidgets.QCheckBox(self.MAT_2) self.time_as_date_mat.setObjectName("time_as_date_mat") self.gridLayout_18.addWidget(self.time_as_date_mat, 2, 0, 1, 1) self.label_74 = QtWidgets.QLabel(self.MAT_2) self.label_74.setObjectName("label_74") self.gridLayout_18.addWidget(self.label_74, 8, 0, 1, 1) self.raw_mat = QtWidgets.QCheckBox(self.MAT_2) self.raw_mat.setObjectName("raw_mat") self.gridLayout_18.addWidget(self.raw_mat, 3, 0, 1, 1) self.output_options.addWidget(self.MAT_2) self.verticalLayout_21.addWidget(self.output_options) self.verticalLayout_15.addWidget(self.groupBox_11) self.groupBox = QtWidgets.QGroupBox(self.convert_tab) self.groupBox.setObjectName("groupBox") self.gridLayout = QtWidgets.QGridLayout(self.groupBox) self.gridLayout.setContentsMargins(2, 2, 2, 2) self.gridLayout.setSpacing(2) self.gridLayout.setObjectName("gridLayout") self.modify_output_folder = QtWidgets.QLineEdit(self.groupBox) self.modify_output_folder.setClearButtonEnabled(True) self.modify_output_folder.setObjectName("modify_output_folder") self.gridLayout.addWidget(self.modify_output_folder, 0, 0, 1, 1) self.modify_output_folder_btn = QtWidgets.QPushButton(self.groupBox) self.modify_output_folder_btn.setText("") self.modify_output_folder_btn.setIcon(icon1) self.modify_output_folder_btn.setObjectName("modify_output_folder_btn") self.gridLayout.addWidget(self.modify_output_folder_btn, 0, 1, 1, 1) self.verticalLayout_15.addWidget(self.groupBox) spacerItem7 = QtWidgets.QSpacerItem(20, 2, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_15.addItem(spacerItem7) self.apply_btn = QtWidgets.QPushButton(self.convert_tab) icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap(":/checkmark.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.apply_btn.setIcon(icon6) self.apply_btn.setObjectName("apply_btn") self.verticalLayout_15.addWidget(self.apply_btn) self.verticalLayout_15.setStretch(4, 1) self.horizontalLayout_3.addLayout(self.verticalLayout_15) self.horizontalLayout_3.setStretch(0, 1) self.horizontalLayout_3.setStretch(1, 1) icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap(":/convert.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.aspects.addTab(self.convert_tab, icon7, "") self.stack_tab = QtWidgets.QWidget() self.stack_tab.setObjectName("stack_tab") self.gridLayout_8 = QtWidgets.QGridLayout(self.stack_tab) self.gridLayout_8.setObjectName("gridLayout_8") self.stack_sync = QtWidgets.QCheckBox(self.stack_tab) self.stack_sync.setChecked(True) self.stack_sync.setObjectName("stack_sync") self.gridLayout_8.addWidget(self.stack_sync, 0, 0, 1, 2) self.stack_add_samples_origin = QtWidgets.QCheckBox(self.stack_tab) self.stack_add_samples_origin.setChecked(True) self.stack_add_samples_origin.setObjectName("stack_add_samples_origin") self.gridLayout_8.addWidget(self.stack_add_samples_origin, 1, 0, 1, 2) self.label_26 = QtWidgets.QLabel(self.stack_tab) self.label_26.setObjectName("label_26") self.gridLayout_8.addWidget(self.label_26, 2, 0, 1, 1) self.stack_format = QtWidgets.QComboBox(self.stack_tab) self.stack_format.setObjectName("stack_format") self.gridLayout_8.addWidget(self.stack_format, 2, 1, 1, 1) self.line_8 = QtWidgets.QFrame(self.stack_tab) self.line_8.setFrameShape(QtWidgets.QFrame.HLine) self.line_8.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_8.setObjectName("line_8") self.gridLayout_8.addWidget(self.line_8, 3, 0, 1, 2) self.label_25 = QtWidgets.QLabel(self.stack_tab) self.label_25.setObjectName("label_25") self.gridLayout_8.addWidget(self.label_25, 4, 0, 1, 1) self.stack_compression = QtWidgets.QComboBox(self.stack_tab) self.stack_compression.setObjectName("stack_compression") self.gridLayout_8.addWidget(self.stack_compression, 4, 1, 1, 1) self.stack_split = QtWidgets.QCheckBox(self.stack_tab) self.stack_split.setChecked(True) self.stack_split.setObjectName("stack_split") self.gridLayout_8.addWidget(self.stack_split, 5, 0, 1, 1) self.label_23 = QtWidgets.QLabel(self.stack_tab) self.label_23.setObjectName("label_23") self.gridLayout_8.addWidget(self.label_23, 6, 0, 1, 1) self.stack_split_size = QtWidgets.QDoubleSpinBox(self.stack_tab) self.stack_split_size.setMaximum(4.0) self.stack_split_size.setObjectName("stack_split_size") self.gridLayout_8.addWidget(self.stack_split_size, 6, 1, 1, 1) self.line_7 = QtWidgets.QFrame(self.stack_tab) self.line_7.setFrameShape(QtWidgets.QFrame.HLine) self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_7.setObjectName("line_7") self.gridLayout_8.addWidget(self.line_7, 7, 0, 1, 2) spacerItem8 = QtWidgets.QSpacerItem(20, 502, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_8.addItem(spacerItem8, 8, 1, 1, 1) self.stack_btn = QtWidgets.QPushButton(self.stack_tab) icon8 = QtGui.QIcon() icon8.addPixmap(QtGui.QPixmap(":/stack.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.stack_btn.setIcon(icon8) self.stack_btn.setObjectName("stack_btn") self.gridLayout_8.addWidget(self.stack_btn, 9, 1, 1, 1) self.aspects.addTab(self.stack_tab, icon8, "") self.extract_bus_tab = QtWidgets.QWidget() self.extract_bus_tab.setObjectName("extract_bus_tab") self.gridLayout_11 = QtWidgets.QGridLayout(self.extract_bus_tab) self.gridLayout_11.setObjectName("gridLayout_11") self.output_info_bus = QtWidgets.QTextEdit(self.extract_bus_tab) self.output_info_bus.setReadOnly(True) self.output_info_bus.setObjectName("output_info_bus") self.gridLayout_11.addWidget(self.output_info_bus, 0, 2, 3, 1) self.groupBox_3 = QtWidgets.QGroupBox(self.extract_bus_tab) self.groupBox_3.setObjectName("groupBox_3") self.gridLayout_10 = QtWidgets.QGridLayout(self.groupBox_3) self.gridLayout_10.setContentsMargins(2, 2, 2, 2) self.gridLayout_10.setSpacing(2) self.gridLayout_10.setObjectName("gridLayout_10") self.time_from_zero_bus = QtWidgets.QCheckBox(self.groupBox_3) self.time_from_zero_bus.setObjectName("time_from_zero_bus") self.gridLayout_10.addWidget(self.time_from_zero_bus, 1, 1, 1, 1) self.label_28 = QtWidgets.QLabel(self.groupBox_3) self.label_28.setObjectName("label_28") self.gridLayout_10.addWidget(self.label_28, 4, 1, 1, 1) self.line_13 = QtWidgets.QFrame(self.groupBox_3) self.line_13.setFrameShape(QtWidgets.QFrame.HLine) self.line_13.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_13.setObjectName("line_13") self.gridLayout_10.addWidget(self.line_13, 7, 1, 1, 3) self.export_raster_bus = QtWidgets.QDoubleSpinBox(self.groupBox_3) self.export_raster_bus.setDecimals(6) self.export_raster_bus.setObjectName("export_raster_bus") self.gridLayout_10.addWidget(self.export_raster_bus, 4, 2, 1, 2) self.extract_bus_csv_btn = QtWidgets.QPushButton(self.groupBox_3) icon9 = QtGui.QIcon() icon9.addPixmap(QtGui.QPixmap(":/csv.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.extract_bus_csv_btn.setIcon(icon9) self.extract_bus_csv_btn.setObjectName("extract_bus_csv_btn") self.gridLayout_10.addWidget(self.extract_bus_csv_btn, 8, 1, 1, 3) self.single_time_base_bus = QtWidgets.QCheckBox(self.groupBox_3) self.single_time_base_bus.setObjectName("single_time_base_bus") self.gridLayout_10.addWidget(self.single_time_base_bus, 0, 1, 1, 1) self.ignore_invalid_signals_csv = QtWidgets.QCheckBox(self.groupBox_3) self.ignore_invalid_signals_csv.setObjectName( "ignore_invalid_signals_csv") self.gridLayout_10.addWidget(self.ignore_invalid_signals_csv, 3, 1, 1, 1) self.empty_channels_bus = QtWidgets.QComboBox(self.groupBox_3) self.empty_channels_bus.setObjectName("empty_channels_bus") self.gridLayout_10.addWidget(self.empty_channels_bus, 5, 2, 1, 2) self.label_29 = QtWidgets.QLabel(self.groupBox_3) self.label_29.setObjectName("label_29") self.gridLayout_10.addWidget(self.label_29, 5, 1, 1, 1) self.bus_time_as_date = QtWidgets.QCheckBox(self.groupBox_3) self.bus_time_as_date.setObjectName("bus_time_as_date") self.gridLayout_10.addWidget(self.bus_time_as_date, 2, 1, 1, 1) self.gridLayout_11.addWidget(self.groupBox_3, 2, 1, 1, 1) self.groupBox_2 = QtWidgets.QGroupBox(self.extract_bus_tab) self.groupBox_2.setObjectName("groupBox_2") self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_2) self.gridLayout_5.setContentsMargins(2, 2, 2, 2) self.gridLayout_5.setSpacing(2) self.gridLayout_5.setObjectName("gridLayout_5") self.extract_bus_btn = QtWidgets.QPushButton(self.groupBox_2) icon10 = QtGui.QIcon() icon10.addPixmap(QtGui.QPixmap(":/down.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.extract_bus_btn.setIcon(icon10) self.extract_bus_btn.setObjectName("extract_bus_btn") self.gridLayout_5.addWidget(self.extract_bus_btn, 5, 0, 1, 2) self.label__1 = QtWidgets.QLabel(self.groupBox_2) self.label__1.setObjectName("label__1") self.gridLayout_5.addWidget(self.label__1, 0, 0, 1, 1) self.extract_bus_compression = QtWidgets.QComboBox(self.groupBox_2) self.extract_bus_compression.setSizeAdjustPolicy( QtWidgets.QComboBox.AdjustToContents) self.extract_bus_compression.setObjectName("extract_bus_compression") self.gridLayout_5.addWidget(self.extract_bus_compression, 0, 1, 1, 1) self.extract_bus_format = QtWidgets.QComboBox(self.groupBox_2) self.extract_bus_format.setSizeAdjustPolicy( QtWidgets.QComboBox.AdjustToContents) self.extract_bus_format.setObjectName("extract_bus_format") self.gridLayout_5.addWidget(self.extract_bus_format, 1, 1, 1, 1) self.label_24 = QtWidgets.QLabel(self.groupBox_2) self.label_24.setObjectName("label_24") self.gridLayout_5.addWidget(self.label_24, 1, 0, 1, 1) self.ignore_invalid_signals_mdf = QtWidgets.QCheckBox(self.groupBox_2) self.ignore_invalid_signals_mdf.setObjectName( "ignore_invalid_signals_mdf") self.gridLayout_5.addWidget(self.ignore_invalid_signals_mdf, 2, 0, 1, 2) self.label_27 = QtWidgets.QLabel(self.groupBox_2) self.label_27.setText("") self.label_27.setObjectName("label_27") self.gridLayout_5.addWidget(self.label_27, 3, 0, 1, 1) self.line_12 = QtWidgets.QFrame(self.groupBox_2) self.line_12.setFrameShape(QtWidgets.QFrame.HLine) self.line_12.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_12.setObjectName("line_12") self.gridLayout_5.addWidget(self.line_12, 4, 0, 1, 2) self.gridLayout_11.addWidget(self.groupBox_2, 2, 0, 1, 1) self.tabWidget = QtWidgets.QTabWidget(self.extract_bus_tab) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.verticalLayout = QtWidgets.QVBoxLayout(self.tab) self.verticalLayout.setContentsMargins(2, 2, 2, 2) self.verticalLayout.setSpacing(2) self.verticalLayout.setObjectName("verticalLayout") self.load_can_database_btn = QtWidgets.QPushButton(self.tab) self.load_can_database_btn.setIcon(icon1) self.load_can_database_btn.setObjectName("load_can_database_btn") self.verticalLayout.addWidget(self.load_can_database_btn) self.can_database_list = MinimalListWidget(self.tab) self.can_database_list.setObjectName("can_database_list") self.verticalLayout.addWidget(self.can_database_list) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.tab_2) self.verticalLayout_2.setContentsMargins(2, 2, 2, 2) self.verticalLayout_2.setSpacing(2) self.verticalLayout_2.setObjectName("verticalLayout_2") self.load_lin_database_btn = QtWidgets.QPushButton(self.tab_2) self.load_lin_database_btn.setIcon(icon1) self.load_lin_database_btn.setObjectName("load_lin_database_btn") self.verticalLayout_2.addWidget(self.load_lin_database_btn) self.lin_database_list = MinimalListWidget(self.tab_2) self.lin_database_list.setObjectName("lin_database_list") self.verticalLayout_2.addWidget(self.lin_database_list) self.tabWidget.addTab(self.tab_2, "") self.gridLayout_11.addWidget(self.tabWidget, 0, 0, 1, 2) self.aspects.addTab(self.extract_bus_tab, icon10, "") self.gridLayout_9.addWidget(self.splitter, 1, 0, 1, 1) self.retranslateUi(batch_widget) self.aspects.setCurrentIndex(0) self.output_options.setCurrentIndex(0) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(batch_widget) def retranslateUi(self, batch_widget): _translate = QtCore.QCoreApplication.translate batch_widget.setWindowTitle(_translate("batch_widget", "Form")) self.concatenate_sync.setText( _translate("batch_widget", "Sync using measurements timestamps")) self.concatenate_add_samples_origin.setText( _translate("batch_widget", "Add samples origin file")) self.label_11.setText(_translate("batch_widget", "Output format")) self.label_12.setText(_translate("batch_widget", "Compression")) self.concatenate_split.setText( _translate("batch_widget", "Split data blocks")) self.concatenate_split_size.setSuffix(_translate("batch_widget", "MB")) self.label_10.setText(_translate("batch_widget", "Split size ")) self.concatenate_btn.setText(_translate("batch_widget", "Concatenate")) self.aspects.setTabText(self.aspects.indexOf(self.concatenate_tab), _translate("batch_widget", "Concatenate")) self.filter_view.setItemText( 0, _translate("batch_widget", "Natural sort")) self.filter_view.setItemText( 1, _translate("batch_widget", "Internal file structure")) self.filter_view.setItemText( 2, _translate("batch_widget", "Selected channels only")) self.filter_tree.setToolTip( _translate("batch_widget", "Double click channel to see extended information")) self.filter_tree.headerItem().setText( 0, _translate("batch_widget", "Channels")) self.load_filter_list_btn.setToolTip( _translate("batch_widget", "Load channel selection list")) self.save_filter_list_btn.setToolTip( _translate("batch_widget", "Save channel selection list")) self.clear_filter_btn.setToolTip( _translate("batch_widget", "Clear selection")) self.advanced_serch_filter_btn.setToolTip( _translate("batch_widget", "Search and select channels")) self.label_3.setText( _translate("batch_widget", "All selected channels")) self.selected_filter_channels.setSortingEnabled(True) self.cut_group.setTitle(_translate("batch_widget", "Cut")) self.label_62.setText(_translate("batch_widget", "Start")) self.cut_stop.setSuffix(_translate("batch_widget", "s")) self.whence.setText( _translate("batch_widget", "Start relative to first time stamp")) self.label_63.setText(_translate("batch_widget", "End")) self.cut_start.setSuffix(_translate("batch_widget", "s")) self.cut_time_from_zero.setText( _translate("batch_widget", "Time from 0s")) self.resample_group.setTitle(_translate("batch_widget", "Resample")) self.raster_type_step.setText(_translate("batch_widget", "step")) self.raster.setSuffix(_translate("batch_widget", "s")) self.resample_time_from_zero.setText( _translate("batch_widget", "Time from 0s")) self.raster_type_channel.setText(_translate("batch_widget", "channel")) self.raster_search_btn.setToolTip( _translate("batch_widget", "Search raster channel")) self.groupBox_11.setTitle(_translate("batch_widget", "Ouput format")) self.output_format.setItemText(0, _translate("batch_widget", "MDF")) self.output_format.setItemText(1, _translate("batch_widget", "CSV")) self.output_format.setItemText(2, _translate("batch_widget", "HDF5")) self.output_format.setItemText(3, _translate("batch_widget", "MAT")) self.output_format.setItemText(4, _translate("batch_widget", "Parquet")) self.label_38.setText(_translate("batch_widget", "Split size ")) self.mdf_split.setText(_translate("batch_widget", "Split data blocks")) self.label_39.setText(_translate("batch_widget", "Compression")) self.mdf_split_size.setSuffix(_translate("batch_widget", "MB")) self.label_40.setText(_translate("batch_widget", "Version")) self.groupBox_12.setTitle(_translate("batch_widget", "Scramble")) self.scramble_btn.setText(_translate("batch_widget", "Scramble texts")) self.label_64.setText( _translate( "batch_widget", "Anonymize the measurements: scramble all texts and replace them with random strings" )) self.time_as_date.setText(_translate("batch_widget", "Time as date")) self.time_from_zero.setText(_translate("batch_widget", "Time from 0s")) self.reduce_memory_usage.setText( _translate("batch_widget", "Reduce memory usage")) self.label_71.setText(_translate("batch_widget", "Compression")) self.label_66.setText(_translate("batch_widget", "Empty channels")) self.single_time_base.setText( _translate("batch_widget", "Single time base")) self.use_display_names.setText( _translate("batch_widget", "Use display names")) self.raw.setText(_translate("batch_widget", "Raw values")) self.use_display_names_mat.setText( _translate("batch_widget", "Use display names")) self.label_41.setText(_translate("batch_widget", ".mat oned_as")) self.time_from_zero_mat.setText( _translate("batch_widget", "Time from 0s")) self.label_72.setText(_translate("batch_widget", "Compression")) self.label_73.setText(_translate("batch_widget", ".mat format")) self.single_time_base_mat.setText( _translate("batch_widget", "Single time base")) self.reduce_memory_usage_mat.setText( _translate("batch_widget", "Reduce memory usage")) self.time_as_date_mat.setText( _translate("batch_widget", "Time as date")) self.label_74.setText(_translate("batch_widget", "Empty channels")) self.raw_mat.setText(_translate("batch_widget", "Raw values")) self.groupBox.setTitle(_translate("batch_widget", "Output folder")) self.modify_output_folder.setPlaceholderText( _translate("batch_widget", "please select an output folder")) self.apply_btn.setText(_translate("batch_widget", "Apply")) self.aspects.setTabText(self.aspects.indexOf(self.convert_tab), _translate("batch_widget", "Modify && Export")) self.aspects.setTabToolTip(self.aspects.indexOf(self.convert_tab), _translate("batch_widget", "conv")) self.stack_sync.setText( _translate("batch_widget", "Sync using measurements timestamps")) self.stack_add_samples_origin.setText( _translate("batch_widget", "Add samples origin file")) self.label_26.setText(_translate("batch_widget", "Output format")) self.label_25.setText(_translate("batch_widget", "Compression")) self.stack_split.setText( _translate("batch_widget", "Split data blocks")) self.label_23.setText(_translate("batch_widget", "Split size ")) self.stack_split_size.setSuffix(_translate("batch_widget", "MB")) self.stack_btn.setText(_translate("batch_widget", "Stack")) self.aspects.setTabText(self.aspects.indexOf(self.stack_tab), _translate("batch_widget", "Stack")) self.groupBox_3.setTitle(_translate("batch_widget", "CSV")) self.time_from_zero_bus.setText( _translate("batch_widget", "Time from 0s")) self.label_28.setText(_translate("batch_widget", "Raster")) self.export_raster_bus.setSuffix(_translate("batch_widget", "s")) self.extract_bus_csv_btn.setText( _translate("batch_widget", "Export to CSV ")) self.single_time_base_bus.setText( _translate("batch_widget", "Single time base")) self.ignore_invalid_signals_csv.setToolTip( _translate( "batch_widget", "checks if all samples are eauql to the maximum teoretical signal value" )) self.ignore_invalid_signals_csv.setText( _translate("batch_widget", "Ignore invalid signals")) self.label_29.setText(_translate("batch_widget", "Empty channels")) self.bus_time_as_date.setText( _translate("batch_widget", "Time as date")) self.groupBox_2.setTitle(_translate("batch_widget", "MDF")) self.extract_bus_btn.setText( _translate("batch_widget", "Extract Bus signals")) self.label__1.setText(_translate("batch_widget", "Compression")) self.label_24.setText(_translate("batch_widget", "Version")) self.ignore_invalid_signals_mdf.setToolTip( _translate( "batch_widget", "checks if all samples are eauql to the maximum teoretical signal value" )) self.ignore_invalid_signals_mdf.setText( _translate("batch_widget", "Ignore invalid signals")) self.load_can_database_btn.setText( _translate("batch_widget", "Load CAN database")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("batch_widget", "CAN")) self.load_lin_database_btn.setText( _translate("batch_widget", "Load LIN database")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("batch_widget", "LIN")) self.aspects.setTabText(self.aspects.indexOf(self.extract_bus_tab), _translate("batch_widget", "Bus logging"))
class Ui_SearchDialog(object): def setupUi(self, SearchDialog): SearchDialog.setObjectName("SearchDialog") SearchDialog.resize(795, 455) SearchDialog.setSizeGripEnabled(True) self.gridLayout_2 = QtWidgets.QGridLayout(SearchDialog) self.gridLayout_2.setObjectName("gridLayout_2") self.tabs = QtWidgets.QTabWidget(SearchDialog) self.tabs.setObjectName("tabs") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.gridLayout = QtWidgets.QGridLayout(self.tab) self.gridLayout.setObjectName("gridLayout") self.match_kind = QtWidgets.QComboBox(self.tab) self.match_kind.setObjectName("match_kind") self.match_kind.addItem("") self.match_kind.addItem("") self.gridLayout.addWidget(self.match_kind, 0, 0, 1, 1) self.search_box = QtWidgets.QLineEdit(self.tab) self.search_box.setText("") self.search_box.setObjectName("search_box") self.gridLayout.addWidget(self.search_box, 1, 0, 1, 1) self.label = QtWidgets.QLabel(self.tab) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 1, 2, 1, 1) self.matches = QtWidgets.QListWidget(self.tab) self.matches.setSelectionMode( QtWidgets.QAbstractItemView.ExtendedSelection) self.matches.setObjectName("matches") self.gridLayout.addWidget(self.matches, 2, 0, 2, 1) self.add_btn = QtWidgets.QPushButton(self.tab) self.add_btn.setText("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/left.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.add_btn.setIcon(icon) self.add_btn.setObjectName("add_btn") self.gridLayout.addWidget(self.add_btn, 2, 1, 1, 1) self.selection = MinimalListWidget(self.tab) self.selection.setObjectName("selection") self.gridLayout.addWidget(self.selection, 2, 2, 2, 1) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 3, 1, 1, 1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.cancel_btn = QtWidgets.QPushButton(self.tab) self.cancel_btn.setObjectName("cancel_btn") self.horizontalLayout.addWidget(self.cancel_btn) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.add_window_btn = QtWidgets.QPushButton(self.tab) self.add_window_btn.setObjectName("add_window_btn") self.horizontalLayout.addWidget(self.add_window_btn) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem2) self.apply_btn = QtWidgets.QPushButton(self.tab) self.apply_btn.setObjectName("apply_btn") self.horizontalLayout.addWidget(self.apply_btn) self.horizontalLayout.setStretch(1, 1) self.gridLayout.addLayout(self.horizontalLayout, 4, 0, 1, 3) self.status = QtWidgets.QLabel(self.tab) self.status.setText("") self.status.setObjectName("status") self.gridLayout.addWidget(self.status, 5, 0, 1, 1) self.tabs.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.gridLayout_3 = QtWidgets.QGridLayout(self.tab_2) self.gridLayout_3.setObjectName("gridLayout_3") self.label_4 = QtWidgets.QLabel(self.tab_2) self.label_4.setObjectName("label_4") self.gridLayout_3.addWidget(self.label_4, 3, 1, 1, 1) self.apply_pattern_btn = QtWidgets.QPushButton(self.tab_2) self.apply_pattern_btn.setObjectName("apply_pattern_btn") self.gridLayout_3.addWidget(self.apply_pattern_btn, 7, 4, 1, 1) self.filter_value = QtWidgets.QDoubleSpinBox(self.tab_2) self.filter_value.setDecimals(6) self.filter_value.setMinimum(-1e+31) self.filter_value.setMaximum(1e+24) self.filter_value.setObjectName("filter_value") self.gridLayout_3.addWidget(self.filter_value, 3, 2, 1, 1) self.label_2 = QtWidgets.QLabel(self.tab_2) self.label_2.setObjectName("label_2") self.gridLayout_3.addWidget(self.label_2, 0, 1, 1, 1) self.label_3 = QtWidgets.QLabel(self.tab_2) self.label_3.setObjectName("label_3") self.gridLayout_3.addWidget(self.label_3, 2, 1, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(20, 254, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_3.addItem(spacerItem3, 6, 1, 1, 1) self.cancel_pattern_btn = QtWidgets.QPushButton(self.tab_2) self.cancel_pattern_btn.setObjectName("cancel_pattern_btn") self.gridLayout_3.addWidget(self.cancel_pattern_btn, 7, 1, 1, 1) spacerItem4 = QtWidgets.QSpacerItem(282, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem4, 7, 3, 1, 1) self.pattern = QtWidgets.QLineEdit(self.tab_2) self.pattern.setMinimumSize(QtCore.QSize(300, 0)) self.pattern.setObjectName("pattern") self.gridLayout_3.addWidget(self.pattern, 0, 2, 1, 1) self.define_ranges_btn = QtWidgets.QPushButton(self.tab_2) self.define_ranges_btn.setObjectName("define_ranges_btn") self.gridLayout_3.addWidget(self.define_ranges_btn, 5, 2, 1, 1) self.pattern_match_type = QtWidgets.QComboBox(self.tab_2) self.pattern_match_type.setObjectName("pattern_match_type") self.pattern_match_type.addItem("") self.pattern_match_type.addItem("") self.gridLayout_3.addWidget(self.pattern_match_type, 1, 2, 1, 1) self.filter_type = QtWidgets.QComboBox(self.tab_2) self.filter_type.setObjectName("filter_type") self.filter_type.addItem("") self.filter_type.addItem("") self.filter_type.addItem("") self.filter_type.addItem("") self.gridLayout_3.addWidget(self.filter_type, 2, 2, 1, 1) self.label_5 = QtWidgets.QLabel(self.tab_2) self.label_5.setObjectName("label_5") self.gridLayout_3.addWidget(self.label_5, 1, 1, 1, 1) self.raw = QtWidgets.QCheckBox(self.tab_2) self.raw.setObjectName("raw") self.gridLayout_3.addWidget(self.raw, 4, 2, 1, 1) self.gridLayout_3.setColumnStretch(3, 1) self.gridLayout_3.setRowStretch(4, 1) self.tabs.addTab(self.tab_2, "") self.gridLayout_2.addWidget(self.tabs, 0, 0, 1, 1) self.retranslateUi(SearchDialog) self.tabs.setCurrentIndex(0) self.match_kind.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(SearchDialog) SearchDialog.setTabOrder(self.search_box, self.matches) SearchDialog.setTabOrder(self.matches, self.add_btn) SearchDialog.setTabOrder(self.add_btn, self.selection) SearchDialog.setTabOrder(self.selection, self.add_window_btn) SearchDialog.setTabOrder(self.add_window_btn, self.apply_btn) SearchDialog.setTabOrder(self.apply_btn, self.cancel_btn) SearchDialog.setTabOrder(self.cancel_btn, self.match_kind) def retranslateUi(self, SearchDialog): _translate = QtCore.QCoreApplication.translate SearchDialog.setWindowTitle(_translate("SearchDialog", "Dialog")) self.match_kind.setItemText(0, _translate("SearchDialog", "Wildcard")) self.match_kind.setItemText(1, _translate("SearchDialog", "Regex")) self.label.setText(_translate("SearchDialog", "Final selection")) self.matches.setSortingEnabled(True) self.cancel_btn.setText(_translate("SearchDialog", "Cancel")) self.add_window_btn.setText(_translate("SearchDialog", "Add window")) self.apply_btn.setText(_translate("SearchDialog", "Apply")) self.tabs.setTabText(self.tabs.indexOf(self.tab), _translate("SearchDialog", "Search")) self.label_4.setText(_translate("SearchDialog", "Filter value")) self.apply_pattern_btn.setText(_translate("SearchDialog", "Apply")) self.label_2.setText(_translate("SearchDialog", "Pattern")) self.label_3.setText(_translate("SearchDialog", "Filter type")) self.cancel_pattern_btn.setText(_translate("SearchDialog", "Cancel")) self.define_ranges_btn.setText( _translate("SearchDialog", "Define ranges")) self.pattern_match_type.setItemText( 0, _translate("SearchDialog", "Wildcard")) self.pattern_match_type.setItemText( 1, _translate("SearchDialog", "Regex")) self.filter_type.setItemText(0, _translate("SearchDialog", "Unspecified")) self.filter_type.setItemText(1, _translate("SearchDialog", "Contains")) self.filter_type.setItemText( 2, _translate("SearchDialog", "Do not contain")) self.filter_type.setItemText(3, _translate("SearchDialog", "Constant")) self.label_5.setText(_translate("SearchDialog", "Match type")) self.raw.setText( _translate("SearchDialog", "Asses the raw channel values")) self.tabs.setTabText( self.tabs.indexOf(self.tab_2), _translate("SearchDialog", "Pattern based window"))