summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-05-31 14:37:30 +0200
committerDavid Boddie <dboddie@trolltech.com>2010-05-31 14:37:30 +0200
commitc1760352caf33390592ccf5f8eb3401e10aea143 (patch)
tree0db4851af6f4c4332add0d56226f089bef68d7f5 /doc
parent9c2b421bfd8a68895f3797ca629bdc6bef506d46 (diff)
Doc: Removed a misleading sentence about a class constructor.
Reviewed-by: Trust Me Task-number: QTBUG-10479
Diffstat (limited to 'doc')
-rw-r--r--doc/src/examples/pixelator.qdoc6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/src/examples/pixelator.qdoc b/doc/src/examples/pixelator.qdoc
index 09ae3e8d09..95099e14d9 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