21 #ifndef FXFILEDIALOG_H 22 #define FXFILEDIALOG_H 25 #include "FXDialogBox.h" 33 class FXFileAssociations;
42 static const FXchar sectionName[];
59 virtual void create();
62 virtual void destroy();
65 void setFilename(
const FXString& path);
74 void setDirectory(
const FXString& path);
80 void setSelectMode(FXuint mode);
83 FXuint getSelectMode()
const;
86 void setPattern(
const FXString& ptrn);
92 void setMatchMode(FXuint mode);
95 FXuint getMatchMode()
const;
111 void setPatternList(
const FXString& patterns);
120 void setCurrentPattern(FXint patno);
123 FXint getCurrentPattern()
const;
126 void setPatternText(FXint patno,
const FXString& text);
129 FXString getPatternText(FXint patno)
const;
132 FXint getNumPatterns()
const;
135 void allowPatternEntry(FXbool flag);
138 FXbool allowPatternEntry()
const;
141 void setItemSpace(FXint s);
144 FXint getItemSpace()
const;
147 FXbool showHiddenFiles()
const;
150 void showHiddenFiles(FXbool flag);
153 FXbool showImages()
const;
156 void showImages(FXbool flag);
159 FXint getImageSize()
const;
162 void setImageSize(FXint size);
165 void showReadOnly(FXbool flag);
168 FXbool shownReadOnly()
const;
171 void setReadOnly(FXbool flag);
174 FXbool getReadOnly()
const;
177 void setFileBoxStyle(FXuint style);
180 FXuint getFileBoxStyle()
const;
183 void allowNavigation(FXbool flag);
186 FXbool allowNavigation()
const;
189 void setDraggableFiles(FXbool flag);
192 FXbool getDraggableFiles()
const;
195 void setTimeFormat(
const FXString& fmt);
247 virtual void save(
FXStream& store)
const;
DialogBox window.
Definition: FXDialogBox.h:37
Window is the base class for all widgets in FOX.
Definition: FXWindow.h:130
An icon source is a class that loads an icon of any type.
Definition: FXIconSource.h:47
File selection dialog.
Definition: FXFileDialog.h:37
The Application object is the central point of a FOX user-interface.
Definition: FXApp.h:134
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
Definition: FX4Splitter.h:28
The FileAssociations object manages file associations between a file extension and a FileAssoc record...
Definition: FXFileAssociations.h:101
File selection widget.
Definition: FXFileSelector.h:57
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42