Doc: Add information about styling QTableView::indicator
Task-number: QTBUG-60245 Change-Id: I068d74d3d1d3ffb872ac6fec830367d67b65049d Reviewed-by: Topi Reiniö <topi.reinio@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
parent
35f927e719
commit
877ef0594d
Binary file not shown.
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 14 KiB |
@ -1883,3 +1883,9 @@ QTabBar::close-button:hover {
|
||||
* { lineedit-password-mask-delay: 1000 }
|
||||
//! [160]
|
||||
|
||||
//! [161]
|
||||
QTableView::indicator:unchecked {
|
||||
background-color: #d7d6d5
|
||||
}
|
||||
//! [161]
|
||||
|
||||
|
@ -3904,6 +3904,12 @@
|
||||
|
||||
\snippet code/doc_src_stylesheet.qdoc 150
|
||||
|
||||
The QTableView's checkbox indicator can also be customized. In the
|
||||
following snippet the indicator \c background-color in unchecked state is
|
||||
customized:
|
||||
|
||||
\snippet code/doc_src_stylesheet.qdoc 161
|
||||
|
||||
\section2 Customizing QToolBar
|
||||
|
||||
The background and the handle of a QToolBar is customized as below:
|
||||
|
Loading…
x
Reference in New Issue
Block a user