diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-08-28 11:57:51 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-08-28 12:33:56 (GMT) |
commit | 4ccca8327e6ab968541a9f42df7d72e66ddc7746 (patch) | |
tree | d2de8d9cd7ad10af722d8ba4c0257ac691625368 /doc/src/snippets | |
parent | aeed81513727984c7228ace540acb5d4f21a631b (diff) | |
download | Qt-4ccca8327e6ab968541a9f42df7d72e66ddc7746.zip Qt-4ccca8327e6ab968541a9f42df7d72e66ddc7746.tar.gz Qt-4ccca8327e6ab968541a9f42df7d72e66ddc7746.tar.bz2 |
Document the fact that you can change QTabBar close button with stylesheet
Diffstat (limited to 'doc/src/snippets')
-rw-r--r-- | doc/src/snippets/code/doc_src_stylesheet.qdoc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/src/snippets/code/doc_src_stylesheet.qdoc b/doc/src/snippets/code/doc_src_stylesheet.qdoc index 4046d85..1b9c509 100644 --- a/doc/src/snippets/code/doc_src_stylesheet.qdoc +++ b/doc/src/snippets/code/doc_src_stylesheet.qdoc @@ -1955,3 +1955,14 @@ QTreeView::branch:open:has-children:has-siblings { image: url(branch-open.png); } //! [158] + +//! [159] +QTabBar::close-button { + image: url(close.png) + subcontrol-position: left; +} +QTabBar::close-button:hover { + image: url(close-hover.png) +} + +//! [159] |