code: def create(self):
          
          b0 = QGroupBox('Dataset')
          form = QFormLayout()
          b0.setLayout(form)
  
          open_rec = QPushButton('Open Dataset...')
          open_rec.clicked.connect(self.open_dataset)
          open_rec.setToolTip('Click here to open a new recording')
          self.idx_filename = open_rec
          self.idx_s_freq = QLabel('')
          self.idx_n_chan = QLabel('')
          self.idx_start_time = QLabel('')
          self.idx_end_time = QLabel('')
  
          form.addRow('Filename:', self.idx_filename)
          form.addRow('Sampl. Freq:', self.idx_s_freq)
          form.addRow('N. Channels:', self.idx_n_chan)
          form.addRow('Start Time: ', self.idx_start_time)
          form.addRow('End Time: ', self.idx_end_time)
  
          b1 = QGroupBox('View')
          form = QFormLayout()
          b1.setLayout(form)
  
          self.idx_start = QLabel('')
          self.idx_start.setToolTip('Start time in seconds from the beginning of'
                                    ' the recordings')
          self.idx_length = QLabel('')
          self.idx_length.setToolTip('Duration of the time window in seconds')
          self.idx_scaling = QLabel('')
          self.idx_scaling.setToolTip('Global scaling for all the channels')
          self.idx_distance = QLabel('')
          self.idx_distance.setToolTip('Visual distances between the traces of '
                                       'individual channels')
  
          form.addRow('Start Time:', self.idx_start)
          form.addRow('Length:', self.idx_length)
          form.addRow('Scaling:', self.idx_scaling)
          form.addRow('Distance:', self.idx_distance)
  
          layout = QVBoxLayout()
          layout.addWidget(b0)
          layout.addWidget(b1)
  
          self.setLayout(layout)
docs: Create the widget layout with all the information.