diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-04-01 21:03:43 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-04-01 21:03:43 (GMT) |
commit | 19fd8c6c4c7e1a739cae53fa51c6994643ef5be1 (patch) | |
tree | 557e63a8882eeb4ec393e53a907b20ee8fd95dce /src/gui | |
parent | b7539e72a2523cc46f41e5e04df689bc3b38f92e (diff) | |
parent | e8ef67cc13fd17e0ad3e4af4e78c465655044021 (diff) | |
download | Qt-19fd8c6c4c7e1a739cae53fa51c6994643ef5be1.zip Qt-19fd8c6c4c7e1a739cae53fa51c6994643ef5be1.tar.gz Qt-19fd8c6c4c7e1a739cae53fa51c6994643ef5be1.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-staging into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-staging: (45 commits)
Removed mobile demos from the Symbian build in demos.pro
Fixed demo subdirs for mobile examples.
qdoc: Updates to the qdoc manual.
Moved a couple of links into one list.
Doc: Work on GettingStartedQt tutorial
Added a link to the Debugging Techniques article.
qdoc: Updates to the qdoc manual.
qdoc: Added a way to exclude directories from receiving default metadata
Edited the Tutorials and Examples pages. Renamed links in index.qdoc.
Doc: Update to QStyledItemDelegate::displayText()
qdoc: Added default values to config file for DITA
Doc: Work on QAudioInput::start() functions.
Avoided the use of hard-coded file names.
Copied the declarative parser into qdoc3 to avoid dependency issues.
qdoc: Don't wrap <image> in <fig> if in an <xref>
Doc: Work on a11y docs
qdoc: Added <copyright>, <copyryear>, and <copyrholder>.
qdoc: Completed metadata handling.
Doc: Small update to QImageReader/Writer::supportedImageFomrmats()
Edited QtWebKit Guide qdoc and added external links.
...
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/image/qimagereader.cpp | 3 | ||||
-rw-r--r-- | src/gui/image/qimagewriter.cpp | 3 | ||||
-rw-r--r-- | src/gui/itemviews/qstyleditemdelegate.cpp | 5 | ||||
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 2 |
4 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/image/qimagereader.cpp b/src/gui/image/qimagereader.cpp index 1fa1058..e7b1000 100644 --- a/src/gui/image/qimagereader.cpp +++ b/src/gui/image/qimagereader.cpp @@ -1482,6 +1482,9 @@ QByteArray QImageReader::imageFormat(QIODevice *device) configure script or check the appropriate option in the graphical installer. + Note that the QApplication instance must be created before this function is + called. + \sa setFormat(), QImageWriter::supportedImageFormats(), QImageIOPlugin */ QList<QByteArray> QImageReader::supportedImageFormats() diff --git a/src/gui/image/qimagewriter.cpp b/src/gui/image/qimagewriter.cpp index 8a65ac0..504260a 100644 --- a/src/gui/image/qimagewriter.cpp +++ b/src/gui/image/qimagewriter.cpp @@ -679,6 +679,9 @@ bool QImageWriter::supportsOption(QImageIOHandler::ImageOption option) const Reading and writing SVG files is supported through Qt's \l{QtSvg Module}{SVG Module}. + Note that the QApplication instance must be created before this function is + called. + \sa setFormat(), QImageReader::supportedImageFormats(), QImageIOPlugin */ QList<QByteArray> QImageWriter::supportedImageFormats() diff --git a/src/gui/itemviews/qstyleditemdelegate.cpp b/src/gui/itemviews/qstyleditemdelegate.cpp index 0d1473d..eb54bac 100644 --- a/src/gui/itemviews/qstyleditemdelegate.cpp +++ b/src/gui/itemviews/qstyleditemdelegate.cpp @@ -263,6 +263,11 @@ QStyledItemDelegate::~QStyledItemDelegate() The default implementation uses the QLocale::toString to convert \a value into a QString. + + This function is not called for empty model indices, i.e., indices for which + the model returns an invalid QVariant. + + \sa QAbstractItemModel::data() */ QString QStyledItemDelegate::displayText(const QVariant &value, const QLocale& locale) const { diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index 0a73481..fd9deb5 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -599,6 +599,8 @@ void QWidget::setAutoFillBackground(bool enabled) \ingroup basicwidgets + \meta {technology} {User Interface} + \meta {platform} {all} The widget is the atom of the user interface: it receives mouse, keyboard and other events from the window system, and paints a representation of |