summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/designer/tools/createcw/README
blob: 81e167671be7e0c5356406a4cbd4436fa6f80285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
This small application makes it much easier to create custom widget
descriptions for Qt Designer. Using them you can use custom widgets
in Qt Designer including their Q_SIGNALS, Q_SLOTS and properties. 

The usual way to do this is to enter all the information in the custom
widget dialog in Qt Designer for each widget. But this small tool can
create these description files for your custom widgets which you then
can simply import into Qt Designer. So you can use your custom widgets
without any additional work in your forms in Qt Designer.

To do this you must modify the sourcecode (main.cpp) a bit and
recompile it afterwards. For further instructions how to use it see
the comments starting with STEP1 and STEP2 in main.cpp.

Note that Qt Designer now supports widget plugins which are more
versatile and work just like built-in widgets, so you may prefer to
make your custom widgets into plugins. See the designer manual for
more information.