Skip to content
Snippets Groups Projects
Select Git revision
  • eae7c6db7ce923198ea9b735ab388061dd4b8f87
  • master default protected
  • replication_test
  • release-1.10 protected
  • dev protected
  • 556-usage-statistics
  • 553-semantic-recommendation-2
  • 553-semantic-recommendation
  • release-1.9 protected
  • 551-init-broker-service-permissions
  • 549-test-oai-pmh
  • 545-saving-multiple-times-breaks-pid-metadata
  • 499-standalone-compute-service-2
  • 539-load-tests
  • hotfix/helm-chart
  • luca_ba_new_interface
  • 534-bug-when-adding-access-to-user-that-is-not-registered-at-dashboard-service
  • release-1.8 protected
  • 533-integrate-semantic-recommendation
  • feature/openshift
  • 518-spark-doesn-t-map-the-headers-correct
  • v1.10.4 protected
  • v1.10.3 protected
  • v1.10.2 protected
  • v1.10.1 protected
  • v1.10.0-rc13 protected
  • v1.10.0-rc12 protected
  • v1.10.0-rc11 protected
  • v1.10.0-rc10 protected
  • v1.10.0-rc9 protected
  • v1.10.0-rc8 protected
  • v1.10.0-rc7 protected
  • v1.10.0-rc6 protected
  • v1.10.0-rc5 protected
  • v1.10.0-rc4 protected
  • v1.10.0-rc3 protected
  • v1.10.0-rc2 protected
  • v1.10.0rc1 protected
  • v1.10.0rc0 protected
  • v1.10.0 protected
  • v1.9.3 protected
41 results

data.py

Blame
  • gui_main.py 909 B
    import sys
    import os
    from PyQt6.QtWidgets import QApplication, QMainWindow
    
    from lifescale.gui.MainWindow import Ui_MainWindow
    
    
    class MainWindow(QMainWindow, Ui_MainWindow):
        """Main Window of the application."""
    
        def __init__(self):
            """Initializer."""
    
            # GUI:
            super().__init__()
            self.setupUi(self)
    
            # Connect signals and slots:
    
            # Set up GUI items and widgets:
    
            # Init models:
    
    
    def main():
        """Main program to start the GUI."""
        # Create the application
        app = QApplication(sys.argv)
    
        # Create and show the application's main window
        main_window = MainWindow()
        main_window.show()
        # Run the application's main loop:
        sys.exit(
            app.exec())  # exit or error code of Qt (app.exec_) is passed to sys.exit. Terminates pgm with standard python method
    
    
    if __name__ == "__main__":
        """Main Program."""
        main()