Audacity  3.0.3
Public Member Functions | List of all members
FileDialogWrapper Class Reference

#include <wxPanelWrapper.h>

Inheritance diagram for FileDialogWrapper:
[legend]
Collaboration diagram for FileDialogWrapper:
[legend]

Public Member Functions

 FileDialogWrapper ()
 
 FileDialogWrapper (wxWindow *parent, const TranslatableString &message, const FilePath &defaultDir, const FilePath &defaultFile, const FileNames::FileTypes &fileTypes, long style=wxFD_DEFAULT_STYLE, const wxPoint &pos=wxDefaultPosition, const wxSize &sz=wxDefaultSize, const TranslatableString &name=XO("File Dialog"))
 
void Create (wxWindow *parent, const TranslatableString &message, const FilePath &defaultDir, const FilePath &defaultFile, const FileNames::FileTypes &fileTypes, long style=wxFD_DEFAULT_STYLE, const wxPoint &pos=wxDefaultPosition, const wxSize &sz=wxDefaultSize, const TranslatableString &name=XO("File Dialog"))
 
- Public Member Functions inherited from wxTabTraversalWrapper< FileDialog >
 wxTabTraversalWrapper (Args &&... args)
 
 wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete
 
 wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete
 
wxTabTraversalWrapperoperator= (const wxTabTraversalWrapper &)=delete
 
wxTabTraversalWrapperoperator= (wxTabTraversalWrapper &&)=delete
 
- Public Member Functions inherited from FileDialog
 FileDialog ()
 
 FileDialog (wxWindow *parent, const wxString &message=wxFileSelectorPromptStr, const wxString &defaultDir=wxEmptyString, const wxString &defaultFile=wxEmptyString, const wxString &wildCard=wxFileSelectorDefaultWildcardStr, long style=wxFD_DEFAULT_STYLE, const wxPoint &pos=wxDefaultPosition, const wxSize &sz=wxDefaultSize, const wxString &name=wxFileDialogNameStr)
 
bool Create (wxWindow *parent, const wxString &message=wxFileSelectorPromptStr, const wxString &defaultDir=wxEmptyString, const wxString &defaultFile=wxEmptyString, const wxString &wildCard=wxFileSelectorDefaultWildcardStr, long style=wxFD_DEFAULT_STYLE, const wxPoint &pos=wxDefaultPosition, const wxSize &sz=wxDefaultSize, const wxString &name=wxFileDialogNameStr)
 
virtual ~FileDialog ()
 
virtual wxString GetPath () const
 
virtual void GetPaths (wxArrayString &paths) const
 
virtual wxString GetFilename () const
 
virtual void GetFilenames (wxArrayString &files) const
 
virtual int GetFilterIndex () const
 
virtual void SetMessage (const wxString &message)
 
virtual void SetPath (const wxString &path)
 
virtual void SetDirectory (const wxString &dir)
 
virtual void SetFilename (const wxString &name)
 
virtual void SetWildcard (const wxString &wildCard)
 
virtual void SetFilterIndex (int filterIndex)
 
virtual int ShowModal ()
 
virtual bool SupportsExtraControl () const
 
virtual void SetFileExtension (const wxString &extension)
 
void GTKSelectionChanged (const wxString &filename)
 
void GTKFolderChanged ()
 
void GTKFilterChanged ()
 
 FileDialog ()
 
 FileDialog (wxWindow *parent, const wxString &message=wxFileSelectorPromptStr, const wxString &defaultDir=wxEmptyString, const wxString &defaultFile=wxEmptyString, const wxString &wildCard=wxFileSelectorDefaultWildcardStr, long style=wxFD_DEFAULT_STYLE, const wxPoint &pos=wxDefaultPosition, const wxSize &sz=wxDefaultSize, const wxString &name=wxFileDialogNameStr)
 
void Create (wxWindow *parent, const wxString &message=wxFileSelectorPromptStr, const wxString &defaultDir=wxEmptyString, const wxString &defaultFile=wxEmptyString, const wxString &wildCard=wxFileSelectorDefaultWildcardStr, long style=wxFD_DEFAULT_STYLE, const wxPoint &pos=wxDefaultPosition, const wxSize &sz=wxDefaultSize, const wxString &name=wxFileDialogNameStr)
 
virtual void GetPaths (wxArrayString &paths) const
 
virtual void GetFilenames (wxArrayString &files) const
 
virtual int ShowModal ()
 
virtual bool SupportsExtraControl () const
 
virtual void SetFileExtension (const wxString &extension)
 
 FileDialog ()
 
 FileDialog (wxWindow *parent, const wxString &message=wxFileSelectorPromptStr, const wxString &defaultDir=wxEmptyString, const wxString &defaultFile=wxEmptyString, const wxString &wildCard=wxFileSelectorDefaultWildcardStr, long style=wxFD_DEFAULT_STYLE, const wxPoint &pos=wxDefaultPosition, const wxSize &sz=wxDefaultSize, const wxString &name=wxFileDialogNameStr)
 
virtual void GetPaths (wxArrayString &paths) const
 
virtual void GetFilenames (wxArrayString &files) const
 
virtual int ShowModal ()
 
virtual void SetFileExtension (const wxString &extension)
 
- Public Member Functions inherited from FileDialogBase
 FileDialogBase ()
 
virtual ~FileDialogBase ()
 
virtual bool HasUserPaneCreator () const
 
virtual void SetUserPaneCreator (UserPaneCreatorFunction creator, wxUIntPtr userdata)
 

Additional Inherited Members

- Public Types inherited from FileDialogBase
typedef void(* UserPaneCreatorFunction) (wxWindow *parent, wxUIntPtr userdata)
 
- Protected Member Functions inherited from FileDialog
virtual void DoSetSize (int x, int y, int width, int height, int sizeFlags=wxSIZE_AUTO)
 
virtual void DoSetSize (int WXUNUSED(x), int WXUNUSED(y), int WXUNUSED(width), int WXUNUSED(height), int WXUNUSED(sizeFlags)=wxSIZE_AUTO)
 
void SetupExtraControls (WXWindow nativeWindow)
 
virtual void DoMoveWindow (int x, int y, int width, int height)
 
virtual void DoCentre (int dir)
 
virtual void DoGetSize (int *width, int *height) const
 
virtual void DoGetPosition (int *x, int *y) const
 
- Protected Member Functions inherited from FileDialogBase
void CreateUserPane (wxWindow *parent)
 
- Protected Attributes inherited from FileDialog
wxArrayString m_fileNames
 
wxArrayString m_paths
 
- Protected Attributes inherited from FileDialogBase
UserPaneCreatorFunction m_creator
 
wxUIntPtr m_userdata
 

Detailed Description

Definition at line 163 of file wxPanelWrapper.h.

Constructor & Destructor Documentation

◆ FileDialogWrapper() [1/2]

FileDialogWrapper::FileDialogWrapper ( )
inline

Definition at line 167 of file wxPanelWrapper.h.

167 {}

◆ FileDialogWrapper() [2/2]

FileDialogWrapper::FileDialogWrapper ( wxWindow *  parent,
const TranslatableString message,
const FilePath defaultDir,
const FilePath defaultFile,
const FileNames::FileTypes fileTypes,
long  style = wxFD_DEFAULT_STYLE,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  sz = wxDefaultSize,
const TranslatableString name = XO("File Dialog") 
)
inline

Definition at line 170 of file wxPanelWrapper.h.

182  parent, message.Translation(), defaultDir, defaultFile,
183  FileNames::FormatWildcard( fileTypes ),
184  style, pos, sz, name.Translation() )
185  {}

Member Function Documentation

◆ Create()

void FileDialogWrapper::Create ( wxWindow *  parent,
const TranslatableString message,
const FilePath defaultDir,
const FilePath defaultFile,
const FileNames::FileTypes fileTypes,
long  style = wxFD_DEFAULT_STYLE,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  sz = wxDefaultSize,
const TranslatableString name = XO("File Dialog") 
)
inline

Definition at line 188 of file wxPanelWrapper.h.

199  {
201  parent, message.Translation(), defaultDir, defaultFile,
202  FileNames::FormatWildcard( fileTypes ),
203  style, pos, sz, name.Translation()
204  );
205  }

References FileNames::FormatWildcard(), name, and TranslatableString::Translation().

Here is the call graph for this function:

The documentation for this class was generated from the following file:
wxTabTraversalWrapper< FileDialog >
name
const TranslatableString name
Definition: Distortion.cpp:98
TranslatableString::Translation
wxString Translation() const
Definition: TranslatableString.h:79
FileNames::FormatWildcard
FILES_API wxString FormatWildcard(const FileTypes &fileTypes)