示例#1
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(1151, 856)
        self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
        self.buttonBox.setGeometry(QtCore.QRect(940, 820, 201, 32))
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel
                                          | QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.graphicsView = GraphicsLayoutWidget(Dialog)
        self.graphicsView.setGeometry(QtCore.QRect(0, 0, 1151, 661))
        self.graphicsView.setMouseTracking(False)
        self.graphicsView.setObjectName("graphicsView")
        self.graphicsView_sub = GraphicsLayoutWidget(Dialog)
        self.graphicsView_sub.setGeometry(QtCore.QRect(0, 650, 1151, 81))
        self.graphicsView_sub.setObjectName("graphicsView_sub")
        self.HorizontalSliderFmin = QtWidgets.QSlider(Dialog)
        self.HorizontalSliderFmin.setGeometry(QtCore.QRect(80, 740, 321, 31))
        self.HorizontalSliderFmin.setStyleSheet("")
        self.HorizontalSliderFmin.setPageStep(10)
        self.HorizontalSliderFmin.setOrientation(QtCore.Qt.Horizontal)
        self.HorizontalSliderFmin.setTickPosition(QtWidgets.QSlider.TicksBelow)
        self.HorizontalSliderFmin.setObjectName("HorizontalSliderFmin")
        self.HorizontalSliderFmax = QtWidgets.QSlider(Dialog)
        self.HorizontalSliderFmax.setGeometry(QtCore.QRect(80, 780, 321, 31))
        self.HorizontalSliderFmax.setOrientation(QtCore.Qt.Horizontal)
        self.HorizontalSliderFmax.setTickPosition(QtWidgets.QSlider.TicksAbove)
        self.HorizontalSliderFmax.setObjectName("HorizontalSliderFmax")
        self.label = QtWidgets.QLabel(Dialog)
        self.label.setGeometry(QtCore.QRect(30, 750, 51, 16))
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.label_2 = QtWidgets.QLabel(Dialog)
        self.label_2.setGeometry(QtCore.QRect(30, 790, 51, 16))
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.LabelFmin = QtWidgets.QLabel(Dialog)
        self.LabelFmin.setGeometry(QtCore.QRect(420, 746, 91, 20))
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.LabelFmin.setFont(font)
        self.LabelFmin.setText("")
        self.LabelFmin.setObjectName("LabelFmin")
        self.LabelFmax = QtWidgets.QLabel(Dialog)
        self.LabelFmax.setGeometry(QtCore.QRect(420, 785, 91, 21))
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.LabelFmax.setFont(font)
        self.LabelFmax.setText("")
        self.LabelFmax.setObjectName("LabelFmax")
        self.PushButtonAllPlot = QtWidgets.QPushButton(Dialog)
        self.PushButtonAllPlot.setGeometry(QtCore.QRect(840, 740, 121, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.PushButtonAllPlot.setFont(font)
        self.PushButtonAllPlot.setStyleSheet("background-color: linen")
        self.PushButtonAllPlot.setObjectName("PushButtonAllPlot")
        self.ComboBoxSelectChannels = QtWidgets.QComboBox(Dialog)
        self.ComboBoxSelectChannels.setGeometry(QtCore.QRect(
            530, 750, 271, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.ComboBoxSelectChannels.setFont(font)
        self.ComboBoxSelectChannels.setObjectName("ComboBoxSelectChannels")
        self.PushButtonVideoSync = QtWidgets.QPushButton(Dialog)
        self.PushButtonVideoSync.setGeometry(QtCore.QRect(980, 740, 121, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        self.PushButtonVideoSync.setFont(font)
        self.PushButtonVideoSync.setStyleSheet(
            "background-color: rgb(229, 204, 255)")
        self.PushButtonVideoSync.setObjectName("PushButtonVideoSync")
        self.SpinBoxAverage = QtWidgets.QSpinBox(Dialog)
        self.SpinBoxAverage.setGeometry(QtCore.QRect(242, 820, 51, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.SpinBoxAverage.setFont(font)
        self.SpinBoxAverage.setObjectName("SpinBoxAverage")
        self.label_3 = QtWidgets.QLabel(Dialog)
        self.label_3.setGeometry(QtCore.QRect(80, 825, 151, 21))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        self.label_3.setFont(font)
        self.label_3.setObjectName("label_3")
        self.label_4 = QtWidgets.QLabel(Dialog)
        self.label_4.setGeometry(QtCore.QRect(300, 830, 62, 15))
        self.label_4.setObjectName("label_4")
        self.label_5 = QtWidgets.QLabel(Dialog)
        self.label_5.setGeometry(QtCore.QRect(340, 825, 191, 21))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        self.label_5.setFont(font)
        self.label_5.setObjectName("label_5")
        self.TextEditEvent = QtWidgets.QTextEdit(Dialog)
        self.TextEditEvent.setGeometry(QtCore.QRect(530, 820, 231, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        self.TextEditEvent.setFont(font)
        self.TextEditEvent.setObjectName("TextEditEvent")
        self.label_6 = QtWidgets.QLabel(Dialog)
        self.label_6.setGeometry(QtCore.QRect(780, 825, 141, 21))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        self.label_6.setFont(font)
        self.label_6.setObjectName("label_6")
        self.label_7 = QtWidgets.QLabel(Dialog)
        self.label_7.setGeometry(QtCore.QRect(530, 800, 91, 16))
        self.label_7.setObjectName("label_7")
        self.PushButtonPeakDetect = QtWidgets.QPushButton(Dialog)
        self.PushButtonPeakDetect.setGeometry(QtCore.QRect(840, 780, 121, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.PushButtonPeakDetect.setFont(font)
        self.PushButtonPeakDetect.setStyleSheet("background-color: linen")
        self.PushButtonPeakDetect.setObjectName("PushButtonPeakDetect")

        self.retranslateUi(Dialog)
        self.buttonBox.accepted.connect(Dialog.accept)
        self.buttonBox.rejected.connect(Dialog.reject)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
        self.label.setText(_translate("Dialog", "fmin"))
        self.label_2.setText(_translate("Dialog", "fmax"))
        self.PushButtonAllPlot.setText(_translate("Dialog", "All_Plot"))
        self.PushButtonVideoSync.setText(_translate("Dialog", "Video_Sync"))
        self.label_3.setText(_translate("Dialog", "a: average_filter"))
        self.label_4.setText(_translate("Dialog", "pnts"))
        self.label_5.setText(_translate("Dialog", "e: add_event_onset"))
        self.label_6.setText(_translate("Dialog", "d: delete_event"))
        self.label_7.setText(_translate("Dialog", "event_name"))
        self.PushButtonPeakDetect.setText(_translate("Dialog", "Peak_Detect"))
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.setEnabled(True)
        MainWindow.resize(1201, 818)
        MainWindow.setMinimumSize(QtCore.QSize(1024, 700))
        self.centralwidget = QtGui.QWidget(MainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.select_file_button = QtGui.QPushButton(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.select_file_button.setFont(font)
        self.select_file_button.setObjectName(_fromUtf8("select_file_button"))
        self.horizontalLayout.addWidget(self.select_file_button)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.central_tab = QtGui.QTabWidget(self.centralwidget)
        self.central_tab.setObjectName(_fromUtf8("central_tab"))
        self.waveform_tab = QtGui.QWidget()
        self.waveform_tab.setObjectName(_fromUtf8("waveform_tab"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.waveform_tab)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.group_by_network_check_box = QtGui.QCheckBox(self.waveform_tab)
        self.group_by_network_check_box.setChecked(True)
        self.group_by_network_check_box.setObjectName(_fromUtf8("group_by_network_check_box"))
        self.verticalLayout_3.addWidget(self.group_by_network_check_box)
        self.station_view = StationTreeWidget(self.waveform_tab)
        self.station_view.setAnimated(False)
        self.station_view.setHeaderHidden(True)
        self.station_view.setObjectName(_fromUtf8("station_view"))
        self.station_view.headerItem().setText(0, _fromUtf8("1"))
        self.verticalLayout_3.addWidget(self.station_view)
        self.web_view = QtWebKit.QWebView(self.waveform_tab)
        self.web_view.setUrl(QtCore.QUrl(_fromUtf8("about:blank")))
        self.web_view.setObjectName(_fromUtf8("web_view"))
        self.verticalLayout_3.addWidget(self.web_view)
        self.verticalLayout_3.setStretch(0, 1)
        self.verticalLayout_3.setStretch(1, 10)
        self.verticalLayout_3.setStretch(2, 4)
        self.horizontalLayout_3.addLayout(self.verticalLayout_3)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.reset_view_push_button = QtGui.QPushButton(self.waveform_tab)
        self.reset_view_push_button.setEnabled(False)
        self.reset_view_push_button.setObjectName(_fromUtf8("reset_view_push_button"))
        self.horizontalLayout_2.addWidget(self.reset_view_push_button)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.detrend_and_demean_check_box = QtGui.QCheckBox(self.waveform_tab)
        self.detrend_and_demean_check_box.setObjectName(_fromUtf8("detrend_and_demean_check_box"))
        self.horizontalLayout_2.addWidget(self.detrend_and_demean_check_box)
        self.normalize_check_box = QtGui.QCheckBox(self.waveform_tab)
        self.normalize_check_box.setObjectName(_fromUtf8("normalize_check_box"))
        self.horizontalLayout_2.addWidget(self.normalize_check_box)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.references_push_button = QtGui.QPushButton(self.waveform_tab)
        self.references_push_button.setObjectName(_fromUtf8("references_push_button"))
        self.horizontalLayout_2.addWidget(self.references_push_button)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.graph = GraphicsLayoutWidget(self.waveform_tab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.graph.sizePolicy().hasHeightForWidth())
        self.graph.setSizePolicy(sizePolicy)
        self.graph.setMouseTracking(False)
        self.graph.setToolTip(_fromUtf8(""))
        self.graph.setObjectName(_fromUtf8("graph"))
        self.verticalLayout_2.addWidget(self.graph)
        self.horizontalLayout_3.addLayout(self.verticalLayout_2)
        self.horizontalLayout_3.setStretch(0, 3)
        self.horizontalLayout_3.setStretch(1, 10)
        self.central_tab.addTab(self.waveform_tab, _fromUtf8("Waveforms"))
        self.auxiliary_data_tab = QtGui.QWidget()
        self.auxiliary_data_tab.setObjectName(_fromUtf8("auxiliary_data_tab"))
        self.horizontalLayout_11 = QtGui.QHBoxLayout(self.auxiliary_data_tab)
        self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11"))
        self.auxiliary_data_tree_view = QtGui.QTreeWidget(self.auxiliary_data_tab)
        self.auxiliary_data_tree_view.setObjectName(_fromUtf8("auxiliary_data_tree_view"))
        self.auxiliary_data_tree_view.headerItem().setText(0, _fromUtf8("1"))
        self.auxiliary_data_tree_view.header().setVisible(False)
        self.horizontalLayout_11.addWidget(self.auxiliary_data_tree_view)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.auxiliary_data_stacked_widget = QtGui.QStackedWidget(self.auxiliary_data_tab)
        self.auxiliary_data_stacked_widget.setObjectName(_fromUtf8("auxiliary_data_stacked_widget"))
        self.auxiliary_data_graph_page = QtGui.QWidget()
        self.auxiliary_data_graph_page.setObjectName(_fromUtf8("auxiliary_data_graph_page"))
        self.horizontalLayout_8 = QtGui.QHBoxLayout(self.auxiliary_data_graph_page)
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.auxiliary_data_graph = GraphicsLayoutWidget(self.auxiliary_data_graph_page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.auxiliary_data_graph.sizePolicy().hasHeightForWidth())
        self.auxiliary_data_graph.setSizePolicy(sizePolicy)
        self.auxiliary_data_graph.setMouseTracking(False)
        self.auxiliary_data_graph.setToolTip(_fromUtf8(""))
        self.auxiliary_data_graph.setObjectName(_fromUtf8("auxiliary_data_graph"))
        self.horizontalLayout_8.addWidget(self.auxiliary_data_graph)
        self.auxiliary_data_stacked_widget.addWidget(self.auxiliary_data_graph_page)
        self.auxiliary_data_file_page = QtGui.QWidget()
        self.auxiliary_data_file_page.setObjectName(_fromUtf8("auxiliary_data_file_page"))
        self.horizontalLayout_9 = QtGui.QHBoxLayout(self.auxiliary_data_file_page)
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.auxiliary_file_browser = QtGui.QTextBrowser(self.auxiliary_data_file_page)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Andale Mono"))
        font.setPointSize(12)
        self.auxiliary_file_browser.setFont(font)
        self.auxiliary_file_browser.setObjectName(_fromUtf8("auxiliary_file_browser"))
        self.horizontalLayout_9.addWidget(self.auxiliary_file_browser)
        self.auxiliary_data_stacked_widget.addWidget(self.auxiliary_data_file_page)
        self.verticalLayout_4.addWidget(self.auxiliary_data_stacked_widget)
        self.horizontalLayout_10 = QtGui.QHBoxLayout()
        self.horizontalLayout_10.setObjectName(_fromUtf8("horizontalLayout_10"))
        self.show_auxiliary_provenance_button = QtGui.QPushButton(self.auxiliary_data_tab)
        self.show_auxiliary_provenance_button.setEnabled(False)
        self.show_auxiliary_provenance_button.setAutoDefault(False)
        self.show_auxiliary_provenance_button.setDefault(False)
        self.show_auxiliary_provenance_button.setFlat(False)
        self.show_auxiliary_provenance_button.setObjectName(_fromUtf8("show_auxiliary_provenance_button"))
        self.horizontalLayout_10.addWidget(self.show_auxiliary_provenance_button)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_10.addItem(spacerItem3)
        self.verticalLayout_4.addLayout(self.horizontalLayout_10)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.groupBox = QtGui.QGroupBox(self.auxiliary_data_tab)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.groupBox)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.auxiliary_data_info_table_view = QtGui.QTableWidget(self.groupBox)
        self.auxiliary_data_info_table_view.setObjectName(_fromUtf8("auxiliary_data_info_table_view"))
        self.auxiliary_data_info_table_view.setColumnCount(0)
        self.auxiliary_data_info_table_view.setRowCount(0)
        self.auxiliary_data_info_table_view.horizontalHeader().setSortIndicatorShown(False)
        self.horizontalLayout_5.addWidget(self.auxiliary_data_info_table_view)
        self.horizontalLayout_7.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(self.auxiliary_data_tab)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.auxiliary_data_detail_table_view = QtGui.QTableWidget(self.groupBox_2)
        self.auxiliary_data_detail_table_view.setObjectName(_fromUtf8("auxiliary_data_detail_table_view"))
        self.auxiliary_data_detail_table_view.setColumnCount(0)
        self.auxiliary_data_detail_table_view.setRowCount(0)
        self.horizontalLayout_6.addWidget(self.auxiliary_data_detail_table_view)
        self.horizontalLayout_7.addWidget(self.groupBox_2)
        self.verticalLayout_4.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_11.addLayout(self.verticalLayout_4)
        self.horizontalLayout_11.setStretch(0, 3)
        self.horizontalLayout_11.setStretch(1, 10)
        self.central_tab.addTab(self.auxiliary_data_tab, _fromUtf8(""))
        self.provenance_tab = QtGui.QWidget()
        self.provenance_tab.setObjectName(_fromUtf8("provenance_tab"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.provenance_tab)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.provenance_list_view = QtGui.QListView(self.provenance_tab)
        self.provenance_list_view.setObjectName(_fromUtf8("provenance_list_view"))
        self.horizontalLayout_4.addWidget(self.provenance_list_view)
        self.provenance_graphics_view = SvgGraphicsView(self.provenance_tab)
        self.provenance_graphics_view.setObjectName(_fromUtf8("provenance_graphics_view"))
        self.horizontalLayout_4.addWidget(self.provenance_graphics_view)
        self.horizontalLayout_4.setStretch(0, 3)
        self.horizontalLayout_4.setStretch(1, 10)
        self.central_tab.addTab(self.provenance_tab, _fromUtf8(""))
        self.event_tab = QtGui.QWidget()
        self.event_tab.setObjectName(_fromUtf8("event_tab"))
        self.horizontalLayout_12 = QtGui.QHBoxLayout(self.event_tab)
        self.horizontalLayout_12.setObjectName(_fromUtf8("horizontalLayout_12"))
        self.event_tree_widget = QtGui.QTreeWidget(self.event_tab)
        self.event_tree_widget.setObjectName(_fromUtf8("event_tree_widget"))
        self.event_tree_widget.headerItem().setText(0, _fromUtf8("1"))
        self.event_tree_widget.header().setVisible(False)
        self.horizontalLayout_12.addWidget(self.event_tree_widget)
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.events_web_view = QtWebKit.QWebView(self.event_tab)
        self.events_web_view.setUrl(QtCore.QUrl(_fromUtf8("about:blank")))
        self.events_web_view.setObjectName(_fromUtf8("events_web_view"))
        self.verticalLayout_5.addWidget(self.events_web_view)
        self.events_text_browser = QtGui.QTextBrowser(self.event_tab)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Andale Mono"))
        font.setPointSize(12)
        self.events_text_browser.setFont(font)
        self.events_text_browser.setObjectName(_fromUtf8("events_text_browser"))
        self.verticalLayout_5.addWidget(self.events_text_browser)
        self.verticalLayout_5.setStretch(0, 1)
        self.verticalLayout_5.setStretch(1, 1)
        self.horizontalLayout_12.addLayout(self.verticalLayout_5)
        self.horizontalLayout_12.setStretch(0, 4)
        self.horizontalLayout_12.setStretch(1, 6)
        self.central_tab.addTab(self.event_tab, _fromUtf8(""))
        self.verticalLayout.addWidget(self.central_tab)
        MainWindow.setCentralWidget(self.centralwidget)
        self.status_bar = QtGui.QStatusBar(MainWindow)
        self.status_bar.setObjectName(_fromUtf8("status_bar"))
        MainWindow.setStatusBar(self.status_bar)

        self.retranslateUi(MainWindow)
        self.central_tab.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "ASDF Sextant", None))
        self.select_file_button.setText(_translate("MainWindow", "Open File", None))
        self.group_by_network_check_box.setText(_translate("MainWindow", "Group By Network", None))
        self.station_view.setSortingEnabled(False)
        self.reset_view_push_button.setText(_translate("MainWindow", "Reset View", None))
        self.detrend_and_demean_check_box.setText(_translate("MainWindow", "Detrend and Demean", None))
        self.normalize_check_box.setText(_translate("MainWindow", "Normalize", None))
        self.references_push_button.setText(_translate("MainWindow", "References", None))
        self.show_auxiliary_provenance_button.setText(_translate("MainWindow", "Show Provenance", None))
        self.groupBox.setTitle(_translate("MainWindow", "Data Information", None))
        self.groupBox_2.setTitle(_translate("MainWindow", "Parameters", None))
        self.central_tab.setTabText(self.central_tab.indexOf(self.auxiliary_data_tab), _translate("MainWindow", "Auxiliary Data", None))
        self.central_tab.setTabText(self.central_tab.indexOf(self.provenance_tab), _translate("MainWindow", "Provenance", None))
        self.central_tab.setTabText(self.central_tab.indexOf(self.event_tab), _translate("MainWindow", "Events", None))
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.setEnabled(True)
        MainWindow.resize(1201, 818)
        MainWindow.setMinimumSize(QtCore.QSize(1024, 700))
        self.centralwidget = QtGui.QWidget(MainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.select_file_button = QtGui.QPushButton(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.select_file_button.setFont(font)
        self.select_file_button.setObjectName(_fromUtf8("select_file_button"))
        self.horizontalLayout.addWidget(self.select_file_button)
        self.label = QtGui.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.central_tab = QtGui.QTabWidget(self.centralwidget)
        self.central_tab.setObjectName(_fromUtf8("central_tab"))
        self.waveform_tab = QtGui.QWidget()
        self.waveform_tab.setObjectName(_fromUtf8("waveform_tab"))
        self.horizontalLayout_13 = QtGui.QHBoxLayout(self.waveform_tab)
        self.horizontalLayout_13.setObjectName(
            _fromUtf8("horizontalLayout_13"))
        self.waveform_vertical_splitter = QtGui.QSplitter(self.waveform_tab)
        self.waveform_vertical_splitter.setOrientation(QtCore.Qt.Horizontal)
        self.waveform_vertical_splitter.setObjectName(
            _fromUtf8("waveform_vertical_splitter"))
        self.layoutWidget = QtGui.QWidget(self.waveform_vertical_splitter)
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.label_2 = QtGui.QLabel(self.layoutWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_3.addWidget(self.label_2)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.close_file_button = QtGui.QPushButton(self.layoutWidget)
        self.close_file_button.setObjectName(_fromUtf8("close_file_button"))
        self.horizontalLayout_3.addWidget(self.close_file_button)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.open_files_list_widget = QtGui.QListWidget(self.layoutWidget)
        self.open_files_list_widget.setMinimumSize(QtCore.QSize(0, 125))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.open_files_list_widget.setFont(font)
        self.open_files_list_widget.setObjectName(
            _fromUtf8("open_files_list_widget"))
        self.verticalLayout_3.addWidget(self.open_files_list_widget)
        self.waveform_left_side_splitter = QtGui.QSplitter(self.layoutWidget)
        self.waveform_left_side_splitter.setOrientation(QtCore.Qt.Vertical)
        self.waveform_left_side_splitter.setObjectName(
            _fromUtf8("waveform_left_side_splitter"))
        self.station_view = StationTreeWidget(self.waveform_left_side_splitter)
        self.station_view.setAnimated(False)
        self.station_view.setHeaderHidden(True)
        self.station_view.setObjectName(_fromUtf8("station_view"))
        self.station_view.headerItem().setText(0, _fromUtf8("1"))
        self.web_view = QtWebKit.QWebView(self.waveform_left_side_splitter)
        self.web_view.setProperty("url", QtCore.QUrl(_fromUtf8("about:blank")))
        self.web_view.setObjectName(_fromUtf8("web_view"))
        self.verticalLayout_3.addWidget(self.waveform_left_side_splitter)
        self.layoutWidget1 = QtGui.QWidget(self.waveform_vertical_splitter)
        self.layoutWidget1.setObjectName(_fromUtf8("layoutWidget1"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.layoutWidget1)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.reset_view_push_button = QtGui.QPushButton(self.layoutWidget1)
        self.reset_view_push_button.setEnabled(False)
        self.reset_view_push_button.setObjectName(
            _fromUtf8("reset_view_push_button"))
        self.horizontalLayout_2.addWidget(self.reset_view_push_button)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.detrend_and_demean_check_box = QtGui.QCheckBox(self.layoutWidget1)
        self.detrend_and_demean_check_box.setObjectName(
            _fromUtf8("detrend_and_demean_check_box"))
        self.horizontalLayout_2.addWidget(self.detrend_and_demean_check_box)
        self.normalize_check_box = QtGui.QCheckBox(self.layoutWidget1)
        self.normalize_check_box.setObjectName(
            _fromUtf8("normalize_check_box"))
        self.horizontalLayout_2.addWidget(self.normalize_check_box)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.custom_processing_check_box = QtGui.QCheckBox(self.layoutWidget1)
        self.custom_processing_check_box.setText(_fromUtf8(""))
        self.custom_processing_check_box.setObjectName(
            _fromUtf8("custom_processing_check_box"))
        self.horizontalLayout_2.addWidget(self.custom_processing_check_box)
        self.custom_processing_push_button = QtGui.QPushButton(
            self.layoutWidget1)
        self.custom_processing_push_button.setObjectName(
            _fromUtf8("custom_processing_push_button"))
        self.horizontalLayout_2.addWidget(self.custom_processing_push_button)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem4)
        self.references_push_button = QtGui.QPushButton(self.layoutWidget1)
        self.references_push_button.setObjectName(
            _fromUtf8("references_push_button"))
        self.horizontalLayout_2.addWidget(self.references_push_button)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.graph = GraphicsLayoutWidget(self.layoutWidget1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.graph.sizePolicy().hasHeightForWidth())
        self.graph.setSizePolicy(sizePolicy)
        self.graph.setMouseTracking(False)
        self.graph.setToolTip(_fromUtf8(""))
        self.graph.setObjectName(_fromUtf8("graph"))
        self.verticalLayout_2.addWidget(self.graph)
        self.horizontalLayout_13.addWidget(self.waveform_vertical_splitter)
        self.central_tab.addTab(self.waveform_tab, _fromUtf8("Waveforms"))
        self.auxiliary_data_tab = QtGui.QWidget()
        self.auxiliary_data_tab.setObjectName(_fromUtf8("auxiliary_data_tab"))
        self.horizontalLayout_11 = QtGui.QHBoxLayout(self.auxiliary_data_tab)
        self.horizontalLayout_11.setObjectName(
            _fromUtf8("horizontalLayout_11"))
        self.auxiliary_data_tree_view = QtGui.QTreeWidget(
            self.auxiliary_data_tab)
        self.auxiliary_data_tree_view.setObjectName(
            _fromUtf8("auxiliary_data_tree_view"))
        self.auxiliary_data_tree_view.headerItem().setText(0, _fromUtf8("1"))
        self.auxiliary_data_tree_view.header().setVisible(False)
        self.horizontalLayout_11.addWidget(self.auxiliary_data_tree_view)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.auxiliary_data_stacked_widget = QtGui.QStackedWidget(
            self.auxiliary_data_tab)
        self.auxiliary_data_stacked_widget.setObjectName(
            _fromUtf8("auxiliary_data_stacked_widget"))
        self.auxiliary_data_graph_page = QtGui.QWidget()
        self.auxiliary_data_graph_page.setObjectName(
            _fromUtf8("auxiliary_data_graph_page"))
        self.horizontalLayout_8 = QtGui.QHBoxLayout(
            self.auxiliary_data_graph_page)
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.auxiliary_data_graph = GraphicsLayoutWidget(
            self.auxiliary_data_graph_page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.auxiliary_data_graph.sizePolicy().hasHeightForWidth())
        self.auxiliary_data_graph.setSizePolicy(sizePolicy)
        self.auxiliary_data_graph.setMouseTracking(False)
        self.auxiliary_data_graph.setToolTip(_fromUtf8(""))
        self.auxiliary_data_graph.setObjectName(
            _fromUtf8("auxiliary_data_graph"))
        self.horizontalLayout_8.addWidget(self.auxiliary_data_graph)
        self.auxiliary_data_stacked_widget.addWidget(
            self.auxiliary_data_graph_page)
        self.auxiliary_data_file_page = QtGui.QWidget()
        self.auxiliary_data_file_page.setObjectName(
            _fromUtf8("auxiliary_data_file_page"))
        self.horizontalLayout_9 = QtGui.QHBoxLayout(
            self.auxiliary_data_file_page)
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.auxiliary_file_browser = QtGui.QTextBrowser(
            self.auxiliary_data_file_page)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Andale Mono"))
        font.setPointSize(12)
        self.auxiliary_file_browser.setFont(font)
        self.auxiliary_file_browser.setObjectName(
            _fromUtf8("auxiliary_file_browser"))
        self.horizontalLayout_9.addWidget(self.auxiliary_file_browser)
        self.auxiliary_data_stacked_widget.addWidget(
            self.auxiliary_data_file_page)
        self.verticalLayout_4.addWidget(self.auxiliary_data_stacked_widget)
        self.horizontalLayout_10 = QtGui.QHBoxLayout()
        self.horizontalLayout_10.setObjectName(
            _fromUtf8("horizontalLayout_10"))
        self.show_auxiliary_provenance_button = QtGui.QPushButton(
            self.auxiliary_data_tab)
        self.show_auxiliary_provenance_button.setEnabled(False)
        self.show_auxiliary_provenance_button.setAutoDefault(False)
        self.show_auxiliary_provenance_button.setDefault(False)
        self.show_auxiliary_provenance_button.setFlat(False)
        self.show_auxiliary_provenance_button.setObjectName(
            _fromUtf8("show_auxiliary_provenance_button"))
        self.horizontalLayout_10.addWidget(
            self.show_auxiliary_provenance_button)
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_10.addItem(spacerItem5)
        self.verticalLayout_4.addLayout(self.horizontalLayout_10)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.groupBox = QtGui.QGroupBox(self.auxiliary_data_tab)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.groupBox)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.auxiliary_data_info_table_view = QtGui.QTableWidget(self.groupBox)
        self.auxiliary_data_info_table_view.setObjectName(
            _fromUtf8("auxiliary_data_info_table_view"))
        self.auxiliary_data_info_table_view.setColumnCount(0)
        self.auxiliary_data_info_table_view.setRowCount(0)
        self.auxiliary_data_info_table_view.horizontalHeader(
        ).setSortIndicatorShown(False)
        self.horizontalLayout_5.addWidget(self.auxiliary_data_info_table_view)
        self.horizontalLayout_7.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(self.auxiliary_data_tab)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.auxiliary_data_detail_table_view = QtGui.QTableWidget(
            self.groupBox_2)
        self.auxiliary_data_detail_table_view.setObjectName(
            _fromUtf8("auxiliary_data_detail_table_view"))
        self.auxiliary_data_detail_table_view.setColumnCount(0)
        self.auxiliary_data_detail_table_view.setRowCount(0)
        self.horizontalLayout_6.addWidget(
            self.auxiliary_data_detail_table_view)
        self.horizontalLayout_7.addWidget(self.groupBox_2)
        self.verticalLayout_4.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_11.addLayout(self.verticalLayout_4)
        self.horizontalLayout_11.setStretch(0, 3)
        self.horizontalLayout_11.setStretch(1, 10)
        self.central_tab.addTab(self.auxiliary_data_tab, _fromUtf8(""))
        self.provenance_tab = QtGui.QWidget()
        self.provenance_tab.setObjectName(_fromUtf8("provenance_tab"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.provenance_tab)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.provenance_list_view = QtGui.QListView(self.provenance_tab)
        self.provenance_list_view.setObjectName(
            _fromUtf8("provenance_list_view"))
        self.horizontalLayout_4.addWidget(self.provenance_list_view)
        self.provenance_graphics_view = SvgGraphicsView(self.provenance_tab)
        self.provenance_graphics_view.setObjectName(
            _fromUtf8("provenance_graphics_view"))
        self.horizontalLayout_4.addWidget(self.provenance_graphics_view)
        self.horizontalLayout_4.setStretch(0, 3)
        self.horizontalLayout_4.setStretch(1, 10)
        self.central_tab.addTab(self.provenance_tab, _fromUtf8(""))
        self.event_tab = QtGui.QWidget()
        self.event_tab.setObjectName(_fromUtf8("event_tab"))
        self.horizontalLayout_12 = QtGui.QHBoxLayout(self.event_tab)
        self.horizontalLayout_12.setObjectName(
            _fromUtf8("horizontalLayout_12"))
        self.event_tree_widget = QtGui.QTreeWidget(self.event_tab)
        self.event_tree_widget.setObjectName(_fromUtf8("event_tree_widget"))
        self.event_tree_widget.headerItem().setText(0, _fromUtf8("1"))
        self.event_tree_widget.header().setVisible(False)
        self.horizontalLayout_12.addWidget(self.event_tree_widget)
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.events_web_view = QtWebKit.QWebView(self.event_tab)
        self.events_web_view.setProperty("url",
                                         QtCore.QUrl(_fromUtf8("about:blank")))
        self.events_web_view.setObjectName(_fromUtf8("events_web_view"))
        self.verticalLayout_5.addWidget(self.events_web_view)
        self.events_text_browser = QtGui.QTextBrowser(self.event_tab)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Andale Mono"))
        font.setPointSize(12)
        self.events_text_browser.setFont(font)
        self.events_text_browser.setObjectName(
            _fromUtf8("events_text_browser"))
        self.verticalLayout_5.addWidget(self.events_text_browser)
        self.verticalLayout_5.setStretch(0, 1)
        self.verticalLayout_5.setStretch(1, 1)
        self.horizontalLayout_12.addLayout(self.verticalLayout_5)
        self.horizontalLayout_12.setStretch(0, 4)
        self.horizontalLayout_12.setStretch(1, 6)
        self.central_tab.addTab(self.event_tab, _fromUtf8(""))
        self.verticalLayout.addWidget(self.central_tab)
        MainWindow.setCentralWidget(self.centralwidget)
        self.status_bar = QtGui.QStatusBar(MainWindow)
        self.status_bar.setObjectName(_fromUtf8("status_bar"))
        MainWindow.setStatusBar(self.status_bar)

        self.retranslateUi(MainWindow)
        self.central_tab.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(
            _translate("MainWindow", "ASDF Sextant", None))
        self.select_file_button.setText(
            _translate("MainWindow", "Open File", None))
        self.label.setText(
            _translate("MainWindow",
                       "Or just drag & drop an ASDF file into this window",
                       None))
        self.label_2.setText(_translate("MainWindow", "Open Files", None))
        self.close_file_button.setText(
            _translate("MainWindow", "Close File", None))
        self.station_view.setSortingEnabled(False)
        self.reset_view_push_button.setText(
            _translate("MainWindow", "Reset View", None))
        self.detrend_and_demean_check_box.setText(
            _translate("MainWindow", "Detrend and Demean", None))
        self.normalize_check_box.setText(
            _translate("MainWindow", "Normalize", None))
        self.custom_processing_push_button.setText(
            _translate("MainWindow", "Custom Processing", None))
        self.references_push_button.setText(
            _translate("MainWindow", "References", None))
        self.show_auxiliary_provenance_button.setText(
            _translate("MainWindow", "Show Provenance", None))
        self.groupBox.setTitle(
            _translate("MainWindow", "Data Information", None))
        self.groupBox_2.setTitle(_translate("MainWindow", "Parameters", None))
        self.central_tab.setTabText(
            self.central_tab.indexOf(self.auxiliary_data_tab),
            _translate("MainWindow", "Auxiliary Data", None))
        self.central_tab.setTabText(
            self.central_tab.indexOf(self.provenance_tab),
            _translate("MainWindow", "Provenance", None))
        self.central_tab.setTabText(self.central_tab.indexOf(self.event_tab),
                                    _translate("MainWindow", "Events", None))
示例#4
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(1725, 980)
        Dialog.setStyleSheet("background-color: white")
        self.graphicsView = GraphicsLayoutWidget(Dialog)
        self.graphicsView.setGeometry(QtCore.QRect(0, 0, 1711, 861))
        self.graphicsView.setMouseTracking(False)
        self.graphicsView.setObjectName("graphicsView")
        self.PushButtonEvents = QtWidgets.QPushButton(Dialog)
        self.PushButtonEvents.setGeometry(QtCore.QRect(10, 950, 111, 28))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.PushButtonEvents.setFont(font)
        self.PushButtonEvents.setStyleSheet(
            "background-color: rgb(229, 204, 255)")
        self.PushButtonEvents.setObjectName("PushButtonEvents")
        self.PushButtonEventsEdit = QtWidgets.QPushButton(Dialog)
        self.PushButtonEventsEdit.setGeometry(QtCore.QRect(140, 950, 111, 28))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.PushButtonEventsEdit.setFont(font)
        self.PushButtonEventsEdit.setStyleSheet(
            "background-color: rgb(229, 204, 255)")
        self.PushButtonEventsEdit.setObjectName("PushButtonEventsEdit")
        self.PushButtonOption = QtWidgets.QPushButton(Dialog)
        self.PushButtonOption.setGeometry(QtCore.QRect(10, 920, 71, 28))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.PushButtonOption.setFont(font)
        self.PushButtonOption.setStyleSheet(
            "background-color: rgb(229, 204, 255)")
        self.PushButtonOption.setObjectName("PushButtonOption")
        self.verticalScrollBar = QtWidgets.QScrollBar(Dialog)
        self.verticalScrollBar.setGeometry(QtCore.QRect(1710, 0, 16, 781))
        self.verticalScrollBar.setStyleSheet("background-color: gray")
        self.verticalScrollBar.setOrientation(QtCore.Qt.Vertical)
        self.verticalScrollBar.setObjectName("verticalScrollBar")
        self.horizontalScrollBar = QtWidgets.QScrollBar(Dialog)
        self.horizontalScrollBar.setGeometry(QtCore.QRect(140, 920, 1551, 31))
        self.horizontalScrollBar.setStyleSheet("background-color: gray")
        self.horizontalScrollBar.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalScrollBar.setObjectName("horizontalScrollBar")
        self.graphicsView_sub = GraphicsLayoutWidget(Dialog)
        self.graphicsView_sub.setGeometry(QtCore.QRect(0, 850, 1711, 81))
        self.graphicsView_sub.setObjectName("graphicsView_sub")
        self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
        self.buttonBox.setGeometry(QtCore.QRect(1500, 950, 211, 32))
        self.buttonBox.setStyleSheet("background-color: pink")
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel
                                          | QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.label = QtWidgets.QLabel(Dialog)
        self.label.setGeometry(QtCore.QRect(1290, 20, 381, 31))
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label.setAutoFillBackground(False)
        self.label.setStyleSheet("background-color: pink")
        self.label.setFrameShape(QtWidgets.QFrame.WinPanel)
        self.label.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label.setText("")
        self.label.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing
                                | QtCore.Qt.AlignVCenter)
        self.label.setObjectName("label")
        self.PushButtonPlayWithVideo = QtWidgets.QPushButton(Dialog)
        self.PushButtonPlayWithVideo.setGeometry(
            QtCore.QRect(830, 950, 131, 28))
        self.PushButtonPlayWithVideo.setStyleSheet(
            "background-color: lemonchiffon")
        self.PushButtonPlayWithVideo.setObjectName("PushButtonPlayWithVideo")
        self.PushButtonPSISettings = QtWidgets.QPushButton(Dialog)
        self.PushButtonPSISettings.setGeometry(QtCore.QRect(270, 950, 131, 28))
        self.PushButtonPSISettings.setStyleSheet(
            "background-color: rgb(229, 204, 255)")
        self.PushButtonPSISettings.setObjectName("PushButtonPSISettings")
        self.label_2 = QtWidgets.QLabel(Dialog)
        self.label_2.setGeometry(QtCore.QRect(980, 960, 171, 16))
        font = QtGui.QFont()
        font.setItalic(True)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.TextBrowserBad = QtWidgets.QTextBrowser(Dialog)
        self.TextBrowserBad.setGeometry(QtCore.QRect(1160, 950, 256, 31))
        self.TextBrowserBad.setObjectName("TextBrowserBad")
        self.PushButtonSpectogram = QtWidgets.QPushButton(Dialog)
        self.PushButtonSpectogram.setGeometry(QtCore.QRect(550, 950, 131, 28))
        self.PushButtonSpectogram.setStyleSheet("background-color: lavender")
        self.PushButtonSpectogram.setObjectName("PushButtonSpectogram")
        self.PushButtonInformationPlot = QtWidgets.QPushButton(Dialog)
        self.PushButtonInformationPlot.setGeometry(
            QtCore.QRect(690, 950, 131, 28))
        self.PushButtonInformationPlot.setStyleSheet(
            "background-color: lavender")
        self.PushButtonInformationPlot.setObjectName(
            "PushButtonInformationPlot")
        self.graphicsView_sub.raise_()
        self.graphicsView.raise_()
        self.PushButtonEvents.raise_()
        self.PushButtonEventsEdit.raise_()
        self.PushButtonOption.raise_()
        self.verticalScrollBar.raise_()
        self.horizontalScrollBar.raise_()
        self.buttonBox.raise_()
        self.label.raise_()
        self.PushButtonPlayWithVideo.raise_()
        self.PushButtonPSISettings.raise_()
        self.label_2.raise_()
        self.TextBrowserBad.raise_()
        self.PushButtonSpectogram.raise_()
        self.PushButtonInformationPlot.raise_()

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

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
        self.PushButtonEvents.setText(_translate("Dialog", "Events_check"))
        self.PushButtonEventsEdit.setText(_translate("Dialog", "Events_edit"))
        self.PushButtonOption.setText(_translate("Dialog", "Option"))
        self.PushButtonPlayWithVideo.setText(
            _translate("Dialog", "Play with Video"))
        self.PushButtonPSISettings.setText(
            _translate("Dialog", "InstantPSI_settings"))
        self.label_2.setText(_translate("Dialog",
                                        "Bad channels (\"b\" click)"))
        self.PushButtonSpectogram.setText(_translate("Dialog", "Spectrogram"))
        self.PushButtonInformationPlot.setText(
            _translate("Dialog", "Information_Plot"))