text: # -*- coding: utf-8 -*-
  
  # Form implementation generated from reading ui file '.\base_GUI.ui'
  #
  # Created by: PyQt5 UI code generator 5.15.3
  #
  # WARNING: Any manual changes made to this file will be lost when pyuic5 is
  # run again.  Do not edit this file unless you know what you are doing.
  
  
  from PyQt5 import QtCore, QtGui, QtWidgets
  import os
  
  class Ui_DB_explorer(object):
      def setupUi(self, DB_explorer):
          icon = QtGui.QIcon()
          plg_dir = os.path.dirname(__file__)
          icon.addPixmap(QtGui.QPixmap(plg_dir+"\\heartbeat.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
          DB_explorer.setWindowIcon(icon)
          DB_explorer.setObjectName("DB_explorer")
          DB_explorer.resize(900, 450)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(DB_explorer.sizePolicy().hasHeightForWidth())
          DB_explorer.setSizePolicy(sizePolicy)
          DB_explorer.setMinimumSize(QtCore.QSize(900, 450))
          self.centralwidget = QtWidgets.QWidget(DB_explorer)
          self.centralwidget.setObjectName("centralwidget")
          self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.centralwidget)
          self.horizontalLayout_8.setObjectName("horizontalLayout_8")
          self.verticalLayout_3 = QtWidgets.QVBoxLayout()
          self.verticalLayout_3.setSizeConstraint(QtWidgets.QLayout.SetNoConstraint)
          self.verticalLayout_3.setObjectName("verticalLayout_3")
          self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
          self.horizontalLayout_4.setObjectName("horizontalLayout_4")
          self.Dataset_label = QLabel_Clickable(self.centralwidget)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Maximum)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.Dataset_label.sizePolicy().hasHeightForWidth())
          self.Dataset_label.setSizePolicy(sizePolicy)
          palette = QtGui.QPalette()
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
          self.Dataset_label.setPalette(palette)
          font = QtGui.QFont()
          font.setUnderline(True)
          self.Dataset_label.setFont(font)
          self.Dataset_label.setOpenExternalLinks(True)
          self.Dataset_label.setObjectName("Dataset_label")
          self.horizontalLayout_4.addWidget(self.Dataset_label)
          self.label_11 = QtWidgets.QLabel(self.centralwidget)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.label_11.sizePolicy().hasHeightForWidth())
          self.label_11.setSizePolicy(sizePolicy)
          self.label_11.setMinimumSize(QtCore.QSize(1, 20))
          self.label_11.setText("")
          self.label_11.setObjectName("label_11")
          self.horizontalLayout_4.addWidget(self.label_11)
          self.verticalLayout_3.addLayout(self.horizontalLayout_4)
          self.groupBox_3 = QtWidgets.QGroupBox(self.centralwidget)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.groupBox_3.sizePolicy().hasHeightForWidth())
          self.groupBox_3.setSizePolicy(sizePolicy)
          palette = QtGui.QPalette()
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
          self.groupBox_3.setPalette(palette)
          font = QtGui.QFont()
          font.setUnderline(False)
          self.groupBox_3.setFont(font)
          self.groupBox_3.setObjectName("groupBox_3")
          self.gridLayout = QtWidgets.QGridLayout(self.groupBox_3)
          self.gridLayout.setObjectName("gridLayout")
          self.verticalLayout_2 = QtWidgets.QVBoxLayout()
          self.verticalLayout_2.setObjectName("verticalLayout_2")
          self.verticalLayout = QtWidgets.QVBoxLayout()
          self.verticalLayout.setObjectName("verticalLayout")
          self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
          self.horizontalLayout_5.setSizeConstraint(QtWidgets.QLayout.SetMinAndMaxSize)
          self.horizontalLayout_5.setObjectName("horizontalLayout_5")
          self.label_10 = QtWidgets.QLabel(self.groupBox_3)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.label_10.sizePolicy().hasHeightForWidth())
          self.label_10.setSizePolicy(sizePolicy)
          palette = QtGui.QPalette()
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
          brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
          brush.setStyle(QtCore.Qt.SolidPattern)
          palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
          self.label_10.setPalette(palette)
          font = QtGui.QFont()
          font.setUnderline(False)
          self.label_10.setFont(font)
          self.label_10.setObjectName("label_10")
          self.horizontalLayout_5.addWidget(self.label_10)
          self.lineEdit = lineEdit_autocomplete(self.groupBox_3)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.lineEdit.sizePolicy().hasHeightForWidth())
          self.lineEdit.setSizePolicy(sizePolicy)
          font = QtGui.QFont()
          font.setUnderline(False)
          self.lineEdit.setFont(font)
          self.lineEdit.setObjectName("lineEdit")
          self.horizontalLayout_5.addWidget(self.lineEdit)
          self.verticalLayout.addLayout(self.horizontalLayout_5)
          self.subject_list = QtWidgets.QListWidget(self.groupBox_3)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.subject_list.sizePolicy().hasHeightForWidth())
          self.subject_list.setSizePolicy(sizePolicy)
          self.subject_list.setMinimumSize(QtCore.QSize(1, 50))
          font = QtGui.QFont()
          font.setUnderline(False)
          self.subject_list.setFont(font)
          self.subject_list.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustIgnored)
          self.subject_list.setObjectName("subject_list")
          self.verticalLayout.addWidget(self.subject_list)
          self.verticalLayout_2.addLayout(self.verticalLayout)
          self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
          self.horizontalLayout_6.setObjectName("horizontalLayout_6")
          self.verticalLayout_2.addLayout(self.horizontalLayout_6)
          self.gridLayout.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
          self.verticalLayout_3.addWidget(self.groupBox_3)
          self.horizontalLayout_8.addLayout(self.verticalLayout_3)
          spacerItem = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
          self.horizontalLayout_8.addItem(spacerItem)
          self.verticalLayout_5 = QtWidgets.QVBoxLayout()
          self.verticalLayout_5.setSizeConstraint(QtWidgets.QLayout.SetNoConstraint)
          self.verticalLayout_5.setObjectName("verticalLayout_5")
          spacerItem1 = QtWidgets.QSpacerItem(20, 26, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
          self.verticalLayout_5.addItem(spacerItem1)
          self.groupBox_4 = QtWidgets.QGroupBox(self.centralwidget)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.groupBox_4.sizePolicy().hasHeightForWidth())
          self.groupBox_4.setSizePolicy(sizePolicy)
          self.groupBox_4.setObjectName("groupBox_4")
          self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_4)
          self.gridLayout_2.setObjectName("gridLayout_2")
          self.verticalLayout_4 = QtWidgets.QVBoxLayout()
          self.verticalLayout_4.setObjectName("verticalLayout_4")
          self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
          self.horizontalLayout_7.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
          self.horizontalLayout_7.setObjectName("horizontalLayout_7")
          self.label_9 = QtWidgets.QLabel(self.groupBox_4)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.label_9.sizePolicy().hasHeightForWidth())
          self.label_9.setSizePolicy(sizePolicy)
          self.label_9.setMaximumSize(QtCore.QSize(16777215, 19))
          self.label_9.setObjectName("label_9")
          self.horizontalLayout_7.addWidget(self.label_9)
          self.lineEdit_2 = lineEdit_autocomplete2(self.groupBox_4)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.lineEdit_2.sizePolicy().hasHeightForWidth())
          self.lineEdit_2.setSizePolicy(sizePolicy)
          self.lineEdit_2.setObjectName("lineEdit_2")
          self.horizontalLayout_7.addWidget(self.lineEdit_2)
          self.verticalLayout_4.addLayout(self.horizontalLayout_7)
          self.recordings_list = QtWidgets.QListWidget(self.groupBox_4)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.recordings_list.sizePolicy().hasHeightForWidth())
          self.recordings_list.setSizePolicy(sizePolicy)
          self.recordings_list.setMinimumSize(QtCore.QSize(1, 50))
          self.recordings_list.setObjectName("recordings_list")
          self.verticalLayout_4.addWidget(self.recordings_list)
          self.gridLayout_2.addLayout(self.verticalLayout_4, 0, 0, 1, 1)
          self.verticalLayout_5.addWidget(self.groupBox_4)
          self.horizontalLayout_8.addLayout(self.verticalLayout_5)
          spacerItem2 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
          self.horizontalLayout_8.addItem(spacerItem2)
          self.verticalLayout_9 = QtWidgets.QVBoxLayout()
          self.verticalLayout_9.setSizeConstraint(QtWidgets.QLayout.SetNoConstraint)
          self.verticalLayout_9.setObjectName("verticalLayout_9")
          self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
          self.horizontalLayout_9.setObjectName("horizontalLayout_9")
          self.verticalLayout_9.addLayout(self.horizontalLayout_9)
          self.verticalLayout_8 = QtWidgets.QVBoxLayout()
          self.verticalLayout_8.setSizeConstraint(QtWidgets.QLayout.SetNoConstraint)
          self.verticalLayout_8.setObjectName("verticalLayout_8")
          self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
          self.groupBox.setSizePolicy(sizePolicy)
          self.groupBox.setMinimumSize(QtCore.QSize(0, 0))
          self.groupBox.setObjectName("groupBox")
          self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.groupBox)
          self.verticalLayout_10.setObjectName("verticalLayout_10")
          self.annotations_list = QtWidgets.QListWidget(self.groupBox)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.annotations_list.sizePolicy().hasHeightForWidth())
          self.annotations_list.setSizePolicy(sizePolicy)
          self.annotations_list.setMinimumSize(QtCore.QSize(0, 50))
          self.annotations_list.setMaximumSize(QtCore.QSize(16777215, 100))
          self.annotations_list.setObjectName("annotations_list")
          self.verticalLayout_10.addWidget(self.annotations_list)
          self.verticalLayout_8.addWidget(self.groupBox)
          self.groupBox_2 = QtWidgets.QGroupBox(self.centralwidget)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
          self.groupBox_2.setSizePolicy(sizePolicy)
          self.groupBox_2.setObjectName("groupBox_2")
          self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.groupBox_2)
          self.verticalLayout_11.setObjectName("verticalLayout_11")
          self.label = QtWidgets.QLabel(self.groupBox_2)
          self.label.setObjectName("label")
          self.verticalLayout_11.addWidget(self.label)
          self.verticalLayout_7 = QtWidgets.QVBoxLayout()
          self.verticalLayout_7.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
          self.verticalLayout_7.setContentsMargins(1, 1, 1, 1)
          self.verticalLayout_7.setObjectName("verticalLayout_7")
          self.verticalLayout_6 = QtWidgets.QVBoxLayout()
          self.verticalLayout_6.setSizeConstraint(QtWidgets.QLayout.SetNoConstraint)
          self.verticalLayout_6.setObjectName("verticalLayout_6")
          self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
          self.horizontalLayout_10.setObjectName("horizontalLayout_10")
          self.verticalLayout_6.addLayout(self.horizontalLayout_10)
          self.events_list = QtWidgets.QListWidget(self.groupBox_2)
          sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
          sizePolicy.setHorizontalStretch(0)
          sizePolicy.setVerticalStretch(0)
          sizePolicy.setHeightForWidth(self.events_list.sizePolicy().hasHeightForWidth())
          self.events_list.setSizePolicy(sizePolicy)
          self.events_list.setMinimumSize(QtCore.QSize(0, 50))
          self.events_list.setObjectName("events_list")
          self.verticalLayout_6.addWidget(self.events_list)
          self.verticalLayout_7.addLayout(self.verticalLayout_6)
          self.pushButton_8 = QtWidgets.QPushButton(self.groupBox_2)
          self.pushButton_8.setObjectName("pushButton_8")
          self.verticalLayout_7.addWidget(self.pushButton_8)
          self.verticalLayout_11.addLayout(self.verticalLayout_7)
          self.verticalLayout_8.addWidget(self.groupBox_2)
          self.verticalLayout_9.addLayout(self.verticalLayout_8)
          self.horizontalLayout_8.addLayout(self.verticalLayout_9)
          DB_explorer.setCentralWidget(self.centralwidget)
          self.menubar = QtWidgets.QMenuBar(DB_explorer)
          self.menubar.setGeometry(QtCore.QRect(0, 0, 900, 25))
          self.menubar.setObjectName("menubar")
          DB_explorer.setMenuBar(self.menubar)
          self.statusbar = QtWidgets.QStatusBar(DB_explorer)
          self.statusbar.setObjectName("statusbar")
          DB_explorer.setStatusBar(self.statusbar)
  
          self.retranslateUi(DB_explorer)
          QtCore.QMetaObject.connectSlotsByName(DB_explorer)
  
      def retranslateUi(self, DB_explorer):
          _translate = QtCore.QCoreApplication.translate
          DB_explorer.setWindowTitle(_translate("DB_explorer", "Database explorer"))
          self.Dataset_label.setText(_translate("DB_explorer", "Dataset:"))
          self.groupBox_3.setTitle(_translate("DB_explorer", "Subject"))
          self.label_10.setText(_translate("DB_explorer", "Find:"))
          self.groupBox_4.setTitle(_translate("DB_explorer", "Recordings"))
          self.label_9.setText(_translate("DB_explorer", "Find:"))
          self.groupBox.setTitle(_translate("DB_explorer", "Annotations"))
          self.groupBox_2.setTitle(_translate("DB_explorer", "Events"))
          self.label.setText(_translate("DB_explorer", "label start-end [s]"))
          self.pushButton_8.setText(_translate("DB_explorer", "Temporal Profile"))
  from qt_designer.additional_qtclasses import QLabel_Clickable, lineEdit_autocomplete, lineEdit_autocomplete2
  
  
  if __name__ == "__main__":
      import sys
      app = QtWidgets.QApplication(sys.argv)
      DB_explorer = QtWidgets.QMainWindow()
      ui = Ui_DB_explorer()
      ui.setupUi(DB_explorer)
      DB_explorer.show()
      sys.exit(app.exec_())
  