Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.29 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.29 KB

PyQt5-MVC-Template

⚠️ Template is Outdated and needs rework

Usage

  1. Install Dependencies: pip3 install -r requirements.txt
  2. Start App: python3 src/mvc_app.py

Development

Dev Requirements

  • Install QT-Creator
    1. Download QT-Creator installer.
    2. Select QT *.* for desktop development in the installer.

Various Infos

Change to GUI

QTCreator is used to create the visual representation of the GUI (view component). With the QTCreator, the GUI can be created with a graphical interface, and then the corresponding python code can be generated. The generated code must not be modified by hand to make GUI layout adjustments, otherwise the QTCreator and the generated files are no longer coherent.

The QTCreator files to create the views can be found in the ./src/views folder.

Workflow

  1. Edit .ui files in QT-Creator

  2. Convert .ui files to .py for PyQt5 with pyuic5

    pyuic5 .\src\views\mainView.ui -o .\src\views\main_view_ui.p