Archive for 2008

Comeback (again)…

Monday, August 25th, 2008

I haven’t blogged for ages… As my excuse I can say that much has happened during that time in my life but the time has come to start blogging again and share my fresh ideas, so expect me to write something now and then. And if I don’t then bug me about it until I do.

wwWidgets 0.8 released

Tuesday, January 29th, 2008

Two days ago I released version 0.8 of my Qt4 widget set called wwWidgets. The release is Qt 4.2-Qt4.4 compatible and consists of over 20 different widgets. The main focus was put on making the set compilable on all major platforms. The set also contains a Qt Designer plugin that makes it possible to use the widgets directly from Designer.

Visit http://www.wysota.eu.org/wwwidgets to find out more. Any feedback is greatly appreciated.

Multipage Qt container widgets problem solved

Saturday, January 5th, 2008

In relation to what I wrote earlier I am happy to say that it seems that finally the problem of UIC not being able to handle custom container widgets has been solved - at least partially.

I’ve been playing with Qt 4.4 Technical Preview and I noticed that finally the issue of being unable to create correct Designer forms with multipage widgets has a solution.

In your domXml() method of the custom widget plugin you need to inform UIC about the name of the method your class uses to add pages to itself. The solution is limited as it expects the name of a method taking a pointer to QWidget only, but at least that will render containers usable.

To have a working container widget plugin you need to make sure domXml() returns something like the following:

<customwidgets>
  <customwidget>
    <class>QwwNavigationBar</class>
    <extends>QWidget</extends>
    <addpagemethod>addWidget</addpagemethod>
  </customwidget>
</customwidgets>

This informs UIC that QwwNavigationBar is a widget derived from QWidget that uses QwwNavigationBar::addWidget() for adding pages.