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

Search Toolkit Book for CApplySubpanel

#include <gui/packages/pkg_sequence_edit/apply_edit_convert_panel.hpp>

+ Inheritance diagram for CApplySubpanel:
+ Collaboration diagram for CApplySubpanel:

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)
 
CApplyEditconvertPanelGetBaseFrame ()
 
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
 

Detailed Description

CApplySubpanel class declaration

Definition at line 220 of file apply_edit_convert_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_APPLYSUB_TEXTCTRL 
ID_APPLYSUB_AUTOPOPULATE 
ID_APPLYSUB_CLEAR 

Definition at line 251 of file apply_edit_convert_panel.hpp.

Constructor & Destructor Documentation

◆ CApplySubpanel() [1/2]

CApplySubpanel::CApplySubpanel ( )
inline

Constructors.

Definition at line 227 of file apply_edit_convert_panel.hpp.

References CSubpanel::Init().

◆ CApplySubpanel() [2/2]

CApplySubpanel::CApplySubpanel ( wxWindow *  parent,
wxGrid *  grid,
wxArrayString &  choices,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL 
)
inline

Member Function Documentation

◆ ApplyToAll()

void CApplySubpanel::ApplyToAll ( int  col)
virtual

◆ ApplyToSelected()

void CApplySubpanel::ApplyToSelected ( int  col,
const std::set< int > &  selected 
)
virtual

◆ CreateControls()

void CApplySubpanel::CreateControls ( )
virtual

Creates the controls and sizers.

Reimplemented from CSubpanel.

Definition at line 562 of file apply_edit_convert_panel.cpp.

References _, and wxID_ANY.

◆ OnApplysubAutopopulateClick()

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.

◆ OnApplysubClearClick()

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.

Member Data Documentation

◆ m_TextCtrl

wxTextCtrl* CApplySubpanel::m_TextCtrl
private

The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:57:09 2024 by modify_doxy.py rev. 669887