Qtopia Home - Classes - Annotated - Functions - Qt Embedded |
|
The ImageSelectorDialog provides a means of selecting an image from a list of thumbnails. More...
#include <qtopia/imageselector.h>
This class presents a dialog of thumbnail view of available images. Thumbnails are stored in the calling applications' pixmap cache. To retrieve the image directly from the cache, append "_tv" to the filename returned via selectedFilename() or the selected() signal.
First availability: Qtopia 2.0
See also Qtopia Classes.
parent, name, modal, and wflags are the standard Qt QDialog flags. srcdir refers to base directory where images may be located. By default, this is QString::null, referring to the Qtopia Documents area. If you require access to a particular directory, specify the path.
Example:
QString directory = QPEApplication::qpeDir() + "pics/wallpaper";
ImageSelectorDialog *is = new ImageSelectorDialog(this, "Wallpapers", TRUE, directory);
This file is part of the Qtopia platform, copyright © 1995-2004 Trolltech, all rights reserved.
| Copyright © 2001-2004 Trolltech | Trademarks | Qtopia version 2.0.1
|