Python 是一个 Model-View-Controller 应用程序生成器,用于自动创建 PyQt 和 PySide 应用程序。
Python 是一个 Model-View-Controller 应用程序生成器,用于自动创建 PyQt 和 PySide 应用程序。
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:
…暂无开放 Issues,或尚未同步最近议题。