NCBI C++ ToolKit
|
Search Toolkit Book for CApplySubpanel
#include <gui/packages/pkg_sequence_edit/apply_edit_convert_panel.hpp>
Public Types | |
enum | { ID_APPLYSUB_TEXTCTRL = 6370 , ID_APPLYSUB_AUTOPOPULATE , ID_APPLYSUB_CLEAR } |
Public Member Functions | |
CApplySubpanel () | |
Constructors. More... | |
CApplySubpanel (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 | OnApplysubAutopopulateClick (wxCommandEvent &event) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLYSUB_AUTOPOPULATE More... | |
void | OnApplysubClearClick (wxCommandEvent &event) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLYSUB_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_TextCtrl |
Additional Inherited Members | |
Protected Attributes inherited from CSubpanel | |
wxGrid * | m_Grid |
wxListBox * | m_ListBox |
wxListBox * | m_ListBox2 |
wxArrayString * | m_Choices |
CApplySubpanel class declaration
Definition at line 220 of file apply_edit_convert_panel.hpp.
anonymous enum |
Enumerator | |
---|---|
ID_APPLYSUB_TEXTCTRL | |
ID_APPLYSUB_AUTOPOPULATE | |
ID_APPLYSUB_CLEAR |
Definition at line 251 of file apply_edit_convert_panel.hpp.
|
inline |
Constructors.
Definition at line 227 of file apply_edit_convert_panel.hpp.
References CSubpanel::Init().
|
inline |
Definition at line 228 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 623 of file apply_edit_convert_panel.cpp.
References _, AddValueToString(), CSubpanel::ChangeValue(), eExistingText_cancel, eExistingText_replace_old, first(), CSubpanel::GetExistingTextHandling(), i, CSubpanel::m_Grid, m_TextCtrl, rapidjson::value, and wxT.
Reimplemented from CSubpanel.
Definition at line 653 of file apply_edit_convert_panel.cpp.
References _, AddValueToString(), CSubpanel::ChangeValue(), eExistingText_cancel, eExistingText_replace_old, first(), CSubpanel::GetExistingTextHandling(), i, CSubpanel::m_Grid, m_TextCtrl, rapidjson::value, and wxT.
|
virtual |
Creates the controls and sizers.
Reimplemented from CSubpanel.
Definition at line 562 of file apply_edit_convert_panel.cpp.
void CApplySubpanel::OnApplysubAutopopulateClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLYSUB_AUTOPOPULATE
Definition at line 598 of file apply_edit_convert_panel.cpp.
References m_TextCtrl, NULL, and rapidjson::value.
void CApplySubpanel::OnApplysubClearClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLYSUB_CLEAR
Definition at line 618 of file apply_edit_convert_panel.cpp.
References m_TextCtrl.
|
private |
Definition at line 257 of file apply_edit_convert_panel.hpp.
Referenced by ApplyToAll(), ApplyToSelected(), OnApplysubAutopopulateClick(), and OnApplysubClearClick().