29#include <sptk5/DirectoryDS.h>
30#include <sptk5/Strings.h>
31#include <sptk5/gui/CComboBox.h>
32#include <sptk5/gui/CDataControl.h>
33#include <sptk5/gui/CDialog.h>
34#include <sptk5/gui/CListView.h>
98 static void up_cb(Fl_Widget*,
void*);
128 static const char slashStr[];
Combo box widget.
Definition: CComboBox.h:461
Definition: CDialog.h:126
Base class for CFileOpenDialog and CFileSaveDialog.
Definition: CFileDialog.h:50
static String removeTrailingSlash(const String &dirname)
Removes a trailing slash in the directory name.
static void new_folder_cb(Fl_Widget *, void *)
void fileName(const String &fileName)
CComboBox * m_lookInCombo
Definition: CFileDialog.h:65
static void home_cb(Fl_Widget *, void *)
static void lookin_cb(Fl_Widget *w, void *)
void directory(const String &p)
static void dirview_cb(Fl_Widget *w, void *)
DirectoryDS m_directory
Definition: CFileDialog.h:55
CListView * m_directoryView
Definition: CFileDialog.h:60
void addPattern(const String &patternName, const String &pattern)
String directory() const
Definition: CFileDialog.h:141
String fullFileName() const
CFileDialog(const String &label, bool saveMode)
CComboBox * m_patternCombo
Definition: CFileDialog.h:75
String fileName() const
Definition: CFileDialog.h:184
static void up_cb(Fl_Widget *, void *)
void setPattern(const String &patternName)
static const char slashChar
Definition: CFileDialog.h:123
void refreshDirectory(const String &dirName="")
CInput * m_fileNameInput
Definition: CFileDialog.h:70
static void pattern_cb(Fl_Widget *w, void *)
List view widget.
Definition: CListView.h:108
Directory datasource.
Definition: DirectoryDS.h:64
void directory(const String &d)
virtual String asString() const