NCBI C++ ToolKit
|
Search Toolkit Book for CEditSubpanel
#include <gui/packages/pkg_sequence_edit/apply_edit_convert_panel.hpp>
Public Types | |
enum | { ID_EDITSUB_FIND = 6390 , ID_EDITSUB_REPLACE , ID_EDITSUB_COPY , ID_EDITSUB_ANY , ID_EDITSUB_BEG , ID_EDITSUB_END , ID_EDITSUB_AUTOPOPULATE , ID_EDITSUB_CLEAR } |
Public Member Functions | |
CEditSubpanel () | |
Constructors. More... | |
CEditSubpanel (wxWindow *parent, wxGrid *grid, wxArrayString &choices, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL) | |
virtual void | CreateControls () |
Creates the controls and sizers. More... | |
void | OnEditsubCopyClick (wxCommandEvent &event) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_EDITSUB_COPY More... | |
void | OnEditsubAutopopulateClick (wxCommandEvent &event) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_EDITSUB_AUTOPOPULATE More... | |
void | OnEditsubClearClick (wxCommandEvent &event) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_EDITSUB_CLEAR More... | |
virtual void | ApplyToAll (int col) |
virtual void | ApplyToSelected (int col, const std::set< int > &selected) |
Public Member Functions inherited from CSubpanel | |
CSubpanel () | |
CSubpanel (wxWindow *parent, wxGrid *grid, wxArrayString &choices, wxWindowID id, const wxPoint &pos, const wxSize &size, long style) | |
bool | Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL) |
virtual | ~CSubpanel () |
bool | ShowToolTips () |
wxBitmap | GetBitmapResource (const wxString &name) |
wxIcon | GetIconResource (const wxString &name) |
objects::edit::EExistingText | GetExistingTextHandling (const string &field) |
virtual void | Init () |
virtual void | SetColumns (wxArrayString &columns) |
void | ChangeValue (const string &new_value, int row, int col) |
CApplyEditconvertPanel * | GetBaseFrame () |
wxListBox * | GetListBox () |
int | GetColumn2 () |
Private Attributes | |
wxTextCtrl * | m_Find |
wxTextCtrl * | m_Replace |
wxRadioButton * | m_Anywhere |
wxRadioButton * | m_AtBegin |
wxRadioButton * | m_AtEnd |
Additional Inherited Members | |
Protected Attributes inherited from CSubpanel | |
wxGrid * | m_Grid |
wxListBox * | m_ListBox |
wxListBox * | m_ListBox2 |
wxArrayString * | m_Choices |
CEditSubpanel class declaration
Definition at line 265 of file apply_edit_convert_panel.hpp.
anonymous enum |
Enumerator | |
---|---|
ID_EDITSUB_FIND | |
ID_EDITSUB_REPLACE | |
ID_EDITSUB_COPY | |
ID_EDITSUB_ANY | |
ID_EDITSUB_BEG | |
ID_EDITSUB_END | |
ID_EDITSUB_AUTOPOPULATE | |
ID_EDITSUB_CLEAR |
Definition at line 302 of file apply_edit_convert_panel.hpp.
|
inline |
Constructors.
Definition at line 272 of file apply_edit_convert_panel.hpp.
References CSubpanel::Init().
|
inline |
Definition at line 273 of file apply_edit_convert_panel.hpp.
References CSubpanel::Create(), CSubpanel::Init(), CSubpanel::m_Choices, CSubpanel::m_Grid, and ncbi::grid::netcache::search::fields::size.
|
virtual |
Reimplemented from CSubpanel.
Definition at line 816 of file apply_edit_convert_panel.cpp.
References _, CSubpanel::ChangeValue(), NStr::EndsWith(), i, m_Anywhere, m_AtBegin, m_AtEnd, m_Find, CSubpanel::m_Grid, m_Replace, NStr::Replace(), rapidjson::source, NStr::StartsWith(), and wxT.
Reimplemented from CSubpanel.
Definition at line 857 of file apply_edit_convert_panel.cpp.
References _, CSubpanel::ChangeValue(), NStr::EndsWith(), i, m_Anywhere, m_AtBegin, m_AtEnd, m_Find, CSubpanel::m_Grid, m_Replace, NStr::Replace(), rapidjson::source, NStr::StartsWith(), and wxT.
|
virtual |
Creates the controls and sizers.
Reimplemented from CSubpanel.
Definition at line 712 of file apply_edit_convert_panel.cpp.
void CEditSubpanel::OnEditsubAutopopulateClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_EDITSUB_AUTOPOPULATE
Definition at line 791 of file apply_edit_convert_panel.cpp.
References m_Find, NULL, and rapidjson::value.
void CEditSubpanel::OnEditsubClearClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_EDITSUB_CLEAR
Definition at line 811 of file apply_edit_convert_panel.cpp.
References m_Find.
void CEditSubpanel::OnEditsubCopyClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_EDITSUB_COPY
Definition at line 781 of file apply_edit_convert_panel.cpp.
|
private |
Definition at line 315 of file apply_edit_convert_panel.hpp.
Referenced by ApplyToAll(), and ApplyToSelected().
|
private |
Definition at line 315 of file apply_edit_convert_panel.hpp.
Referenced by ApplyToAll(), and ApplyToSelected().
|
private |
Definition at line 315 of file apply_edit_convert_panel.hpp.
Referenced by ApplyToAll(), and ApplyToSelected().
|
private |
Definition at line 313 of file apply_edit_convert_panel.hpp.
Referenced by ApplyToAll(), ApplyToSelected(), OnEditsubAutopopulateClick(), OnEditsubClearClick(), and OnEditsubCopyClick().
|
private |
Definition at line 314 of file apply_edit_convert_panel.hpp.
Referenced by ApplyToAll(), ApplyToSelected(), and OnEditsubCopyClick().