Changed stylesheet, border radius and combo drop down background.

git-svn-id: http://yate.null.ro/svn/yate/trunk@4852 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2012-02-08 09:43:28 +00:00
parent 96a5936a0c
commit d7945fee51
1 changed files with 14 additions and 9 deletions

View File

@ -25,7 +25,7 @@ QLabel {
QLineEdit {
border: 1px solid #717fa0;
border-radius: 4px;
border-radius: 2px;
background-color: #ffffff;
}
@ -46,7 +46,7 @@ QTextBrowser {
QToolButton {
border: 1px solid #717fa0;
border-radius: 4px;
border-radius: 2px;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #f6e8e8);
}
QToolButton:hover {
@ -68,7 +68,7 @@ QToolButton::menu-indicator {
QPushButton {
border: 1px solid #717fa0;
border-radius: 4px;
border-radius: 2px;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #f6e8e8);
}
QPushButton:hover {
@ -117,9 +117,10 @@ QGroupBox::indicator:unchecked { image: url(checkbox_off.png); }
QComboBox {
border: 1px solid #717fa0;
border-radius: 4px;
border-radius: 2px;
font-size: 12px;
color:#333333;
background: #ffffff;
}
QComboBox::down-arrow { image: url(cb_arrow.png); }
QComboBox::down-arrow:on { top: 1px; left: 1px; }
@ -132,10 +133,18 @@ QComboBox:editable {
padding-right: 24px;
}
QComboBox::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
width: 22px;
border-left: 1px solid #717fa0;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #f9efef);
}
QComboBox::drop-down:on {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f9efef, stop: 1 #ffffff);
}
QComboBox::drop-down:hover {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #f9f3f3);
}
QComboBox QAbstractItemView {
border: 1px solid #717fa0;
background: #ffffff;
@ -158,8 +167,6 @@ QTabBar::tab {
padding: 1px 1px 1px 1px;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #f6e8e8);
border: 1px solid #717fa0;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
min-height: 3ex;
}
QTabBar::tab:hover {
@ -169,8 +176,6 @@ QTabBar::tab:selected {
border-bottom-color: #ffffff;
padding-top: 0px;
border-top: 4px solid #73a9e1;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f9efef, stop: 1 #ffffff);
}
QTabBar::tab:!selected {