diff options
Diffstat (limited to 'doc/html/ntqtable.html')
-rw-r--r-- | doc/html/ntqtable.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/ntqtable.html b/doc/html/ntqtable.html index 0e7981c67..32e18d80a 100644 --- a/doc/html/ntqtable.html +++ b/doc/html/ntqtable.html @@ -233,7 +233,7 @@ 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="ntqwidget.html#setMouseTracking">setMouseTracking</a>( TRUE ) on +<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>). <p> <center><img src="qtableitems.png" alt="Table Items"></center> <p> <a name="headers"></a> @@ -248,7 +248,7 @@ set with <a href="#setLeftMargin">setLeftMargin</a>(). The horizontal header is within the table's top margin whose height is set with <a href="#setTopMargin">setTopMargin</a>(). The table's grid can be switched off with <a href="#setShowGrid">setShowGrid</a>(). If you want to hide a horizontal header call -<a href="ntqwidget.html#hide">hide</a>(), and call setTopMargin( 0 ) so that the area the header +<a href="tqwidget.html#hide">hide</a>(), and call setTopMargin( 0 ) so that the area the header would have occupied is reduced to zero size. <p> Header labels are indexed via their section numbers. Note that the default behavior of <a href="ntqheader.html">TQHeader</a> regarding section numbers is overriden @@ -436,21 +436,21 @@ widget's base color - even when selected. <li><tt>TQTable::MultiRow</tt> - The user may select multiple rows. </ul> <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQTable"></a>TQTable::TQTable ( <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) +<h3 class=fn><a name="TQTable"></a>TQTable::TQTable ( <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) </h3> Creates an empty table object called <em>name</em> as a child of <em>parent</em>. <p> Call <a href="#setNumRows">setNumRows</a>() and <a href="#setNumCols">setNumCols</a>() to set the table size before populating the table if you're using TQTableItems. -<p> <p>See also <a href="ntqwidget.html#clearWFlags">TQWidget::clearWFlags</a>() and <a href="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. +<p> <p>See also <a href="tqwidget.html#clearWFlags">TQWidget::clearWFlags</a>() and <a href="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. -<h3 class=fn><a name="TQTable-2"></a>TQTable::TQTable ( int numRows, int numCols, <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) +<h3 class=fn><a name="TQTable-2"></a>TQTable::TQTable ( int numRows, int numCols, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) </h3> 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 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="ntqwidget.html#clearWFlags">TQWidget::clearWFlags</a>() and <a href="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. +<p> <p>See also <a href="tqwidget.html#clearWFlags">TQWidget::clearWFlags</a>() and <a href="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. <h3 class=fn><a name="~TQTable"></a>TQTable::~TQTable () </h3> @@ -489,7 +489,7 @@ Resizes row <em>row</em> so that the row height is tall enough to display the tallest item the row contains. <p> <p>See also <a href="#adjustColumn">adjustColumn</a>(). -<h3 class=fn><a href="ntqwidget.html">TQWidget</a> * <a name="beginEdit"></a>TQTable::beginEdit ( int row, int col, bool replace )<tt> [virtual protected]</tt> +<h3 class=fn><a href="tqwidget.html">TQWidget</a> * <a name="beginEdit"></a>TQTable::beginEdit ( int row, int col, bool replace )<tt> [virtual protected]</tt> </h3> This function is called to start in-place editing of the cell at <em>row</em>, <em>col</em>. Editing is achieved by creating an editor @@ -512,11 +512,11 @@ content coordinates. Returns the geometry of cell <em>row</em>, <em>col</em> in the cell's coordinate system. This is a convenience function useful in <a href="#paintCell">paintCell</a>(). It is equivalent to <a href="ntqrect.html">TQRect</a>( <a href="ntqpoint.html">TQPoint</a>(0,0), <a href="#cellGeometry">cellGeometry</a>( -row, col).<a href="ntqwidget.html#size">size</a>() ); +row, col).<a href="tqwidget.html#size">size</a>() ); <p> <p>See also <a href="#cellGeometry">cellGeometry</a>(). <p>Example: <a href="tutorial2-08.html#x2610">chart/setdataform.cpp</a>. -<h3 class=fn><a href="ntqwidget.html">TQWidget</a> * <a name="cellWidget"></a>TQTable::cellWidget ( int row, int col ) const<tt> [virtual]</tt> +<h3 class=fn><a href="tqwidget.html">TQWidget</a> * <a name="cellWidget"></a>TQTable::cellWidget ( int row, int col ) const<tt> [virtual]</tt> </h3> Returns the widget that has been set for the cell at <em>row</em>, <em>col</em>, or 0 if no widget has been set. <p> If you don't use <a href="qtableitem.html">TQTableItem</a>s you may need to reimplement this @@ -634,7 +634,7 @@ the position where the context menu will appear in the global coordinate system. This signal is always emitted, even if the contents of the cell are disabled. -<h3 class=fn><a href="ntqwidget.html">TQWidget</a> * <a name="createEditor"></a>TQTable::createEditor ( int row, int col, bool initFromCell ) const<tt> [virtual protected]</tt> +<h3 class=fn><a href="tqwidget.html">TQWidget</a> * <a name="createEditor"></a>TQTable::createEditor ( int row, int col, bool initFromCell ) const<tt> [virtual protected]</tt> </h3> This function returns the widget which should be used as an editor for the contents of the cell at <em>row</em>, <em>col</em>. @@ -817,7 +817,7 @@ Inserts <em>count</em> empty columns at column <em>col</em>. Also clears the <a Inserts <em>count</em> empty rows at row <em>row</em>. Also clears the <a href="#selection">selection</a>(s). <p> <p>See also <a href="#insertColumns">insertColumns</a>() and <a href="#removeRow">removeRow</a>(). -<h3 class=fn>void <a name="insertWidget"></a>TQTable::insertWidget ( int row, int col, <a href="ntqwidget.html">TQWidget</a> * w )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="insertWidget"></a>TQTable::insertWidget ( int row, int col, <a href="tqwidget.html">TQWidget</a> * w )<tt> [virtual protected]</tt> </h3> Inserts widget <em>w</em> at <em>row</em>, <em>col</em> into the internal data structure. See the documentation of <a href="#setCellWidget">setCellWidget</a>() for @@ -1111,7 +1111,7 @@ reimplement this function to save the data the user entered into your data structure. (See the <a href="ntqtable.html#notes-on-large-tables">notes on large tables</a>.) <p> <p>See also <a href="qtableitem.html#setContentFromEditor">TQTableItem::setContentFromEditor</a>() and <a href="#createEditor">createEditor</a>(). -<h3 class=fn>void <a name="setCellWidget"></a>TQTable::setCellWidget ( int row, int col, <a href="ntqwidget.html">TQWidget</a> * e )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setCellWidget"></a>TQTable::setCellWidget ( int row, int col, <a href="tqwidget.html">TQWidget</a> * e )<tt> [virtual]</tt> </h3> Sets the widget <em>e</em> to the cell at <em>row</em>, <em>col</em> and takes care of placing and resizing the widget when the cell geometry changes. @@ -1432,7 +1432,7 @@ move operations internally. <p>Whether a cell in the table is editable or read-only depends on the cell's <a href="qtableitem.html#EditType-enum">EditType</a>, and this setting: see <a href="qtableitem.html#wheneditable">TQTableItem::EditType</a>. -<p> <p>See also <a href="ntqwidget.html#enabled-prop">TQWidget::enabled</a>, <a href="#setColumnReadOnly">setColumnReadOnly</a>(), and <a href="#setRowReadOnly">setRowReadOnly</a>(). +<p> <p>See also <a href="tqwidget.html#enabled-prop">TQWidget::enabled</a>, <a href="#setColumnReadOnly">setColumnReadOnly</a>(), and <a href="#setRowReadOnly">setRowReadOnly</a>(). <p>Set this property's value with <a href="#setReadOnly">setReadOnly</a>() and get this property's value with <a href="#isReadOnly">isReadOnly</a>(). <h3 class=fn>bool <a name="rowMovingEnabled-prop"></a>rowMovingEnabled</h3> |