当前位置: 代码迷 >> QT开发 >> const QString有关问题
  详细解决方案

const QString有关问题

热度:308   发布时间:2016-04-25 03:47:22.0
const QString问题
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

------解决方案--------------------
  相关解决方案