Visual GUI builder #2315
Replies: 5 comments 5 replies
-
Toga does not have a visual designer similar to Qt Designer. We hope to eventually develop a tool like this. At present, our focus is on developing the widgets that a designer app would use. 翻譯自Google翻譯 Toga 沒有類似 Qt Designer 的視覺設計器。 我們希望最終能開發出這樣的工具。 目前,我們的重點是開發設計器應用程式將使用的小部件。 |
Beta Was this translation helpful? Give feedback.
-
Just an idea: |
Beta Was this translation helpful? Give feedback.
-
When I used to do cross-platform development with wxWidgets, my favorite tool was https://github.com/wxFormBuilder/wxFormBuilder . It would be good to have a similar tool in the togo ecosystem. |
Beta Was this translation helpful? Give feedback.
-
The 1st step in supporting a form builder/designer of some kind is to develop a system in toga to use data to auto-generate a layout. Traditionally that is done with XML, but I think it could be done much more easily with a dict (and therefor be serialized with any format you want.) You need to do this even if you intend to make a designer directly generate code - the designer would need this representation internally. To do this, the API needs to be stable. The 0th step, therefor, is to get Toga to a (near) finished state before you do any of that. |
Beta Was this translation helpful? Give feedback.
-
the old NetBeans GUI Builder (Codenamed Matisse) swings, JFC ... was able to generate Java stub classes directly, without the need of a markup language. I've always found it more intuitive to use than any custom-made language like the one kivy uses. |
Beta Was this translation helpful? Give feedback.
-
可能翻译会出现一些问题,但我并不会英语,如果官方能留意到这条讨论,是一件十分荣幸的事。
我不久前为了构建一个控制物联网设备的py的app发愁,偶然发现了这个库,但是文档并没有指出该库那些位置有那些控件,这些控件的具体api的相关参数等等也没有进行说明,我也不是很想直接翻阅源代码,于是幻想着toge能否有一个类似pyqt那边的qt设计师那样的可视化编程程序。
我大概的浅读了toge的文档,我发现其和qt有是地方是类似的思想(或者是api和一些项目结构设计类似),不知道能不能将qt设计师生成的 .ui 文件经过编译转换为符合toge要求的py程序,这样做也方便我在使用中学习toge的结构和使用方式,也非常利于我基于beeware构建自己的应用程序。
如果beeware或者说toge有类似pyqt的qt设计师那种可视化编程程序,我相信beeware一定会更突出,而我也不会在考虑其他框架作为我使用py实现gui程序的首选。
Translation via Google Translate:
There may be some translation problems, but I don't speak English. It would be a great honor if the official could pay attention to this discussion.
Not long ago, I was worried about building a py app to control Internet of Things devices, and accidentally discovered this library. However, the document did not indicate which controls are located in the library, and the specific API related parameters of these controls were not explained. I didn't really want to read the source code directly, so I fantasized about whether toge could have a visual programming program similar to the qt designer on pyqt.
I briefly read the toge document and found that it has similar ideas to qt (or the API is similar to some project structure designs). I wonder if the .ui file generated by qt designer can be compiled. Convert it to a py program that meets the requirements of toge. This also facilitates me to learn the structure and usage of toge during use, and is also very helpful for me to build my own application based on beeware.
If beeware or toge has a visual programming program similar to pyqt's qt designer, I believe beeware will be more prominent, and I will not consider other frameworks as my first choice for using py to implement gui programs.
Beta Was this translation helpful? Give feedback.
All reactions