2014-06-29 05:59:11 +08:00
|
|
|
QScrollArea {
|
2014-07-01 10:12:17 +08:00
|
|
|
background: white;
|
|
|
|
border: 0 0 0 0 ;
|
2014-06-29 05:59:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollArea > QWidget > QWidget {
|
2014-07-01 10:12:17 +08:00
|
|
|
background: white;
|
2014-06-29 05:59:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:vertical {
|
2014-07-01 10:12:17 +08:00
|
|
|
background: transparent;
|
|
|
|
width: 12px;
|
|
|
|
margin-top: 2px;
|
|
|
|
margin-bottom: 2px;
|
2014-06-29 05:59:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical {
|
|
|
|
background: #d1d1d1;
|
|
|
|
min-height: 20px;
|
2014-07-01 10:12:17 +08:00
|
|
|
border-radius: 3px;
|
|
|
|
margin-left: 2px;
|
2014-06-29 05:59:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical:hover {
|
|
|
|
background: #e3e3e3;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical:pressed {
|
|
|
|
background: #b1b1b1;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-line:vertical {
|
2014-07-01 10:12:17 +08:00
|
|
|
background: url(":ui/chatArea/scrollBarDownArrow.png") center;
|
|
|
|
height: 0px;
|
2014-06-29 05:59:11 +08:00
|
|
|
subcontrol-position: bottom;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::sub-line:vertical {
|
2014-07-01 10:12:17 +08:00
|
|
|
background: url(":ui/chatArea/scrollBarUpArrow.png") center;
|
|
|
|
height: 0px;
|
2014-06-29 05:59:11 +08:00
|
|
|
subcontrol-position: top;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:QScrollBar::down-arrow:vertical {
|
|
|
|
width: 10;
|
|
|
|
height: 10px;
|
|
|
|
background: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:QScrollBar::up-arrow:vertical {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
background: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
|
|
|
background: none;
|
2014-06-29 05:11:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QScrollBar:horizontal {
|
|
|
|
background: white;
|
|
|
|
height: 10px;
|
2014-07-01 10:12:17 +08:00
|
|
|
margin: 0 2px 0 2px;
|
2014-06-29 05:11:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:horizontal {
|
|
|
|
background: #d1d1d1;
|
|
|
|
min-width: 20px;
|
2014-07-01 10:12:17 +08:00
|
|
|
border-radius: 2px;
|
2014-06-29 05:11:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:horizontal:hover {
|
|
|
|
background: #e3e3e3;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:horizontal:pressed {
|
|
|
|
background: #b1b1b1;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-line:horizontal {
|
2014-07-01 10:12:17 +08:00
|
|
|
background: url(":ui/chatArea/scrollBarRightArrow.png") center;
|
|
|
|
width: 0px;
|
2014-06-29 05:11:47 +08:00
|
|
|
subcontrol-position: right;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::sub-line:horizontal {
|
2014-07-01 10:12:17 +08:00
|
|
|
background: url(":ui/chatArea/scrollBarLeftArrow.png") center;
|
|
|
|
width: 0px;
|
2014-06-29 05:11:47 +08:00
|
|
|
subcontrol-position: left;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:QScrollBar::down-arrow:horizontal {
|
|
|
|
width: 10;
|
|
|
|
height: 10px;
|
|
|
|
background: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:QScrollBar::up-arrow:horizontal {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
background: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
|
|
|
background: none;
|
2014-06-29 05:59:11 +08:00
|
|
|
}
|