Framework for the Model-View-Controller GUI pattern using PyQt with Qt Designer
Project description
pyqt-mvc-w-designer
Framework for the Model-View-Controller GUI pattern using PyQt with Qt Designer
Motivation
Python is my favorite programming language for prototyping and developing tools. Often these tools can benefit from a Graphical User Interface (GUI). I've always found it difficult to design and layout a GUI in code. Writing lines like "window.addButton(x=256, y=347)" just wasn't cutting it for me. Then I discovered PyQt and Qt Designer. Qt Designer is an application that lets you layout your Qt window or widget by dragging and dropping elements into a canvas. PyQt is a Qt library for python that allows the user interface (UI) files output by Qt Designer to be used to build Qt applications in python. This is exactly what I was looking for. However, I felt that using Qt Designer to develop PyQt applications did not lend itself well to the Model-View-Controller (MVC) design pattern, which I find the most intuitive for GUI development. This library aims to solve that problem. It allows you to design the visual components of your widgets or main application using Qt Designer (including nesting custom widgets inside other widgets) and create controllers for those widgets in python. It also gives you the option of placing your main widget inside a commonly used main window with a console output and other useful features. It allows you to develop a GUI in python using Qt Designer and the MVC pattern while decoupling the UI layout from the control code.
How to Make an Application with pyqt-mvc-w-designer
Install Qt Designer
Download and install Qt Designer here.
Install pyqt-mvc-w-designer
TODO
How to Contribute to pyqt-mvc-w-designer
TODO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyqt-mvc-w-designer-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dab423e1ce8cde454e0c98a8ce33c75aa08a3b170bdae6ab4f18722c4004083b |
|
MD5 | ea3d4b2fd536334131224cda5ae0dd7a |
|
BLAKE2b-256 | a82bc36bc486ba7fee6205a5cdc5d280d17de0f71bc6f720dff5e81bda8887d9 |
Hashes for pyqt_mvc_w_designer-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80ec4ace4d24894ed2b74e8d808533787c4d9d4f2130339f821674b2ea1cec70 |
|
MD5 | 58f83b83b326bf3b0d6ee4f1ff6aedef |
|
BLAKE2b-256 | 4dac74c9e99de0595c8100027dc3211dc0b266508d7dff108344c00f009f0f78 |