Thansk, it works.
But the style is limited to change color, could not support image. The following code do not work as expect.
ui->listView->verticalScrollBar()->setStyleSheet("QScrollBar:vertical {width: 15px; background-image: url(:/img/scroll_bg.png);}; QScrollBar::handle:vertical {image:url(:/img/scroll_handle.png)}");
Bookmarks