NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
CSaveFileHelper Class Reference

Search Toolkit Book for CSaveFileHelper

#include <gui/widgets/wx/save_file_helper.hpp>

Public Member Functions

 CSaveFileHelper (wxWindow *parent, wxTextCtrl &text_ctrl)
 
bool ShowSaveDialog (CFileExtensions::EFileType file_type)
 
bool Validate (wxString &path)
 

Private Attributes

wxWindow * m_Parent
 
wxTextCtrl & m_TextCtrl
 

Detailed Description

Definition at line 47 of file save_file_helper.hpp.

Constructor & Destructor Documentation

◆ CSaveFileHelper()

CSaveFileHelper::CSaveFileHelper ( wxWindow *  parent,
wxTextCtrl &  text_ctrl 
)
inline

Definition at line 50 of file save_file_helper.hpp.

Member Function Documentation

◆ ShowSaveDialog()

bool CSaveFileHelper::ShowSaveDialog ( CFileExtensions::EFileType  file_type)

◆ Validate()

bool CSaveFileHelper::Validate ( wxString &  path)

Definition at line 68 of file save_file_helper.cpp.

References f(), m_Parent, m_TextCtrl, ToAsciiStdString(), and wxT.

Member Data Documentation

◆ m_Parent

wxWindow* CSaveFileHelper::m_Parent
private

Definition at line 54 of file save_file_helper.hpp.

Referenced by ShowSaveDialog(), and Validate().

◆ m_TextCtrl

wxTextCtrl& CSaveFileHelper::m_TextCtrl
private

Definition at line 55 of file save_file_helper.hpp.

Referenced by ShowSaveDialog(), and Validate().


The documentation for this class was generated from the following files:
Modified on Tue Jul 16 13:24:18 2024 by modify_doxy.py rev. 669887