const QString scrollBarStyle =
"QScrollBar:horizontal {"
" border: 1px solid white;"
" background: black;"
" height: 16px;"
" margin: 0px 0px 0px 0px;"
"}"
"QScrollBar::handle:horizontal {"
" background:qlineargradient(x1:0,y1:0,x2:0,y2:1,"
" stop:1 rgba(120, 0, 0, 255),"
" stop:0.5 rgba( 80, 0, 0, 255),"
" stop:0 rgba(125, 80, 80, 255));"
" border-radius:3px;"
" image: url(:/mainwidget/mainwidget/handle.png);"
" margin: 1px 1px 1px 1px;"
"}"
"QScrollBar::add-line:horizontal,"
"QScrollBar::sub-line:horizontal,"
"QScrollBar::left-arrow:horizontal,"
"QScrollBar::right-arrow:horizontal,"
"QScrollBar::add-page:horizontal,"
"QScrollBar::sub-page:horizontal{"
" background: none;"
"}" ;
请问上述代码的作用和意义
congst
------解决方案--------------------