Skip to content

develmusa/PyQt5-MVC-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages