summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtexttable.cpp
diff options
context:
space:
mode:
authorMorten Engvoldsen <morten.engvoldsen@nokia.com>2009-05-11 11:44:44 (GMT)
committerMorten Engvoldsen <morten.engvoldsen@nokia.com>2009-05-11 11:45:17 (GMT)
commit92c5c75a9840853fad4f30235f9bf86dc7133fc4 (patch)
treec7f44469436a9cd766151ab18010c85e48690530 /src/gui/text/qtexttable.cpp
parent0f3a48850529e84c51e6ae0c23544f9cf8fca846 (diff)
downloadQt-92c5c75a9840853fad4f30235f9bf86dc7133fc4.zip
Qt-92c5c75a9840853fad4f30235f9bf86dc7133fc4.tar.gz
Qt-92c5c75a9840853fad4f30235f9bf86dc7133fc4.tar.bz2
Clarifying docs for QTextTable::splitCell()
Clarifying details about QTextTable::splitCell() regarding splitting and merging over several rows and columns Task-number:193732 Rev-by: Geir Vattekar
Diffstat (limited to 'src/gui/text/qtexttable.cpp')
-rw-r--r--src/gui/text/qtexttable.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/text/qtexttable.cpp b/src/gui/text/qtexttable.cpp
index ba1c04f..48708c9 100644
--- a/src/gui/text/qtexttable.cpp
+++ b/src/gui/text/qtexttable.cpp
@@ -525,7 +525,12 @@ void QTextTablePrivate::update() const
Rows and columns within a QTextTable can be merged and split using
the mergeCells() and splitCell() functions. However, only cells that span multiple
rows or columns can be split. (Merging or splitting does not increase or decrease
- the number of rows and columns.)
+ the number of rows and columns.)
+
+ Note that if you have merged multiple columns and rows into one cell, you will not
+ be able to split the merged cell into new cells spanning over more than one row
+ or column. To be able to split cells spanning over several rows and columns you
+ need to do this over several iterations.
\table 80%
\row