Hello, This has been proposed/talked about several times. IMHO the easiest and quickest way to attain this would be to create a plugin for Qt Designer. However, I would not limit to that: there is Qt Creator, so let's adapt it to Wt. In no particular order:
1. Plugin for Qt Designer for the widgets and remove the Qt widgets ( see http://techbase.kde.org/Development/Tutorials/Writing_Qt_Designer_Plugins and http://doc.trolltech.com/4.6/designer-creating-custom-widgets.html ) 2. Develop a wtuic to mimic Qt's uic. Ideally, add support to Wt for loading Qt Designer .ui files (which would contain only Wt widgets, signals, etc obviously) 3. Add syntax highlighting for Wt classes, methods and types in Qt Creator (see http://qt.gitorious.org/qt-creator/qt-creator/blobs/master/src/plugins/cppeditor/cpphighlighter.h and http://qt.gitorious.org/qt-creator/qt-creator/blobs/master/src/plugins/cppeditor/cpphighlighter.cpp ) 4. Get rid of the QMake stuff. Problem is Qt Creator support for CMake is rather poor. Last I tested, it was unable to create a CMake project but adding default template would be OK, I'd say. Maybe even modify the "new project" wizard. 5. Get rid of the signal-slot autoconnection stuff. Qt can do that, Wt cannot. 6. Add W_PROPERTY to Wt (setters and getters, see http://doc.trolltech.com/4.6/properties.html )and adapt Qt Designer's property editor. 7. Add Wt snippets for the snippets plugin 8. Add resources to Wt, like .qrc in Qt ( http://qt.nokia.com/doc/4.6/resources.html ). If adopting the same XML DTD that Qt uses, no changes to the 'resources' plugin would be needed. 9. Get rid of the action inspector, or add actions to Wt ( http://doc.trolltech.com/4.6/qaction.html ) 10. Add the Wt tutorial and docs to Qt Creator 11. Detect installed browsers and automagically add buttons to launch the application against all the installed browsers (IE, Firefox, Chrome, Opera, etc) And sure there are more more. It's probably a lot of a single SoC, but surely we can define the "must have" items and the "would like to have" items. A further step would be to bundle Wt, WtCreator and portable versions of the most popular browsers (Firefox, Chrome, Opera, Safari, etc) all together in a package and call that Wt SDK, like the Qt SDK. On Fri, Jan 29, 2010 at 3:22 PM, Ginsburg, Daniel <[email protected]> wrote: > Here is one idea I have (I apologize if this has already been discussed > before, I am still a relatively new Wt user): I would love to see an > equivalent to Qt Designer for Wt. While laying out pages in code is not > particularly difficult, when doing very complex UI/layouts the designer is > really useful. I think it would really make Wt one of the ultimate web > development tools. > > -- Dan > > > On Jan 29, 2010, at 5:41 AM, Bart Vanhauwaert wrote: > >> Another idea might be to enhance dbo with a non-sql backend; more >> specifically the schema-free structured storage systems that seem all >> the rage right now (couchdb, cassandra, ...) >> >> Another strange(?) idea might be to see if there is any performance gain >> possible by doing database load balancing inside a dbo backend (maybe >> there is information available to the backend about what a query is >> exactly doing that is lost for the more traditional load balancing >> solutions). You could have something like a dbo backend that talks with >> a dbo-helper frontend to each individual database instance through a >> high-performance message-passing system like 0MQ (horrible name, right?) >> >> If the abstraction is done right, you might even loadbalance the same >> application onto a pool of SQL and schemafree databases etc... >> >> Not sure if there is real win in the idea but I think it merits some >> thoughts. >> >> cu bart >> >> Pau Garcia i Quiles wrote: >>> Hello, >>> >>> Google Summer of Code 2010 was announced recently. Will EmWeb (try to) >>> participate this year? >>> >>> Maybe we can start a brainstorm here for new ideas. The ideas for GSoC >>> 2009 (sadly EmWeb got no slots) are still there: >>> >>> http://redmine.webtoolkit.eu/wiki/wt/Ideas_for_Google_SoC >>> >>> * WebKit integration >>> >>> A first, very pedestrian approach, is available from >>> http://gitorious.org/wtdesktop >>> >>> This idea is to incorporate WebKit into Wt. The level of integration >>> may evolve over time, as are the possible applications. >>> >>> The first step is to combine WebKit with the built-in httpd to provide >>> a desktop application using Wt. This could be useful for distributing >>> an off-line version of a Wt application or during development. The >>> webkit would be configured to act as a single application (instead of >>> as a general purpose browser). >>> >>> The second level is to allow introspection of the DOM inside WebKit >>> from a Wt application session. This could become the basis for an >>> automated testing framework which verifies that the widget tree and >>> the DOM tree are in sync. By querying the DOM for information on the >>> location and CSS properties of widgets, it can be checked that the >>> application works properly. By allowing for events to be simulated on >>> the DOM tree, the application can be checked for correct event >>> handling. >>> >>> The third level is to by-pass the HTML/JavaScript and HTTP protocol >>> for certain rendering steps. For example, a new WPaintDevice could be >>> developed which paints directly instead of encoding it first as SVG or >>> HTML Canvas5 JavaScript. This would allow significant speedups for >>> vector graphics. >>> >>> Required expertise: Good C++ knowledge, knowledge of or willing to >>> learn the CMake build system, familiarity with GTK or Qt application >>> development. >>> >>> >>> * Widget Set mode >>> >>> Since some months, Wt includes a so-called widget-set mode. In this >>> mode, a Wt application does not take responsibility to render the >>> entire user interface, but only selected <div>'s. The Wt application >>> is loaded as a JavaScript library, which then renders into these >>> <div>'s, which then correspond to a set of "top-level" widgets. Any of >>> %Wt's features may be used inside such a widget, including portable >>> vector graphics. >>> >>> This would allow a Wt application to also expose a JavaScript API, >>> such as for example Google Maps, but this has not yet been provided. >>> To provide support for this in the Wt library, it would require that a >>> Wt application can extend its JavaScript object with JavaScript >>> methods that map onto C++ methods, which assumes a system that helps >>> as much as possible to convert between JavaScript objects and C++ data >>> structures (for example based on maps). >>> >>> >> >> >> ------------------------------------------------------------------------------ >> The Planet: dedicated and managed hosting, cloud storage, colocation >> Stay online with enterprise data centers and the best network in the business >> Choose flexible plans and management services without long-term contracts >> Personal 24x7 support from experience hosting pros just a phone call away. >> http://p.sf.net/sfu/theplanet-com >> _______________________________________________ >> witty-interest mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/witty-interest > > Daniel Ginsburg / email: [email protected] > Principal Software Architect > Fetal-Neonatal Neuroimaging and Development Science Center > Children's Hospital Boston > 300 Longwood Avenue > Boston, MA 02115 > Phone: 857-218-5140 > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
