def define_section2(self, initial = True):
     """defining section 2: choose alleles
     """
     self.log.debug("Setting up section2 of ENASubmissionForm...")
     mywidget = QWidget(self)
     layout = QHBoxLayout()
     mywidget.setLayout(layout)
     mywidget.setMinimumHeight(250)
     self.project_info = ProjectInfoTable(self.project, self.log, self)
     self.project_info.setMaximumWidth(300)
     self.project_info.setMinimumWidth(200)
     layout.addWidget(self.project_info)
     self.project_info.project_info.connect(self.catch_project_info)
     
     self.project_files = ENAFileChoiceTable(self.project, self.log, self)
     layout.addWidget(self.project_files)
     self.project_files.files_chosen.connect(self.project_info.update_files_chosen)
     self.project_files.files.connect(self.project_info.update_files)
     
     items = [self.project_info.item(3,0)]
     self.submit_btn = ProceedButton("Submit to ENA", items, self.log, 1, self)
     self.submit_btn.proceed.connect(self.submit_to_ENA)
     self.submit_btn.setMinimumWidth(100)
     layout.addWidget(self.submit_btn)
     self.project_info.updated.connect(self.submit_btn.check_ready)
     
     self.sections.append(("(2) Choose alleles to submit:", mywidget))
    def get_notifications_widget(self):
        """
        Create and return notification QWidget for hosts and services

        :return: notifications QWidget
        :rtype: QWidget
        """

        notification_widget = QWidget()
        notification_layout = QGridLayout()
        notification_widget.setLayout(notification_layout)
        notification_widget.setMinimumHeight(150)

        host_notif_widget = self.get_hosts_notif_widget()
        notification_layout.addWidget(host_notif_widget, 0, 0, 1, 1)

        services_notif_widget = self.get_services_notif_widget()
        notification_layout.addWidget(services_notif_widget, 0, 1, 1, 1)

        return notification_widget