Qt 6.11 is out! See what's new in the release
blog
How can i add big size image in my toolbar window.??
General and Desktop
4
Posts
3
Posters
3.8k
Views
1
Watching
-
Hi All,
I want to have big size image on my window tool bar (which is very small by default.).
Is there any way to do that?.
Actually the toolbar image size is (2424) by default
but i want to have to image size of (6464) in my toolbar..Thanks in advance.
-
Try with "QToolBar::setIconSize":http://doc.qt.nokia.com/latest/qtoolbar.html#iconSize-prop
-
If you go with a pixmap, you can rescale it with
@QPixmap QPixmap::scaled ( const QSize & size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) const@ -
Thanks a lot for your i/p..