diff options
Diffstat (limited to 'src/table/qtable.cpp')
-rw-r--r-- | src/table/qtable.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/table/qtable.cpp b/src/table/qtable.cpp index b48d8dd14..5f8ba78a0 100644 --- a/src/table/qtable.cpp +++ b/src/table/qtable.cpp @@ -18,7 +18,7 @@ ** and the KDE Free TQt Foundation. ** ** Please review the following information to ensure GNU General -** Public Licensing retquirements will be met: +** Public Licensing requirements will be met: ** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** If you are unsure which license is appropriate for your use, please ** review the following information: @@ -1782,7 +1782,7 @@ TQSize TQCheckTableItem::sizeHint() const There are two approaches to populating the table's cells. The first and simplest approach is to use TQTableItems or TQTableItem subclasses. The second approach doesn't use TQTableItems at all - which is useful for very large sparse tables but retquires you to + which is useful for very large sparse tables but requires you to reimplement a number of functions. We'll look at each approach in turn. @@ -1790,14 +1790,14 @@ TQSize TQCheckTableItem::sizeHint() const a new TQTableItem for the cell if one doesn't already exist, and displays the text in it. By default the table item's widget will be a TQLineEdit. A pixmap may be put in a cell with setPixmap(), - which also creates a table item if retquired. A cell may contain \e + which also creates a table item if required. A cell may contain \e both a pixmap and text; the pixmap is displayed to the left of the text. Another approach is to construct a TQTableItem or TQTableItem subclass, set its properties, then insert it into a cell with setItem(). If you want cells which contain comboboxes use the TQComboTableItem - class. Similarly if you retquire cells containing checkboxes use + class. Similarly if you require cells containing checkboxes use the TQCheckTableItem class. These table items look and behave just like the combobox or checkbox widgets but consume far less memory. @@ -1841,7 +1841,7 @@ TQSize TQCheckTableItem::sizeHint() const inefficient. The solution is to \e draw the cell as it should appear and to create and destroy cell editors on demand. - This approach retquires that you reimplement various functions. + This approach requires that you reimplement various functions. Reimplement paintCell() to display your data, and createEditor() and setCellContentFromEditor() to support in-place editing. It is very important to reimplement resizeData() to have no |