From 5f3861158862e1af168d591428fb9ecd8c3b767b Mon Sep 17 00:00:00 2001 From: Geir Vattekar Date: Thu, 10 Sep 2009 13:43:24 +0200 Subject: Doc: Fixed snippet bug in stylesheet docs Task-number: 241222 Reviewed-by: Trust Me --- doc/src/snippets/code/doc_src_stylesheet.qdoc | 3 --- doc/src/widgets-and-layouts/stylesheet.qdoc | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/snippets/code/doc_src_stylesheet.qdoc b/doc/src/snippets/code/doc_src_stylesheet.qdoc index 9f5d989..f79f7ff 100644 --- a/doc/src/snippets/code/doc_src_stylesheet.qdoc +++ b/doc/src/snippets/code/doc_src_stylesheet.qdoc @@ -421,9 +421,6 @@ QSpinBox::down-button { height: 10px } //! [59] /* implicitly sets the size of down-button to the size of spindown.png */ QSpinBox::down-button { image: url(:/images/spindown.png) } - -QTextEdit { image: url(x1.png) url(x2.png) } -QTextEdit { image: url(pic1.svg) } //! [59] diff --git a/doc/src/widgets-and-layouts/stylesheet.qdoc b/doc/src/widgets-and-layouts/stylesheet.qdoc index adaaf71..c40795a 100644 --- a/doc/src/widgets-and-layouts/stylesheet.qdoc +++ b/doc/src/widgets-and-layouts/stylesheet.qdoc @@ -1970,6 +1970,9 @@ image within the rectangle can be specified using \l{image-position-prop}{image-position}. + This property is for \l{subcontrol}s only--we don't support it for + other elements. + \warning The QIcon SVG plugin is needed to render SVG images. Example: -- cgit v0.12