Python Model-View-Controller application generator for automating creation of PyQt and PySide applications.
Python Model-View-Controller application generator for automating creation of PyQt and PySide applications.
Script for auto-generating Model-View-Controller application template files for PyQt or PySide.
Manually creating model, view, controller, and application Python files can be tedious, repetitive, and error prone when dealing with a large number of widgets. This script auto-generates templates of these files based on an input file containing a list of widgets names. It generates code for the following classes:
pyuic4 or pyside-uicsetModel functions for widget types compatible with Qt modelsSee also this Stack Overflow post: http://stackoverflow.com/a/26699122/1470749
py_qt_mvc.py widget_names.txt
where widget_names.txt is a text file containing a widget name on each line, and each widget name starts with the widget type, e.g. pushButton_my_button.
Given a text file containing the widget name of comboBox_test, the following code would be generated:
…No open issues yet, or sync has not completed.