Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的问题并非特定于 Python/PyQt4,而是我目前使用的语言和 api。我想知道是否有一个库可以从对象的公共参数自动生成 GUI 表单。这对于自动设置生成非常有用。
无需搜索完全适合的库。另外,我认为,这是不必要的和浪费时间。有很多令人沮丧的问题,例如本地化设置、数字格式设置、验证问题等。
我建议,使用 Qt 设计器表单布局来快速创建表单。然后使用 pyqt4/QValidation,你可以使用一些正则表达式(python 新的正则表达式模块比 QRegExp 更好)。
同时,通过 jsonpickle 或仅 python pickle 管理自定义对象。
Am trying to play YouTube and other videos by embedding it in the HTML source for displaying them in iOS.
Both <embed> and <object>
<embed>
<object>