Revision: 13749
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13749&view=rev
Author: vouchcac
Date: 2010-02-03 00:39:51 +0000 (Wed, 03 Feb 2010)
Log Message:
-----------
2010-02-02 16:24 UTC-0800 Pritpal Bedi ([email protected])
* contrib/hbide/hbide.hbp
* contrib/hbide/hbide.prg
* contrib/hbide/idedocks.prg
* contrib/hbide/idefindreplace.prg
* contrib/hbide/idemisc.prg
* contrib/hbide/ideprojmanager.prg
* contrib/hbide/iderequests.prg
* contrib/hbide/idethemes.prg
* contrib/hbide/resources/projectproperties.ui
+ contrib/hbide/resources/finddialog.uic
+ contrib/hbide/resources/findinfiles.uic
+ contrib/hbide/resources/findsource.uic
+ contrib/hbide/resources/mainwindow.uic
+ contrib/hbide/resources/projectproperties.uic
+ contrib/hbide/resources/selectionlist.uic
+ contrib/hbide/resources/selectproject.uic
+ contrib/hbide/resources/themes.uic
* contrib/hbqt/hbqt.ch
* contrib/hbqt/qtgui/QLabel.cpp
* contrib/hbqt/qtgui/QSizePolicy.cpp
* contrib/hbqt/qtgui/QSpacerItem.cpp
* contrib/hbqt/qth/QLabel.qth
* contrib/hbqt/qth/QSizePolicy.qth
* contrib/hbqt/qth/QSpacerItem.qth
* contrib/hbqt/THbQtUI.prg
* contrib/hbxbp/xbpdialog.prg
* contrib/hbxbp/xbpwindow.prg
+ This commit implements .uic files generated
via uic.exe of Qt distribution given a .ui file.
And hence eliminated the wooping cargo of QtUiTools.lib
which consumes arount 23+ MB over and above of application load.
All the dialogs/windows used in hbIDE are fully functional.
This implementation is in parallel of previous one and
either can be used. The difference in syntax is ( and as used in hbIDE )
#ifdef HBIDE_USE_UIC
oDlg := HbQtUI():new( ::oIDE:resPath + "selectproject.uic",
::oDlg:oWidget ):build()
#else
oDlg := HbQtUI():new( ::oIDE:resPath + "selectproject.ui",
::oDlg:oWidget ):create()
#endif
To take advantage of this feature you need to compile hbIDE
with -dHBIDE_USE_UIC. You can examine the task manager for memory
usage, with and without -dHBIDE_USE_UIC.
Please note that this implementation is not 100% complete.
I could synchronize the dialogs of hbIDE only. Though most of the
code is good for daily-use widgets still we need to add some
more functionality into the code. But it is simple. Mainly
we be needing more constants included in hash to convert
string defines to numeric representation.
Please test and report any issues.
Modified Paths:
--------------
trunk/harbour/ChangeLog
trunk/harbour/contrib/hbide/hbide.hbp
trunk/harbour/contrib/hbide/hbide.prg
trunk/harbour/contrib/hbide/idedocks.prg
trunk/harbour/contrib/hbide/idefindreplace.prg
trunk/harbour/contrib/hbide/idemisc.prg
trunk/harbour/contrib/hbide/ideprojmanager.prg
trunk/harbour/contrib/hbide/iderequests.prg
trunk/harbour/contrib/hbide/idethemes.prg
trunk/harbour/contrib/hbide/resources/projectproperties.ui
trunk/harbour/contrib/hbqt/THbQtUI.prg
trunk/harbour/contrib/hbqt/hbqt.ch
trunk/harbour/contrib/hbqt/qtgui/QLabel.cpp
trunk/harbour/contrib/hbqt/qtgui/QSizePolicy.cpp
trunk/harbour/contrib/hbqt/qtgui/QSpacerItem.cpp
trunk/harbour/contrib/hbqt/qth/QLabel.qth
trunk/harbour/contrib/hbqt/qth/QSizePolicy.qth
trunk/harbour/contrib/hbqt/qth/QSpacerItem.qth
trunk/harbour/contrib/hbxbp/xbpdialog.prg
trunk/harbour/contrib/hbxbp/xbpwindow.prg
Added Paths:
-----------
trunk/harbour/contrib/hbide/resources/finddialog.uic
trunk/harbour/contrib/hbide/resources/findinfiles.uic
trunk/harbour/contrib/hbide/resources/findsource.uic
trunk/harbour/contrib/hbide/resources/mainwindow.uic
trunk/harbour/contrib/hbide/resources/projectproperties.uic
trunk/harbour/contrib/hbide/resources/selectionlist.uic
trunk/harbour/contrib/hbide/resources/selectproject.uic
trunk/harbour/contrib/hbide/resources/themes.uic
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour