[Qt-interest] how custom QScrollArea's QScrollBar with images?
James Yan
james.pizza at gmail.com
Tue Apr 12 23:15:40 CEST 2011
i've try but no help. them should be same.
On Apr 13, 2011, at 4:23 AM, Anton Chernov wrote:
>
>
> I've try:
> verticalScrollBar()->setStyleSheet("QScrollBar::groove:vertical{image: url(:/images/qs_groove.png);} QScrollBar::handle:vertical{image: url(:/images/qs_handle.png);}");
> nothing happens.
>
> call setStyleSheet with the same sheet not on the scrollbar but on the QSrollArea.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110413/3ed44260/attachment.html
More information about the Qt-interest-old
mailing list