Comment 17 for bug 992811

Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: [Bug 992811] Re: BPM Lock Icon

I wonder if you could replicate the QPushButton paintEvent to get styling:
http://qt.gitorious.org/qt/qtbase/blobs/1dc517abc688f6cf20bdc75e8a4ff2dda86b5d70/src/widgets/widgets/qpushbutton.cpp#line452

Another similar solution:
http://stackoverflow.com/questions/7276330/qt-stylesheet-for-custom-widget

On Fri, Nov 30, 2012 at 11:58 AM, Max Linke <email address hidden>wrote:

> About the look icons. I was hoping jus could give me some I can use. To
> grey out the icon it should be possible to play with the rendering in
> the paintEvent.
>
> Setting the image with the CSS style for the BPM Icon could be a bit mor
> difficult, since I subclassed QAbstractButton to write my own
> paintEvent. And I would also like to change the previewbutton into a
> subclass from QAbstractButton.
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/992811
>
> Title:
> BPM Lock Icon
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/992811/+subscriptions
>