[Jahshaka-cvs] jah/jahwidgets/src/qt3/wrapper widget_handle.cpp, 1.16, 1.17
Status: Beta
Brought to you by:
jahshaka
From: tim <tim...@us...> - 2007-03-02 21:05:58
|
Update of /cvsroot/jahshaka/jah/jahwidgets/src/qt3/wrapper In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv2978 Modified Files: widget_handle.cpp Log Message: jahwidgets - expose a few more properties... note to self: consider dynamically manipulating the meta-object tables, remove direct accessors from wrapper Index: widget_handle.cpp =================================================================== RCS file: /cvsroot/jahshaka/jah/jahwidgets/src/qt3/wrapper/widget_handle.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- widget_handle.cpp 14 Feb 2007 08:43:12 -0000 1.16 +++ widget_handle.cpp 2 Mar 2007 21:05:55 -0000 1.17 @@ -55,7 +55,10 @@ { if ( w ) { - static const char* props[] = { "x", "y", "width", "height", NULL }; + static const char* props[] = { "x", "y", "width", "height", + "minimumWidth", "minimumHeight", + "maximumWidth", "maximumHeight", + NULL }; int i=0; while ( props[i] ) @@ -109,10 +112,14 @@ } signals: - void x_changed(); + void x_changed(); void y_changed(); void width_changed(); void height_changed(); + void minimumWidth_changed(); + void minimumHeight_changed(); + void maximumWidth_changed(); + void maximumHeight_changed(); private: bool dragEnterEvent( QDragEnterEvent* event ) |