D25697: Port away from KIconLoader::SizeSmallMedium

2019-12-02 Thread Christoph Feck
cfeck added a comment. Traditionally, 22 was used for toolbar icons. You could replace 22 with QStyle::PM_ToolBarIconSize, but it really depends on where you want the icons to appear. Generally, QStyle::PM_SmallIconSize is for icons that are placed next to a single line of text, unless there

D25697: Port away from KIconLoader::SizeSmallMedium

2019-12-02 Thread Nicolas Fella
nicolasfella created this revision. nicolasfella added a reviewer: Frameworks. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. nicolasfella requested review of this revision. REVISION SUMMARY There is no direct equivalent of SizeSmallMedium (22) in QStyle. Th

D25697: Port away from KIconLoader::SizeSmallMedium

2019-12-02 Thread Nicolas Fella
nicolasfella added a task: T11637: Investigate if KIconThemes is needed as a framework. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D25697 To: nicolasfella, #frameworks Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

Re: KIconLoader::SizeSmallMedium

2013-06-10 Thread Kevin Ottens
c/kstatusnotifieritem.cpp>:37:25: fatal error: kiconloader.h: No such > > > file or directory compilation terminated. > > > make[2]: *** > > > > I guess is better for this library to not depend from KIconLoader... > > > > KIcon(name) can be replaced by QIco

KIconLoader::SizeSmallMedium

2013-06-08 Thread David Faure
gt; > I guess is better for this library to not depend from KIconLoader... > > KIcon(name) can be replaced by QIcon::fromTheme(name) > > but there is still the use of standard sizes, like > KIconLoader::SizeSmallMedium > is it possible to work around that? or needs e