qfocusdata man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



QFocusData(3qt)					  QFocusData(3qt)

NAME
       QFocusData - Maintains the list of widgets which can take
       focus

       #include <qfocusdata.h>

   Public Members
       QWidget* focusWidget () const
       QWidget* home ()
       QWidget* next ()
       QWidget* prev ()
       int count () const

DESCRIPTION
       Maintains the list of widgets which can take focus.

       This read-only list always contains at least one widget
       (the top-level widget, actually). It provides a simple
       cursor, which can be reset to the current focus widget
       using home(), or moved to its neighboring widgets using
       next() and prev(), and a count() of widgets in the list.

       Note that some widgets in the list may not accept focus.
       Widgets are added to the list as necessary, but not
       removed from it. This lets widgets change focus policy
       dynamically without disrupting the focus chain the user
       sees: When a widget disables and re-enables tab focus, its
       position in the focus chain does not change.

       When reimplementing QWidget::focusNextPrevChild() to
       provide special focus flow, you will usually call
       QWidget::focusData() to retrieve the focus data stored at
       the top-level widget - the focus data for that hierarchy
       of widgets.

       The cursor may change at any time; this class is not
       thread-safe.

       See also QWidget::focusNextPrevChild(),
       QWidget::setTabOrder() and QWidget::setFocusPolicy().

MEMBER FUNCTION DOCUMENTATION
int QFocusData::count () const
       Returns a count of the number of widgets in the hierarchy
       which accept focus.

QWidget* QFocusData::focusWidget () const
       Returns the widgets in the hierarchy which currently has
       focus.

QWidget* QFocusData::home ()
       Moves the cursor to the focusWidget() and returns that
       widget. You must call this before next() or prev() to

Trolltech AS		   13 June 2001				1

QFocusData(3qt)					  QFocusData(3qt)

       iterate meaningfully.

QWidget* QFocusData::next ()
       Moves the cursor to the right. Note that the focus widgets
       are a loop of widgets. If you keep calling next(), it will
       loop, without ever returning 0.

QWidget* QFocusData::prev ()
       Moves the cursor to the left.  Note that the focus widgets
       are a loop of widgets.  If you keep calling prev(), it
       will loop, without ever returning 0.

SEE ALSO
       http://doc.trolltech.com/qfocusdata.html
       http://www.trolltech.com/faq/tech.html

COPYRIGHT
       Copyright 1992-2001 Trolltech AS,
       http://www.trolltech.com.  See the license file included
       in the distribution for a complete license statement.

AUTHOR
       Generated automatically from the source code.

BUGS
       If you find a bug in Qt, please report it as described in
       http://doc.trolltech.com/bughowto.html.	Good bug reports
       make our job much simpler. Thank you.

       In case of content or formattting problems with this
       manual page, please report them to qt-bugs@trolltech.com.
       Please include the name of the manual page
       (qfocusdata.3qt) and the Qt version (2.3.1).

Trolltech AS		   13 June 2001				2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net