qfileiconprovider man page on IRIX

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



QFileIconProvider(3qt)			   QFileIconProvider(3qt)

NAME
       QFileIconProvider - Icons for

       #include <qfiledialog.h>

       Inherits QObject.

   Public Members
       QFileIconProvider ( QObject * parent = 0, const char *
	   name = 0 )
       virtual const QPixmap* pixmap ( const QFileInfo & )

DESCRIPTION
       The QFileIconProvider class provides icons for QFileDialog
       to use.

       By default, QFileIconProvider is not used, but any
       application or library can subclass it, reimplement
       pixmap() to return a suitable icon, and make all
       QFileDialog objects use it by calling the static function
       QFileDialog::setIconProvider().

       It's advisable to make all the icons QFileIconProvider
       returns be of the same size, or at least the same width.
       This makes the list view look much better.

       See also QFileDialog.

MEMBER FUNCTION DOCUMENTATION
QFileIconProvider::QFileIconProvider ( QObject * parent = 0,
       const char * name = 0 )
       Constructs an empty file icon provider.

const QPixmap * QFileIconProvider::pixmap ( const QFileInfo &
       info ) [virtual]
       Returns a pointer to a pixmap which should be used for
       visualizing the file with the information info.

       If pixmap() returns 0, QFileDialog draws the default
       pixmap.

       The default implementation returns particular icons for
       files, directories, link-files, link-directories, and
       blank for other types.

       If you return a pixmap here, it should be of the size
       16x16.

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

Trolltech AS		   13 June 2001				1

QFileIconProvider(3qt)			   QFileIconProvider(3qt)

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
       (qfileiconprovider.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