class ScQtFileDialog

This Class provides a FileDialog usable also under Qtopia and Opie
As Qtopia/Opie does not ship any FileDialogClass, this class can be used instead. More...

Definition#include <scqtfiledialog.h>
InheritsQObject (unknown) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


Detailed Description

This Class provides a FileDialog usable also under Qtopia and Opie
As Qtopia/Opie does not ship any FileDialogClass, this class can be used instead.

It is more or less parameter compatible to the X11 QT standard filedialog, but comes with some extensions.

This class uses the Class ScQtFileEditDlg for presentation and selection. This class is created, wehn needed and destroyed, when the dialog is closed.

QString  getOpenFileName ( const QString &path, const QString &filter, QWidget *parent=0, const char *name=0 )

getOpenFileName

[static]

presents the selected directory and returns the selected filename.

The filename can either be selected using the list to select a file, or by entering the name manually into the filename field.

path : the path to start the dialog with filter : the filter for the filename list parent : the Widgets parent (as know from QT) name : the Dialogs name (as know from QT)

Returns: : the selected filename. If none was selected, an empty QString is returned.

QString  getSaveFileName ( const QString &path="/", const QString &filter="*", QWidget *parent=0, const char *name=0 )

getSaveFileName

[static]

presents the selected directory and returns the entered filename.

The filename can either be selected using the list to select a file, or by entering the name manually into the filename field.

path : the path to start the dialog with filter : the filter for the filename list parent : the Widgets parent (as know from QT) name : the Dialogs name (as know from QT) caption : the Dialogs caption

Returns: : the selected filename. If none was selected, an empty QString is returned.

QString  getExistingDirectory ( const QString &path="/", QWidget *parent=0, const char *name=0 )

getExistingDirectory

[static]

presents the selected directory and returns the selected dirname.

The dirname can either be selected using the list to select a file, or by entering the name manually into the filename field.

name : the Dialogs name (as know from QT) path : the path to start the dialog with parent : the Widgets parent (as know from QT)

Returns: : the selected dirname. If none was selected, an empty QString is returned.

 ScQtFileDialog ( QWidget *parent=0, const char *name=0 )

ScQtFileDialog

 ~ScQtFileDialog ()

~ScQtFileDialog