Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXFileDialog.h>
Inheritance diagram for FX::FXFileDialog:
Public Member Functions | |
FXFileDialog (FXWindow *owner, const FXString &name, FXuint opts=0, FXint x=0, FXint y=0, FXint w=500, FXint h=300) | |
FXFileDialog (FXApp *a, const FXString &name, FXuint opts=0, FXint x=0, FXint y=0, FXint w=500, FXint h=300) | |
virtual void | hide () |
void | setFilename (const FXString &path) |
FXString | getFilename () const |
FXString * | getFilenames () const |
void | setPattern (const FXString &ptrn) |
FXString | getPattern () const |
void | setPatternList (const FXString &patterns) |
FXString | getPatternList () const |
void | setCurrentPattern (FXint n) |
FXint | getCurrentPattern () const |
FXString | getPatternText (FXint patno) const |
void | setPatternText (FXint patno, const FXString &text) |
void | allowPatternEntry (FXbool allow) |
FXbool | allowPatternEntry () const |
void | setDirectory (const FXString &path) |
FXString | getDirectory () const |
void | setItemSpace (FXint s) |
FXint | getItemSpace () const |
void | setSelectMode (FXuint mode) |
FXuint | getSelectMode () const |
void | setMatchMode (FXuint mode) |
FXuint | getMatchMode () const |
FXbool | showHiddenFiles () const |
void | showHiddenFiles (FXbool showing) |
FXbool | showImages () const |
void | showImages (FXbool showing) |
FXint | getImageSize () const |
void | setImageSize (FXint size) |
void | showReadOnly (FXbool show) |
FXbool | shownReadOnly () const |
void | setReadOnly (FXbool state) |
FXbool | getReadOnly () const |
void | setFileBoxStyle (FXuint style) |
FXuint | getFileBoxStyle () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXFileDialog () |
Static Public Member Functions | |
FXString | getOpenFilename (FXWindow *owner, const FXString &caption, const FXString &path, const FXString &patterns="*", FXint initial=0) |
FXString * | getOpenFilenames (FXWindow *owner, const FXString &caption, const FXString &path, const FXString &patterns="*", FXint initial=0) |
FXString | getSaveFilename (FXWindow *owner, const FXString &caption, const FXString &path, const FXString &patterns="*", FXint initial=0) |
FXString | getOpenDirectory (FXWindow *owner, const FXString &caption, const FXString &path) |
|
Construct file dialog box.
|
|
Construct free-floating file dialog box.
|
|
Destructor.
|
|
Hide this window.
Reimplemented from FX::FXTopWindow. |
|
Change file name.
|
|
Return file name, if any.
|
|
Return empty-string terminated list of selected file names, or NULL if none selected.
|
|
Change file pattern.
|
|
Return file pattern.
|
|
Change the list of file patterns shown in the file dialog. Each pattern comprises an optional name, followed by a pattern in parentheses. The patterns are separated by newlines. For example, "*\n*.cpp,*.cc\n*.hpp,*.hh,*.h" and "All Files (*)\nC++ Sources (*.cpp,*.cc)\nC++ Headers (*.hpp,*.hh,*.h)" will set the same three patterns, but the former shows no pattern names. |
|
Return list of patterns.
|
|
After setting the list of patterns, this call will initially select pattern n as the active one.
|
|
Return current pattern number.
|
|
Get pattern text for given pattern number.
|
|
Change pattern text for pattern number.
|
|
Allow pattern entry.
|
|
Return TRUE if pattern entry is allowed.
|
|
Change directory.
|
|
Return directory.
|
|
Set the inter-item spacing (in pixels).
|
|
Return the inter-item spacing (in pixels).
|
|
Change file selection mode.
|
|
Return file selection mode.
|
|
Change wildcard matching mode.
|
|
Return wildcard matching mode.
|
|
Return TRUE if showing hidden files.
|
|
Show or hide hidden files.
|
|
Return TRUE if image preview on.
|
|
Show or hide preview images.
|
|
Return images preview size.
|
|
Change images preview size.
|
|
Show readonly button.
|
|
Return TRUE if readonly is shown.
|
|
Set initial state of readonly button.
|
|
Get readonly state.
|
|
Change File List style.
|
|
Return File List style.
|
|
Open existing filename.
|
|
Open multiple existing files.
|
|
Save to filename.
|
|
Open directory name.
|
|
Save to stream.
Reimplemented from FX::FXTopWindow. |
|
Load from stream.
Reimplemented from FX::FXTopWindow. |
Copyright © 1997-2005 Jeroen van der Zijp |