diff options
author | David Boddie <dboddie@trolltech.com> | 2010-05-31 12:37:30 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2010-05-31 12:37:30 (GMT) |
commit | c1760352caf33390592ccf5f8eb3401e10aea143 (patch) | |
tree | 0db4851af6f4c4332add0d56226f089bef68d7f5 /doc/src/examples | |
parent | 9c2b421bfd8a68895f3797ca629bdc6bef506d46 (diff) | |
download | Qt-c1760352caf33390592ccf5f8eb3401e10aea143.zip Qt-c1760352caf33390592ccf5f8eb3401e10aea143.tar.gz Qt-c1760352caf33390592ccf5f8eb3401e10aea143.tar.bz2 |
Doc: Removed a misleading sentence about a class constructor.
Reviewed-by: Trust Me
Task-number: QTBUG-10479
Diffstat (limited to 'doc/src/examples')
-rw-r--r-- | doc/src/examples/pixelator.qdoc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/src/examples/pixelator.qdoc b/doc/src/examples/pixelator.qdoc index 09ae3e8..95099e1 100644 --- a/doc/src/examples/pixelator.qdoc +++ b/doc/src/examples/pixelator.qdoc @@ -80,8 +80,6 @@ functions to indicate the dimensions of the image and supply data to other components. - For convenience, the image to be used is passed in the constructor. - \section1 ImageModel Class Implementation The constructor is trivial: @@ -89,7 +87,7 @@ \snippet examples/itemviews/pixelator/imagemodel.cpp 0 The \c setImage() function sets the image that will be used by the model: - + \snippet examples/itemviews/pixelator/imagemodel.cpp 1 The QAbstractItemModel::reset() call tells the view(s) that the model @@ -233,7 +231,7 @@ This enables the items to be drawn without any gaps between them. Removing the headers also prevents the user from adjusting the sizes of individual rows and columns. - + We also set the minimum section size to 1 on the headers. If we didn't, the headers would default to a larger size, preventing us from displaying really small items (which can be specified |