Improve checkbox colors (use accent color)
and darken view hover/selected colors to play nicer with other widget colors See #52
@ -71,6 +71,10 @@ def main():
|
|||||||
ui.actionAction,
|
ui.actionAction,
|
||||||
ui.actionAction_C
|
ui.actionAction_C
|
||||||
])
|
])
|
||||||
|
item = QtGui.QTableWidgetItem("Test")
|
||||||
|
item.setCheckState(QtCore.Qt.Checked)
|
||||||
|
ui.tableWidget.setItem(0, 0, item)
|
||||||
|
window.setWindowTitle("QDarkStyle example")
|
||||||
window.setWindowTitle("QDarkStyle example")
|
window.setWindowTitle("QDarkStyle example")
|
||||||
|
|
||||||
# tabify dock widgets to show bug #6
|
# tabify dock widgets to show bug #6
|
||||||
|
@ -71,6 +71,9 @@ def main():
|
|||||||
ui.actionAction,
|
ui.actionAction,
|
||||||
ui.actionAction_C
|
ui.actionAction_C
|
||||||
])
|
])
|
||||||
|
item = QtWidgets.QTableWidgetItem("Test")
|
||||||
|
item.setCheckState(QtCore.Qt.Checked)
|
||||||
|
ui.tableWidget.setItem(0, 0, item)
|
||||||
window.setWindowTitle("QDarkStyle example")
|
window.setWindowTitle("QDarkStyle example")
|
||||||
|
|
||||||
# tabify dock widgets to show bug #6
|
# tabify dock widgets to show bug #6
|
||||||
|
@ -71,6 +71,11 @@ def main():
|
|||||||
ui.actionAction,
|
ui.actionAction,
|
||||||
ui.actionAction_C
|
ui.actionAction_C
|
||||||
])
|
])
|
||||||
|
|
||||||
|
item = QtGui.QTableWidgetItem("Test")
|
||||||
|
item.setCheckState(QtCore.Qt.Checked)
|
||||||
|
ui.tableWidget.setItem(0, 0, item)
|
||||||
|
window.setWindowTitle("QDarkStyle example")
|
||||||
window.setWindowTitle("QDarkStyle example")
|
window.setWindowTitle("QDarkStyle example")
|
||||||
|
|
||||||
# tabify dock widgets to show bug #6
|
# tabify dock widgets to show bug #6
|
||||||
|
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 514 B After Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 483 B After Width: | Height: | Size: 240 B |
Before Width: | Height: | Size: 933 B After Width: | Height: | Size: 846 B |
Before Width: | Height: | Size: 724 B After Width: | Height: | Size: 646 B |
@ -44,13 +44,13 @@ QWidget
|
|||||||
|
|
||||||
QWidget:item:hover
|
QWidget:item:hover
|
||||||
{
|
{
|
||||||
background-color: #3daee9;
|
background-color: #18465d;
|
||||||
color: #eff0f1;
|
color: #eff0f1;
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget:item:selected
|
QWidget:item:selected
|
||||||
{
|
{
|
||||||
background-color: #3daee9;
|
background-color: #18465d;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox
|
QCheckBox
|
||||||
@ -662,7 +662,7 @@ QComboBox QAbstractItemView
|
|||||||
background-color: #232629;
|
background-color: #232629;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
border: 1px solid #76797C;
|
border: 1px solid #76797C;
|
||||||
selection-background-color: #3daee9;
|
selection-background-color: #18465d;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox::drop-down
|
QComboBox::drop-down
|
||||||
@ -969,13 +969,13 @@ QTreeView::branch:open:has-children:has-siblings:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QListView::item:!selected:hover, QTreeView::item:!selected:hover {
|
QListView::item:!selected:hover, QTreeView::item:!selected:hover {
|
||||||
background: rgba(167,218,245, 0.3);
|
background: #18465d;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
color: #eff0f1
|
color: #eff0f1
|
||||||
}
|
}
|
||||||
|
|
||||||
QListView::item:selected:hover, QTreeView::item:selected:hover {
|
QListView::item:selected:hover, QTreeView::item:selected:hover {
|
||||||
background: #3daee9;
|
background: #287399;
|
||||||
color: #eff0f1;
|
color: #eff0f1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1090,12 +1090,12 @@ QTableView, QHeaderView
|
|||||||
}
|
}
|
||||||
|
|
||||||
QTableView::item:pressed, QListView::item:pressed, QTreeView::item:pressed {
|
QTableView::item:pressed, QListView::item:pressed, QTreeView::item:pressed {
|
||||||
background: #3daee9;
|
background: #18465d;
|
||||||
color: #eff0f1;
|
color: #eff0f1;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView::item:selected:active, QTreeView::item:selected:active, QListView::item:selected:active {
|
QTableView::item:selected:active, QTreeView::item:selected:active, QListView::item:selected:active {
|
||||||
background: #3daee9;
|
background: #287399;
|
||||||
color: #eff0f1;
|
color: #eff0f1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|