NCBI C++ ToolKit
|
Search Toolkit Book for CAdvancedFileInput
#include <gui/widgets/wx/advanced_file_input.hpp>
Public Member Functions | |
CAdvancedFileInput (wxWindow *parent, wxWindowID id=wxID_ANY) | |
CAdvancedFileInput (wxWindow *parent, wxWindowID id, const wxString &value, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxT("advanced file input")) | |
virtual | ~CAdvancedFileInput () |
void | Init () |
void | Create (wxWindow *parent, wxWindowID id, const wxString &value, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxT("advanced file input")) |
void | SetFileSpec (const wxString &filespec) |
void | OnTextChanged (wxCommandEvent &event) |
void | OnItemSelected (wxCommandEvent &event) |
Static Public Attributes | |
static const wxEventType | s_InputTxtChangedEvt = wxNewEventType() |
event id for any filename text change events More... | |
Protected Member Functions | |
void | x_UpdateCombo (const wxString &s_path) |
Protected Attributes | |
bool | m_BlockTextChangedEvents |
wxString | m_FileSpec |
wxString | m_PrevValue |
wxArrayString | m_PrevArray |
Definition at line 44 of file advanced_file_input.hpp.
CAdvancedFileInput::CAdvancedFileInput | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY |
||
) |
Definition at line 56 of file advanced_file_input.cpp.
References Init().
CAdvancedFileInput::CAdvancedFileInput | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxString & | value, | ||
const wxPoint & | pos, | ||
const wxSize & | size, | ||
const wxArrayString & | choices, | ||
long | style = 0 , |
||
const wxValidator & | validator = wxDefaultValidator , |
||
const wxString & | name = wxT("advanced file input") |
||
) |
Definition at line 73 of file advanced_file_input.cpp.
References Create(), Init(), ncbi::grid::netcache::search::fields::size, and rapidjson::value.
|
virtual |
Definition at line 88 of file advanced_file_input.cpp.
void CAdvancedFileInput::Create | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxString & | value, | ||
const wxPoint & | pos, | ||
const wxSize & | size, | ||
const wxArrayString & | choices, | ||
long | style = 0 , |
||
const wxValidator & | validator = wxDefaultValidator , |
||
const wxString & | name = wxT("advanced file input") |
||
) |
Definition at line 99 of file advanced_file_input.cpp.
References ncbi::grid::netcache::search::fields::size, and rapidjson::value.
Referenced by CAdvancedFileInput().
void CAdvancedFileInput::Init | ( | void | ) |
Definition at line 93 of file advanced_file_input.cpp.
References m_BlockTextChangedEvents.
Referenced by CAdvancedFileInput().
void CAdvancedFileInput::OnItemSelected | ( | wxCommandEvent & | event | ) |
Definition at line 161 of file advanced_file_input.cpp.
References s_InputTxtChangedEvt, and x_UpdateCombo().
void CAdvancedFileInput::OnTextChanged | ( | wxCommandEvent & | event | ) |
Definition at line 119 of file advanced_file_input.cpp.
References m_BlockTextChangedEvents, m_PrevValue, s_InputTxtChangedEvt, and x_UpdateCombo().
void CAdvancedFileInput::SetFileSpec | ( | const wxString & | filespec | ) |
Definition at line 113 of file advanced_file_input.cpp.
References m_FileSpec.
|
protected |
Definition at line 177 of file advanced_file_input.cpp.
References i, m_FileSpec, m_PrevArray, and wxT.
Referenced by OnItemSelected(), and OnTextChanged().
|
protected |
Definition at line 82 of file advanced_file_input.hpp.
Referenced by Init(), and OnTextChanged().
|
protected |
Definition at line 84 of file advanced_file_input.hpp.
Referenced by SetFileSpec(), and x_UpdateCombo().
|
protected |
Definition at line 86 of file advanced_file_input.hpp.
Referenced by x_UpdateCombo().
|
protected |
Definition at line 85 of file advanced_file_input.hpp.
Referenced by OnTextChanged().
|
static |
event id for any filename text change events
Definition at line 90 of file advanced_file_input.hpp.
Referenced by OnItemSelected(), OnTextChanged(), and CMultiFileInput::x_SendFileTxtChangedEvt().