diff options
Diffstat (limited to 'doc/html/ntqlistbox.html')
-rw-r--r-- | doc/html/ntqlistbox.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/html/ntqlistbox.html b/doc/html/ntqlistbox.html index ea6daa6f6..47d9b5c56 100644 --- a/doc/html/ntqlistbox.html +++ b/doc/html/ntqlistbox.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQListBox widget provides a list of selectable, read-only items. <a href="#details">More...</a> <p><tt>#include <<a href="qlistbox-h.html">ntqlistbox.h</a>></tt> -<p>Inherits <a href="ntqscrollview.html">TQScrollView</a>. +<p>Inherits <a href="tqscrollview.html">TQScrollView</a>. <p><a href="qlistbox-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -255,14 +255,14 @@ the mouse wheel. quite inefficient. It's preferable to insert the items normally and call <a href="#sort">sort</a>() afterwards, or to insert a sorted <a href="tqstringlist.html">TQStringList</a>(). <p> By default, vertical and horizontal scroll bars are added and -removed as necessary. <a href="ntqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>() and <a href="ntqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>() +removed as necessary. <a href="tqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>() and <a href="tqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>() can be used to change this policy. <p> If you need to insert types other than strings and pixmaps, you must define new classes which inherit <a href="qlistboxitem.html">TQListBoxItem</a>. <p> <b>Warning:</b> The list box assumes ownership of all list box items and will delete them when it does not need them any more. <p> <img src=qlistbox-m.png> <img src=qlistbox-w.png> -<p> <p>See also <a href="ntqlistview.html">TQListView</a>, <a href="ntqcombobox.html">TQComboBox</a>, <a href="ntqbuttongroup.html">TQButtonGroup</a>, <a href="guibooks.html#fowler">GUI Design Handbook: List Box (two +<p> <p>See also <a href="ntqlistview.html">TQListView</a>, <a href="tqcombobox.html">TQComboBox</a>, <a href="ntqbuttongroup.html">TQButtonGroup</a>, <a href="guibooks.html#fowler">GUI Design Handbook: List Box (two sections)</a>, and <a href="advanced.html">Advanced Widgets</a>. <hr><h2>Member Type Documentation</h2> @@ -328,21 +328,21 @@ Destroys the list box. Deletes all list box items. </h3> <p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> Returns TRUE if <a href="ntqscrollview.html#hScrollBarMode">hScrollBarMode</a>() is <a href="ntqscrollview.html#ScrollBarMode-enum">Auto</a>; otherwise returns +<p> Returns TRUE if <a href="tqscrollview.html#hScrollBarMode">hScrollBarMode</a>() is <a href="tqscrollview.html#ScrollBarMode-enum">Auto</a>; otherwise returns FALSE. <h3 class=fn>bool <a name="autoScrollBar"></a>TQListBox::autoScrollBar () const </h3> <p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> Returns TRUE if <a href="ntqscrollview.html#vScrollBarMode">vScrollBarMode</a>() is <a href="ntqscrollview.html#ScrollBarMode-enum">Auto</a>; otherwise returns +<p> Returns TRUE if <a href="tqscrollview.html#vScrollBarMode">vScrollBarMode</a>() is <a href="tqscrollview.html#ScrollBarMode-enum">Auto</a>; otherwise returns FALSE. <h3 class=fn>bool <a name="bottomScrollBar"></a>TQListBox::bottomScrollBar () const </h3> <p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> Returns FALSE if <a href="ntqscrollview.html#vScrollBarMode">vScrollBarMode</a>() is <a href="ntqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>; otherwise +<p> Returns FALSE if <a href="tqscrollview.html#vScrollBarMode">vScrollBarMode</a>() is <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>; otherwise returns TRUE. <h3 class=fn>int <a name="cellHeight"></a>TQListBox::cellHeight ( int i ) const @@ -689,7 +689,7 @@ Returns a pointer to the item at position <em>index</em>, or 0 if <em>index</em> </h3> Returns the item at point <em>p</em>, specified in viewport coordinates, or a 0 if there is no item at <em>p</em>. -<p> Use <a href="ntqscrollview.html#contentsToViewport">contentsToViewport</a>() to convert between widget coordinates and +<p> Use <a href="tqscrollview.html#contentsToViewport">contentsToViewport</a>() to convert between widget coordinates and viewport coordinates. <h3 class=fn>int <a name="itemHeight"></a>TQListBox::itemHeight ( int index = 0 ) const @@ -700,7 +700,7 @@ Returns the height in pixels of the item with index <em>index</em>. <em>index</e <h3 class=fn><a href="tqrect.html">TQRect</a> <a name="itemRect"></a>TQListBox::itemRect ( <a href="qlistboxitem.html">TQListBoxItem</a> * item ) const </h3> Returns the rectangle on the screen that <em>item</em> occupies in -<a href="ntqscrollview.html#viewport">viewport</a>()'s coordinates, or an invalid rectangle if <em>item</em> is 0 +<a href="tqscrollview.html#viewport">viewport</a>()'s coordinates, or an invalid rectangle if <em>item</em> is 0 or is not currently visible. <h3 class=fn>bool <a name="itemVisible"></a>TQListBox::itemVisible ( int index ) @@ -844,7 +844,7 @@ See the <a href="ntqlistbox.html#rowMode-prop">"rowMode"</a> property for detail </h3> <p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> Returns FALSE if <a href="ntqscrollview.html#vScrollBarMode">vScrollBarMode</a>() is <a href="ntqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>; otherwise +<p> Returns FALSE if <a href="tqscrollview.html#vScrollBarMode">vScrollBarMode</a>() is <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>; otherwise returns TRUE. <h3 class=fn>void <a name="selectAll"></a>TQListBox::selectAll ( bool select )<tt> [virtual slot]</tt> @@ -909,15 +909,15 @@ See the <a href="ntqlistbox.html#selectionMode-prop">"selectionMode"</a> propert </h3> <p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> If <em>enable</em> is TRUE sets <a href="ntqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>() to <a href="ntqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>; -otherwise sets setHScrollBarMode() to <a href="ntqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>. +<p> If <em>enable</em> is TRUE sets <a href="tqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>; +otherwise sets setHScrollBarMode() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>. <h3 class=fn>void <a name="setAutoScrollBar"></a>TQListBox::setAutoScrollBar ( bool enable ) </h3> <p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> If <em>enable</em> is TRUE sets <a href="ntqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>() to <a href="ntqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>; -otherwise sets setVScrollBarMode() to <a href="ntqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>. +<p> If <em>enable</em> is TRUE sets <a href="tqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>; +otherwise sets setVScrollBarMode() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>. <h3 class=fn>void <a name="setBottomItem"></a>TQListBox::setBottomItem ( int index )<tt> [virtual]</tt> </h3> @@ -929,8 +929,8 @@ is displayed in the bottom row of the list box. </h3> <p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> If <em>enable</em> is TRUE sets <a href="ntqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>() to <a href="ntqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>; -otherwise sets setHScrollBarMode() to <a href="ntqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>. +<p> If <em>enable</em> is TRUE sets <a href="tqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>; +otherwise sets setHScrollBarMode() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>. <h3 class=fn>void <a name="setColumnMode"></a>TQListBox::setColumnMode ( <a href="ntqlistbox.html#LayoutMode-enum">LayoutMode</a> )<tt> [virtual]</tt> </h3><p>Sets the column layout mode for this list box. @@ -959,8 +959,8 @@ See the <a href="ntqlistbox.html#rowMode-prop">"rowMode"</a> property for detail </h3> <p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> If <em>enable</em> is TRUE sets <a href="ntqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>() to <a href="ntqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>; -otherwise sets setVScrollBarMode() to <a href="ntqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>. +<p> If <em>enable</em> is TRUE sets <a href="tqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>; +otherwise sets setVScrollBarMode() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>. <h3 class=fn>void <a name="setSelected"></a>TQListBox::setSelected ( <a href="qlistboxitem.html">TQListBoxItem</a> * item, bool select )<tt> [virtual]</tt> </h3> @@ -1025,13 +1025,13 @@ See the <a href="ntqlistbox.html#topItem-prop">"topItem"</a> property for detail </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> -Returns <a href="ntqscrollview.html#contentsHeight">contentsHeight</a>(). +Returns <a href="tqscrollview.html#contentsHeight">contentsHeight</a>(). <h3 class=fn>int <a name="totalWidth"></a>TQListBox::totalWidth () const<tt> [protected]</tt> </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> -Returns <a href="ntqscrollview.html#contentsWidth">contentsWidth</a>(). +Returns <a href="tqscrollview.html#contentsWidth">contentsWidth</a>(). <h3 class=fn>void <a name="triggerUpdate"></a>TQListBox::triggerUpdate ( bool doLayout ) </h3> |