How can i add big size image in my toolbar window.??
-
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..