View Full Version : adding tool buttons to toolbar in designer
Charvi
3rd August 2012, 12:21
hi,
How do i add tool buttons to a tool bar in designer so that i can define all the properties of the toolbar there. I dont want to do this in my code taking heap variables for tool bar and tool buttons as I think that makes my program slow.
Thanks in advance,
Charvi.
sonulohani
3rd August 2012, 12:31
Use code... You cannot do everything from the designer. It will not make your program slow.
amleto
3rd August 2012, 12:35
hi,
How do i add tool buttons to a tool bar in designer so that i can define all the properties of the toolbar there. I dont want to do this in my code taking heap variables for tool bar and tool buttons as I think that makes my program slow.
Thanks in advance,
Charvi.
err, how do you think designer will avoid using the heap?
spirit
3rd August 2012, 12:35
.. I dont want to do this in my code taking heap variables for tool bar and tool buttons as I think that makes my program slow.
Why do you think so? :) Qt Designer (uic) will generate "heap variables" for you actually.
As to your question, please, read docs about Qt Designer (http://qt-project.org/doc/qt-4.8/designer-manual.html) & Creating Main Windows in Qt Designer (http://qt-project.org/doc/qt-4.8/designer-creating-mainwindows.html).
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.