Any Designer for Wt like QtDesigner?
Added by Ehsan Mahdavi over 10 years ago
Hi all,
Is there any designer tool like QtDesigner to design pages and etc?
If no, is there any other way for designing pages else than explicit coding?
Coding every view is very painful and time consuming.
P.S. I've read some posts saying using WTemplate would be the solution. But I didn't understand it. Is there any tutorial about using it?
Thanks
Replies (6)
RE: Any Designer for Wt like QtDesigner? - Added by Koen Deforche over 10 years ago
Hey,
What people (including me) are hinting is that using WTemplate you can already separate functionality from layout. But a real designer (like Qt Designer) is not something that is on our road map.
koen
RE: Any Designer for Wt like QtDesigner? - Added by Kayra Akman over 10 years ago
Hi,
I have recently converted a small Qt application to Wt. I started by editing the automatically generated ui_window.h by uic (user interface compiler that converts Qt Designer's ui files in XML to C). Although I had to make a lot of changes, it also saved me significant time.
If you use a grid layout instead of a form layout in Qt Designer, then it is less work to convert the UI to Wt. Another advantage of the approach I have taken is that the default GUI project structure in Qt Creator already separates layout from functionality since the UI code is generated, so all the UI elements were accessible via a ui pointer in the main application class as usually done in Qt applications.
Although it was an interesting experiment, I wouldn't use this method for serious applications. Wt API does follow Qt's up to a point and that point is closer than I had expected.
RE: Any Designer for Wt like QtDesigner? - Added by Ehsan Mahdavi over 10 years ago
Dear Koen,
I understand that a designer is not what Wt team seeks for, and by your hint I think you meant using Wtemplate is not less painful.
But would you please and please show me a tutorial about using WTemplate? (If there exists one)
Thanks
RE: Any Designer for Wt like QtDesigner? - Added by Ehsan Mahdavi over 10 years ago
Hi, Kayra
My application is a wide one, which contains more than 200 forms, form dialogs and etc...
So I don't think that is one profitable way.
Thanks for ur response
RE: Any Designer for Wt like QtDesigner? - Added by Ehsan Mahdavi almost 10 years ago
Koen Deforche wrote:
Hey,
What people (including me) are hinting is that using WTemplate you can already separate functionality from layout. But a real designer (like Qt Designer) is not something that is on our road map.
koen
Hey Koen,
What is [DesignerWt[[http://www.designerwt.net/]]]?
It is published near the moments of your answer....
RE: Any Designer for Wt like QtDesigner? - Added by Juan Burgos over 9 years ago
Here you go, I have made my own designer, hope you find it useful:
http://redmine.webtoolkit.eu/boards/1/topics/12232
IMPORTANT for when installing in Windows:
1) If complains about missing a DLL, install the VS2013 redistributables included in the installer.
2) Let the application through the firewall, otherwise you will not see anything.
Hope it is helpful:
SOURCE CODE:
https://github.com/juangburgos/WtDesigner
WINDOWS INSTALLER
https://sourceforge.net/projects/wtdesigner/files/Windowsx64/v.1.0.0/