summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqtable.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqtable.html')
-rw-r--r--doc/html/ntqtable.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/html/ntqtable.html b/doc/html/ntqtable.html
index cd506d10d..c5a8a6a8b 100644
--- a/doc/html/ntqtable.html
+++ b/doc/html/ntqtable.html
@@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }
<p>The TQTable class provides a flexible editable table widget.
<a href="#details">More...</a>
<p><tt>#include &lt;<a href="qtable-h.html">ntqtable.h</a>&gt;</tt>
-<p>Inherits <a href="ntqscrollview.html">TQScrollView</a>.
+<p>Inherits <a href="tqscrollview.html">TQScrollView</a>.
<p>Inherited by <a href="tqdatatable.html">TQDataTable</a>.
<p><a href="qtable-members.html">List of all member functions.</a>
<h2>Public Members</h2>
@@ -228,13 +228,13 @@ none for unused cells.
<p> The first line constructs the table specifying its size in rows
and columns. We then insert a pixmap and some text into the <em>same</em> <a href="#cells">cell</a>, with the pixmap appearing to the
left of the text. TQTable cells can be populated with
-<a href="qtableitem.html">TQTableItem</a>s, <a href="qcombotableitem.html">TQComboTableItem</a>s or by <a href="qchecktableitem.html">TQCheckTableItem</a>s.
+<a href="qtableitem.html">TQTableItem</a>s, <a href="tqcombotableitem.html">TQComboTableItem</a>s or by <a href="tqchecktableitem.html">TQCheckTableItem</a>s.
By default a vertical header appears at the left of the table
showing row numbers and a horizontal header appears at the top of
the table showing column numbers. (The numbers displayed start at
1, although row and column numbers within TQTable begin at 0.)
<p> If you want to use mouse tracking call <a href="tqwidget.html#setMouseTracking">setMouseTracking</a>( TRUE ) on
-the <em>viewport</em>; (see <a href="ntqscrollview.html#allviews">TQScrollView</a>).
+the <em>viewport</em>; (see <a href="tqscrollview.html#allviews">TQScrollView</a>).
<p> <center><img src="qtableitems.png" alt="Table Items"></center>
<p> <a name="headers"></a>
<h3> Headers
@@ -308,19 +308,19 @@ turn.
<p> To put a string in a cell use <a href="#setText">setText</a>(). This function will create
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 <a href="ntqlineedit.html">TQLineEdit</a>. A pixmap may be put in a cell with <a href="#setPixmap">setPixmap</a>(),
+be a <a href="tqlineedit.html">TQLineEdit</a>. A pixmap may be put in a cell with <a href="#setPixmap">setPixmap</a>(),
which also creates a table item if required. A cell may contain <em>both</em> 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
<a href="#setItem">setItem</a>().
-<p> If you want cells which contain comboboxes use the <a href="qcombotableitem.html">TQComboTableItem</a>
+<p> If you want cells which contain comboboxes use the <a href="tqcombotableitem.html">TQComboTableItem</a>
class. Similarly if you require cells containing checkboxes use
-the <a href="qchecktableitem.html">TQCheckTableItem</a> class. These table items look and behave just
+the <a href="tqchecktableitem.html">TQCheckTableItem</a> class. These table items look and behave just
like the combobox or checkbox widgets but consume far less memory.
<p>
<pre> for ( int j = 0; j &lt; numRows; ++j )
- <a name="x2445"></a> table.<a href="#setItem">setItem</a>( j, 1, new <a href="qchecktableitem.html">TQCheckTableItem</a>( &amp;table, "Check me" ) );
+ <a name="x2445"></a> table.<a href="#setItem">setItem</a>( j, 1, new <a href="tqchecktableitem.html">TQCheckTableItem</a>( &amp;table, "Check me" ) );
</pre>In the example above we create a column of TQCheckTableItems and
insert them into the table using setItem().
<p> TQTable takes ownership of its TQTableItems and will delete them
@@ -448,7 +448,7 @@ populating the table if you're using TQTableItems.
Constructs an empty table called <em>name</em> with <em>numRows</em> rows and
<em>numCols</em> columns. The table is a child of <em>parent</em>.
<p> If you're using <a href="qtableitem.html">TQTableItem</a>s to populate the table's cells, you
-can create <a href="qtableitem.html">TQTableItem</a>, <a href="qcombotableitem.html">TQComboTableItem</a> and <a href="qchecktableitem.html">TQCheckTableItem</a> items
+can create <a href="qtableitem.html">TQTableItem</a>, <a href="tqcombotableitem.html">TQComboTableItem</a> and <a href="tqchecktableitem.html">TQCheckTableItem</a> items
and insert them into the table using <a href="#setItem">setItem</a>(). (See the <a href="ntqtable.html#notes-on-large-tables">notes on large tables</a> for an alternative to using TQTableItems.)
<p> <p>See also <a href="tqwidget.html#clearWFlags">TQWidget::clearWFlags</a>() and <a href="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>.
@@ -602,13 +602,13 @@ This event handler is called whenever a TQTable object receives a
button to drag something.
<p> The focus is moved to the cell where the <a href="tqdragenterevent.html">TQDragEnterEvent</a> occurred.
-<p>Reimplemented from <a href="ntqscrollview.html#contentsDragEnterEvent">TQScrollView</a>.
+<p>Reimplemented from <a href="tqscrollview.html#contentsDragEnterEvent">TQScrollView</a>.
<h3 class=fn>void <a name="contentsDragLeaveEvent"></a>TQTable::contentsDragLeaveEvent ( <a href="tqdragleaveevent.html">TQDragLeaveEvent</a>&nbsp;*&nbsp;e )<tt> [virtual protected]</tt>
</h3>
This event handler is called when a drag activity leaves <em>this</em>
TQTable object with event <em>e</em>.
-<p>Reimplemented from <a href="ntqscrollview.html#contentsDragLeaveEvent">TQScrollView</a>.
+<p>Reimplemented from <a href="tqscrollview.html#contentsDragLeaveEvent">TQScrollView</a>.
<h3 class=fn>void <a name="contentsDragMoveEvent"></a>TQTable::contentsDragMoveEvent ( <a href="tqdragmoveevent.html">TQDragMoveEvent</a>&nbsp;*&nbsp;e )<tt> [virtual protected]</tt>
</h3>
This event handler is called whenever a TQTable object receives a
@@ -616,14 +616,14 @@ This event handler is called whenever a TQTable object receives a
mouse.
<p> The focus is moved to the cell where the <a href="tqdragmoveevent.html">TQDragMoveEvent</a> occurred.
-<p>Reimplemented from <a href="ntqscrollview.html#contentsDragMoveEvent">TQScrollView</a>.
+<p>Reimplemented from <a href="tqscrollview.html#contentsDragMoveEvent">TQScrollView</a>.
<h3 class=fn>void <a name="contentsDropEvent"></a>TQTable::contentsDropEvent ( <a href="tqdropevent.html">TQDropEvent</a>&nbsp;*&nbsp;e )<tt> [virtual protected]</tt>
</h3>
This event handler is called when the user ends a drag and drop by
dropping something onto <em>this</em> TQTable and thus triggers the drop
event, <em>e</em>.
-<p>Reimplemented from <a href="ntqscrollview.html#contentsDropEvent">TQScrollView</a>.
+<p>Reimplemented from <a href="tqscrollview.html#contentsDropEvent">TQScrollView</a>.
<h3 class=fn>void <a name="contextMenuRequested"></a>TQTable::contextMenuRequested ( int&nbsp;row, int&nbsp;col, const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pos )<tt> [signal]</tt>
</h3>
@@ -647,7 +647,7 @@ into the widget created by this function.
TRUE or the cell has a <a href="qtableitem.html">TQTableItem</a> and the table item's
<a href="qtableitem.html#isReplaceable">TQTableItem::isReplaceable</a>() is FALSE then the cell is asked to
create an appropriate editor (using <a href="qtableitem.html#createEditor">TQTableItem::createEditor</a>()).
-Otherwise a <a href="ntqlineedit.html">TQLineEdit</a> is used as the editor.
+Otherwise a <a href="tqlineedit.html">TQLineEdit</a> is used as the editor.
<p> If you want to create your own editor for certain cells, implement
a custom TQTableItem subclass and reimplement
TQTableItem::createEditor().
@@ -734,7 +734,7 @@ wide and <em>ch</em> pixels high clipping rectangle at position <em>cx</em>,
<em>cy</em>.
<p> Additionally, <a href="#drawContents">drawContents</a>() highlights the current cell.
-<p>Reimplemented from <a href="ntqscrollview.html#drawContents">TQScrollView</a>.
+<p>Reimplemented from <a href="tqscrollview.html#drawContents">TQScrollView</a>.
<h3 class=fn>void <a name="dropped"></a>TQTable::dropped ( <a href="tqdropevent.html">TQDropEvent</a>&nbsp;*&nbsp;e )<tt> [signal]</tt>
</h3>
@@ -1198,7 +1198,7 @@ margin.
<p> In an Arabic or Hebrew <a href="i18n.html#localization">localization</a>, the verticalHeader() will
appear on the right side of the table, and this call will set the
right margin.
-<p> <p>See also <a href="ntqscrollview.html#leftMargin">leftMargin</a>(), <a href="#setTopMargin">setTopMargin</a>(), and <a href="#verticalHeader">verticalHeader</a>().
+<p> <p>See also <a href="tqscrollview.html#leftMargin">leftMargin</a>(), <a href="#setTopMargin">setTopMargin</a>(), and <a href="#verticalHeader">verticalHeader</a>().
<p>Example: <a href="regexptester-example.html#x2501">regexptester/regexptester.cpp</a>.
<h3 class=fn>void <a name="setNumCols"></a>TQTable::setNumCols ( int&nbsp;r )<tt> [virtual slot]</tt>
@@ -1214,7 +1214,7 @@ Sets the pixmap in the cell at <em>row</em>, <em>col</em> to <em>pix</em>.
with an <a href="qtableitem.html#EditType-enum">EditType</a> of <tt>OnTyping</tt>,
otherwise the existing table item's pixmap (if any) is replaced
with <em>pix</em>.
-<p> Note that <a href="qcombotableitem.html">TQComboTableItem</a>s and <a href="qchecktableitem.html">TQCheckTableItem</a>s don't show
+<p> Note that <a href="tqcombotableitem.html">TQComboTableItem</a>s and <a href="tqchecktableitem.html">TQCheckTableItem</a>s don't show
pixmaps.
<p> <p>See also <a href="#pixmap">pixmap</a>(), <a href="#setText">setText</a>(), <a href="#setItem">setItem</a>(), and <a href="qtableitem.html#setPixmap">TQTableItem::setPixmap</a>().
@@ -1275,7 +1275,7 @@ otherwise the existing table item's text (if any) is replaced with
Sets the top margin to be <em>m</em> pixels high.
<p> The <a href="#horizontalHeader">horizontalHeader</a>(), which displays column labels, occupies
this margin.
-<p> <p>See also <a href="ntqscrollview.html#topMargin">topMargin</a>() and <a href="#setLeftMargin">setLeftMargin</a>().
+<p> <p>See also <a href="tqscrollview.html#topMargin">topMargin</a>() and <a href="#setLeftMargin">setLeftMargin</a>().
<p>Example: <a href="regexptester-example.html#x2505">regexptester/regexptester.cpp</a>.
<h3 class=fn>void <a name="showColumn"></a>TQTable::showColumn ( int&nbsp;col )<tt> [virtual slot]</tt>
@@ -1347,7 +1347,7 @@ function. (See the <a href="ntqtable.html#notes-on-large-tables">notes on large
<p> If <em>swapHeader</em> is TRUE, the rows' header contents is also
swapped.
<p> This function will not update the TQTable, you will have to do
-this manually, e.g. by calling <a href="ntqscrollview.html#updateContents">updateContents</a>().
+this manually, e.g. by calling <a href="tqscrollview.html#updateContents">updateContents</a>().
<p> <p>See also <a href="#swapColumns">swapColumns</a>() and <a href="#swapCells">swapCells</a>().
<h3 class=fn>void <a name="takeItem"></a>TQTable::takeItem ( <a href="qtableitem.html">TQTableItem</a>&nbsp;*&nbsp;i )<tt> [virtual]</tt>