KDE Developer
|
Hi!
I'm working on a Circle (radial) Menu for Plasma and KDE-Applications. (look here, the source posted there is not up to date) The menu should have an icon and a larger background, when it is hovered. Which class should I use for the menu-background? QIcon, QPixmap, QImage, QBrush or a Svg-class? Thank you for any help. The User |
Administrator
|
Probably Plasma::Svg so that you fit with the Plasma theme. You would probably want to render that on a QPixmap though and use that as the background however.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
KDE Developer
|
That is a nice idea "Plasma::Svg on pixmap".
So you don't think it is bad to use QPixmap as class-internal background-format. Thank you. The User |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell