diff options
Diffstat (limited to 'doc/html/tqlistview.html')
-rw-r--r-- | doc/html/tqlistview.html | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/doc/html/tqlistview.html b/doc/html/tqlistview.html index c08528004..e8587f86c 100644 --- a/doc/html/tqlistview.html +++ b/doc/html/tqlistview.html @@ -87,7 +87,7 @@ body { background: #ffffff; color: black; } <li class=fn>int <a href="#itemMargin"><b>itemMargin</b></a> () const</li> <li class=fn>virtual void <a href="#setRootIsDecorated"><b>setRootIsDecorated</b></a> ( bool )</li> <li class=fn>bool <a href="#rootIsDecorated"><b>rootIsDecorated</b></a> () const</li> -<li class=fn>virtual void <a href="#setSorting"><b>setSorting</b></a> ( int column, bool ascending = TRUE )</li> +<li class=fn>virtual void <a href="#setSorting"><b>setSorting</b></a> ( int column, bool ascending = true )</li> <li class=fn>int <a href="#sortColumn"><b>sortColumn</b></a> () const</li> <li class=fn>void <a href="#setSortColumn"><b>setSortColumn</b></a> ( int column )</li> <li class=fn>SortOrder <a href="#sortOrder"><b>sortOrder</b></a> () const</li> @@ -218,7 +218,7 @@ columns or just column 0. The default is to show focus just using column 0. <tr bgcolor="#d0d0d0"> <td valign="top"><a href="#setRootIsDecorated">setRootIsDecorated</a>() <td valign="top">Sets whether root items should show open/close decoration to their left. -The default is FALSE. +The default is false. <tr bgcolor="#f0f0f0"> <td valign="top"><a href="#setTreeStepSize">setTreeStepSize</a>() <td valign="top">Sets how many pixels an item's children are indented relative to their parent. The default is 20. This is @@ -428,7 +428,7 @@ column. <h3 class=fn>void <a name="adjustColumn"></a>TQListView::adjustColumn ( int col )<tt> [slot]</tt> </h3> Adjusts the column <em>col</em> to its preferred width <h3 class=fn>bool <a name="allColumnsShowFocus"></a>TQListView::allColumnsShowFocus () const -</h3><p>Returns TRUE if items should show keyboard focus using all columns; otherwise returns FALSE. +</h3><p>Returns true if items should show keyboard focus using all columns; otherwise returns false. See the <a href="tqlistview.html#allColumnsShowFocus-prop">"allColumnsShowFocus"</a> property for details. <h3 class=fn>int <a name="childCount"></a>TQListView::childCount () const </h3><p>Returns the number of parentless (top-level) <a href="tqlistviewitem.html">TQListViewItem</a> objects in this TQListView. @@ -667,7 +667,7 @@ Please don't modify the header behind the list view's back. Hides the column specified at <em>column</em>. This is a convenience function that calls <a href="#setColumnWidth">setColumnWidth</a>( <em>column</em>, 0 ). <p> Note: The user may still be able to resize the hidden column using -the header handles. To prevent this, call setResizeEnabled(FALSE, +the header handles. To prevent this, call setResizeEnabled(false, <em>column</em>) on the list views header. <p> <p>See also <a href="#setColumnWidth">setColumnWidth</a>(). @@ -684,7 +684,7 @@ Inverts the selection. Only works in <a href="#SelectionMode-enum">Multi</a> and selection modes. <h3 class=fn>bool <a name="isMultiSelection"></a>TQListView::isMultiSelection () const -</h3><p>Returns TRUE if the list view is in multi-selection or extended-selection mode; otherwise returns FALSE. +</h3><p>Returns true if the list view is in multi-selection or extended-selection mode; otherwise returns false. See the <a href="tqlistview.html#multiSelection-prop">"multiSelection"</a> property for details. <h3 class=fn>bool <a name="isOpen"></a>TQListView::isOpen ( const <a href="tqlistviewitem.html">TQListViewItem</a> * item ) const </h3> @@ -693,12 +693,12 @@ Identical to <em>item</em>->isOpen(). Provided for completeness. <h3 class=fn>bool <a name="isRenaming"></a>TQListView::isRenaming () const </h3> -Returns TRUE if an item is being renamed; otherwise returns FALSE. +Returns true if an item is being renamed; otherwise returns false. <h3 class=fn>bool <a name="isSelected"></a>TQListView::isSelected ( const <a href="tqlistviewitem.html">TQListViewItem</a> * i ) const </h3> -Returns TRUE if the list view item <em>i</em> is selected; otherwise -returns FALSE. +Returns true if the list view item <em>i</em> is selected; otherwise +returns false. <p> <p>See also <a href="tqlistviewitem.html#isSelected">TQListViewItem::isSelected</a>(). <h3 class=fn><a href="tqlistviewitem.html">TQListViewItem</a> * <a name="itemAt"></a>TQListView::itemAt ( const <a href="tqpoint.html">TQPoint</a> & viewPos ) const @@ -872,7 +872,7 @@ Ensures that the header is correctly sized and positioned when the resize event <em>e</em> occurs. <h3 class=fn><a href="tqlistview.html#ResizeMode-enum">ResizeMode</a> <a name="resizeMode"></a>TQListView::resizeMode () const -</h3><p>Returns TRUE if all, none or the only the last column should be resized; otherwise returns FALSE. +</h3><p>Returns true if all, none or the only the last column should be resized; otherwise returns false. See the <a href="tqlistview.html#resizeMode-prop">"resizeMode"</a> property for details. <h3 class=fn>void <a name="returnPressed"></a>TQListView::returnPressed ( <a href="tqlistviewitem.html">TQListViewItem</a> * )<tt> [signal]</tt> </h3> @@ -897,11 +897,11 @@ global coordinates and the relevant column (or -1 if the click was outside the list). <h3 class=fn>bool <a name="rootIsDecorated"></a>TQListView::rootIsDecorated () const -</h3><p>Returns TRUE if the list view shows open/close signs on root items; otherwise returns FALSE. +</h3><p>Returns true if the list view shows open/close signs on root items; otherwise returns false. See the <a href="tqlistview.html#rootIsDecorated-prop">"rootIsDecorated"</a> property for details. <h3 class=fn>void <a name="selectAll"></a>TQListView::selectAll ( bool select )<tt> [virtual slot]</tt> </h3> -If <em>select</em> is TRUE, all the items get selected; otherwise all +If <em>select</em> is true, all the items get selected; otherwise all the items get unselected. This only works in the selection modes <a href="#SelectionMode-enum">Multi</a> and <a href="#SelectionMode-enum">Extended</a>. In <a href="#SelectionMode-enum">Single</a> and <a href="#SelectionMode-enum">NoSelection</a> mode the selection of the current item is just set to <em>select</em>. @@ -1002,8 +1002,8 @@ See the <a href="tqlistview.html#itemMargin-prop">"itemMargin"</a> property for See the <a href="tqlistview.html#multiSelection-prop">"multiSelection"</a> property for details. <h3 class=fn>void <a name="setOpen"></a>TQListView::setOpen ( <a href="tqlistviewitem.html">TQListViewItem</a> * item, bool open )<tt> [virtual]</tt> </h3> -Sets <em>item</em> to be open if <em>open</em> is TRUE and <em>item</em> is -expandable, and to be closed if <em>open</em> is FALSE. Repaints +Sets <em>item</em> to be open if <em>open</em> is true and <em>item</em> is +expandable, and to be closed if <em>open</em> is false. Repaints accordingly. <p> <p>See also <a href="tqlistviewitem.html#setOpen">TQListViewItem::setOpen</a>() and <a href="tqlistviewitem.html#setExpandable">TQListViewItem::setExpandable</a>(). @@ -1015,10 +1015,10 @@ See the <a href="tqlistview.html#resizeMode-prop">"resizeMode"</a> property for See the <a href="tqlistview.html#rootIsDecorated-prop">"rootIsDecorated"</a> property for details. <h3 class=fn>void <a name="setSelected"></a>TQListView::setSelected ( <a href="tqlistviewitem.html">TQListViewItem</a> * item, bool selected )<tt> [virtual]</tt> </h3> -If <em>selected</em> is TRUE the <em>item</em> is selected; otherwise it is +If <em>selected</em> is true the <em>item</em> is selected; otherwise it is unselected. <p> If the list view is in <a href="#SelectionMode-enum">Single</a> selection mode and <em>selected</em> is -TRUE, the currently selected item is unselected and <em>item</em> is +true, the currently selected item is unselected and <em>item</em> is made current. Unlike <a href="tqlistviewitem.html#setSelected">TQListViewItem::setSelected</a>(), this function updates the list view as necessary and emits the <a href="#selectionChanged">selectionChanged</a>() signals. @@ -1056,10 +1056,10 @@ to sort the list view. Sets the sort order for the items in the list view to <em>order</em>. <p> <p>See also <a href="#setSorting">setSorting</a>(). -<h3 class=fn>void <a name="setSorting"></a>TQListView::setSorting ( int column, bool ascending = TRUE )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setSorting"></a>TQListView::setSorting ( int column, bool ascending = true )<tt> [virtual]</tt> </h3> Sets the list view to be sorted by column <em>column</em> in ascending -order if <em>ascending</em> is TRUE or descending order if it is FALSE. +order if <em>ascending</em> is true or descending order if it is false. <p> If <em>column</em> is -1, sorting is disabled and the user cannot sort columns by clicking on the column headers. If <em>column</em> is larger than the number of columns the user must click on a column @@ -1069,10 +1069,10 @@ header to sort the list view. </h3><p>Sets the number of pixels a child is offset from its parent. See the <a href="tqlistview.html#treeStepSize-prop">"treeStepSize"</a> property for details. <h3 class=fn>bool <a name="showSortIndicator"></a>TQListView::showSortIndicator () const -</h3><p>Returns TRUE if the list view header should display a sort indicator; otherwise returns FALSE. +</h3><p>Returns true if the list view header should display a sort indicator; otherwise returns false. See the <a href="tqlistview.html#showSortIndicator-prop">"showSortIndicator"</a> property for details. <h3 class=fn>bool <a name="showToolTips"></a>TQListView::showToolTips () const -</h3><p>Returns TRUE if this list view should show tooltips for truncated column texts; otherwise returns FALSE. +</h3><p>Returns true if this list view should show tooltips for truncated column texts; otherwise returns false. See the <a href="tqlistview.html#showToolTips-prop">"showToolTips"</a> property for details. <h3 class=fn>void <a name="sort"></a>TQListView::sort ()<tt> [virtual]</tt> </h3> @@ -1124,10 +1124,10 @@ Updates the sizes of the viewport, header, scroll bars and so on. <hr><h2>Property Documentation</h2> <h3 class=fn>bool <a name="allColumnsShowFocus-prop"></a>allColumnsShowFocus</h3> <p>This property holds whether items should show <a href="focus.html#keyboard-focus">keyboard focus</a> using all columns. -<p>If this property is TRUE all columns will show focus and selection +<p>If this property is true all columns will show focus and selection states, otherwise only column 0 will show focus. -<p> The default is FALSE. -<p> Setting this to TRUE if it's not necessary may cause noticeable +<p> The default is false. +<p> Setting this to true if it's not necessary may cause noticeable flicker. <p>Set this property's value with <a href="#setAllColumnsShowFocus">setAllColumnsShowFocus</a>() and get this property's value with <a href="#allColumnsShowFocus">allColumnsShowFocus</a>(). @@ -1185,7 +1185,7 @@ undefined. <h3 class=fn>bool <a name="rootIsDecorated-prop"></a>rootIsDecorated</h3> <p>This property holds whether the list view shows open/close signs on root items. <p>Open/close signs are small <b>+</b> or <b>-</b> symbols in windows -style, or arrows in Motif style. The default is FALSE. +style, or arrows in Motif style. The default is false. <p>Set this property's value with <a href="#setRootIsDecorated">setRootIsDecorated</a>() and get this property's value with <a href="#rootIsDecorated">rootIsDecorated</a>(). <h3 class=fn><a href="tqlistview.html#SelectionMode-enum">SelectionMode</a> <a name="selectionMode-prop"></a>selectionMode</h3> @@ -1197,17 +1197,17 @@ style, or arrows in Motif style. The default is FALSE. <p>Set this property's value with <a href="#setSelectionMode">setSelectionMode</a>() and get this property's value with <a href="#selectionMode">selectionMode</a>(). <h3 class=fn>bool <a name="showSortIndicator-prop"></a>showSortIndicator</h3> <p>This property holds whether the list view header should display a sort indicator. -<p>If this property is TRUE, an arrow is drawn in the header of the +<p>If this property is true, an arrow is drawn in the header of the list view to indicate the sort order of the list view contents. The arrow will be drawn in the correct column and will point up or down, depending on the current sort direction. The default is -FALSE (don't show an indicator). +false (don't show an indicator). <p> <p>See also <a href="tqheader.html#setSortIndicator">TQHeader::setSortIndicator</a>(). <p>Set this property's value with <a href="#setShowSortIndicator">setShowSortIndicator</a>() and get this property's value with <a href="#showSortIndicator">showSortIndicator</a>(). <h3 class=fn>bool <a name="showToolTips-prop"></a>showToolTips</h3> <p>This property holds whether this list view should show tooltips for truncated column texts. -<p>The default is TRUE. +<p>The default is true. <p>Set this property's value with <a href="#setShowToolTips">setShowToolTips</a>() and get this property's value with <a href="#showToolTips">showToolTips</a>(). <h3 class=fn>int <a name="treeStepSize-prop"></a>treeStepSize</h3> |