Source code for tommy.view.menu_bar

import os

from PySide6.QtGui import QAction
from PySide6.QtWidgets import QMenuBar, QWidget, QFileDialog, \
    QLabel, QDialog, QVBoxLayout, \
    QMessageBox

from tommy.controller.export_controller import ExportController
from tommy.controller.project_settings_controller import \
    ProjectSettingsController
from tommy.controller.saving_loading_controller import SavingLoadingController
from tommy.controller.topic_modelling_controller import \
    TopicModellingController
from tommy.support.constant_variables import (
    prim_col_red, dark_prim_col_red, extra_light_gray, text_font)
from tommy.view.error_view import ErrorView






[docs] class AboutDialog(QDialog): def __init__(self, parent: QWidget = None) -> None: super().__init__(parent) self.setWindowTitle("Over") self.setMinimumSize(350, 150) layout = QVBoxLayout() label = QLabel(""" <div style='text-align: center;'> <p>This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course.</p> <p>© Copyright Utrecht University<br/> (Department of Information and Computing Sciences)</p> </div> """) label.setWordWrap(True) layout.addWidget(label) self.setLayout(layout)
""" This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course. © Copyright Utrecht University (Department of Information and Computing Sciences) """