NCBI C++ ToolKit
|
Search Toolkit Book for CCapChangePanel
#include <gui/packages/pkg_sequence_edit/cap_change_panel.hpp>
Public Types | |
enum | { ID_CCAPCHANGEPANEL = 6230 , ID_CAPCHANGE_NOCHANGE = 6231 , ID_CAPCHANGE_UPPER = 6232 , ID_CAPCHANGE_FCAP_NOCH = 6233 , ID_CAPCHANGE_CAPWORDS_SP = 6234 , ID_CAPCHANGE_LOWER = 6235 , ID_CAPCHANGE_FCAP_LOW = 6236 , ID_CAPCHANGE_FLOW_NOCH = 6237 , ID_CAPCHANGE_CAPWORDS_SPPUNCT = 6238 } |
Control identifiers. More... | |
Public Member Functions | |
CCapChangePanel () | |
Constructors. More... | |
CCapChangePanel (wxWindow *parent, wxWindowID id=ID_CCAPCHANGEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) | |
bool | Create (wxWindow *parent, wxWindowID id=ID_CCAPCHANGEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) |
Creation. More... | |
~CCapChangePanel () | |
Destructor. More... | |
void | Init () |
Initialises member variables. More... | |
void | CreateControls () |
Creates the controls and sizers. More... | |
void | ClearValues (void) |
wxBitmap | GetBitmapResource (const wxString &name) |
Retrieves bitmap resources. More... | |
wxIcon | GetIconResource (const wxString &name) |
Retrieves icon resources. More... | |
objects::ECapChange | GetCapitalizationRequest () |
Static Public Member Functions | |
static bool | ShowToolTips () |
Should we show tooltips? More... | |
Public Attributes | |
wxRadioButton * | m_CapNochange |
wxRadioButton * | m_CapToupper |
wxRadioButton * | m_CapFirstcap_nochange |
wxRadioButton * | m_Capwords_space |
wxRadioButton * | m_CapTolower |
wxRadioButton * | m_CapFirstcap_restlow |
wxRadioButton * | m_CapFirstlow_nochange |
wxRadioButton * | m_Capwords_spacepunct |
CCapChangePanel class declaration
Definition at line 55 of file cap_change_panel.hpp.
anonymous enum |
Control identifiers.
Definition at line 112 of file cap_change_panel.hpp.
CCapChangePanel::CCapChangePanel | ( | ) |
Constructors.
CCapChangePanel type definition
CCapChangePanel event table definition
CCapChangePanel constructors
Definition at line 61 of file cap_change_panel.cpp.
References Init().
CCapChangePanel::CCapChangePanel | ( | wxWindow * | parent, |
wxWindowID | id = ID_CCAPCHANGEPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Definition at line 66 of file cap_change_panel.cpp.
References Create(), Init(), and ncbi::grid::netcache::search::fields::size.
CCapChangePanel::~CCapChangePanel | ( | ) |
void CCapChangePanel::ClearValues | ( | void | ) |
Definition at line 177 of file cap_change_panel.cpp.
References m_CapFirstcap_nochange, m_CapFirstcap_restlow, m_CapFirstlow_nochange, m_CapNochange, m_CapTolower, m_CapToupper, m_Capwords_space, and m_Capwords_spacepunct.
Referenced by CQualConvertPanel::ClearValues().
bool CCapChangePanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = ID_CCAPCHANGEPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Creation.
CCapChangePanel creator
Definition at line 77 of file cap_change_panel.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CCapChangePanel().
void CCapChangePanel::CreateControls | ( | ) |
Creates the controls and sizers.
Control creation for CCapChangePanel
Definition at line 127 of file cap_change_panel.cpp.
References _, ID_CAPCHANGE_CAPWORDS_SP, ID_CAPCHANGE_CAPWORDS_SPPUNCT, ID_CAPCHANGE_FCAP_LOW, ID_CAPCHANGE_FCAP_NOCH, ID_CAPCHANGE_FLOW_NOCH, ID_CAPCHANGE_LOWER, ID_CAPCHANGE_NOCHANGE, ID_CAPCHANGE_UPPER, m_CapFirstcap_nochange, m_CapFirstcap_restlow, m_CapFirstlow_nochange, m_CapNochange, m_CapTolower, m_CapToupper, m_Capwords_space, m_Capwords_spacepunct, and wxID_ANY.
Referenced by Create().
wxBitmap CCapChangePanel::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources.
Get bitmap resources
Definition at line 202 of file cap_change_panel.cpp.
ECapChange CCapChangePanel::GetCapitalizationRequest | ( | ) |
Definition at line 225 of file cap_change_panel.cpp.
References eCapChange_capword_afterspace, eCapChange_capword_afterspacepunc, eCapChange_firstcap_restlower, eCapChange_firstcap_restnochange, eCapChange_firstlower_restnochange, eCapChange_none, eCapChange_tolower, eCapChange_toupper, m_CapFirstcap_nochange, m_CapFirstcap_restlow, m_CapFirstlow_nochange, m_CapNochange, m_CapTolower, m_CapToupper, m_Capwords_space, and m_Capwords_spacepunct.
Referenced by CChangeCaseSubpanel::ApplyToAll(), CChangeCaseSubpanel::ApplyToSelected(), CLowerQuals::GetCommand(), CmRNAFromGeneCdsExon::GetSuggestedName(), CtRNAFromGene::GetSuggestedName(), CCdsFromGeneMrnaExon::GetSuggestedName(), CQualConvertPanel::SetupAction(), and CGeneFeatFromOtherFeatDlg::x_AddGeneQuals().
wxIcon CCapChangePanel::GetIconResource | ( | const wxString & | name | ) |
void CCapChangePanel::Init | ( | void | ) |
Initialises member variables.
Member initialisation
Definition at line 108 of file cap_change_panel.cpp.
References m_CapFirstcap_nochange, m_CapFirstcap_restlow, m_CapFirstlow_nochange, m_CapNochange, m_CapTolower, m_CapToupper, m_Capwords_space, m_Capwords_spacepunct, and NULL.
Referenced by CCapChangePanel().
|
static |
Should we show tooltips?
Should we show tooltips?
Definition at line 193 of file cap_change_panel.cpp.
wxRadioButton* CCapChangePanel::m_CapFirstcap_nochange |
Definition at line 105 of file cap_change_panel.hpp.
Referenced by ClearValues(), CreateControls(), GetCapitalizationRequest(), and Init().
wxRadioButton* CCapChangePanel::m_CapFirstcap_restlow |
Definition at line 108 of file cap_change_panel.hpp.
Referenced by ClearValues(), CreateControls(), GetCapitalizationRequest(), and Init().
wxRadioButton* CCapChangePanel::m_CapFirstlow_nochange |
Definition at line 109 of file cap_change_panel.hpp.
Referenced by ClearValues(), CreateControls(), GetCapitalizationRequest(), and Init().
wxRadioButton* CCapChangePanel::m_CapNochange |
Definition at line 103 of file cap_change_panel.hpp.
Referenced by ClearValues(), CreateControls(), GetCapitalizationRequest(), and Init().
wxRadioButton* CCapChangePanel::m_CapTolower |
Definition at line 107 of file cap_change_panel.hpp.
Referenced by ClearValues(), CreateControls(), CLowerQuals::CreateControls(), GetCapitalizationRequest(), and Init().
wxRadioButton* CCapChangePanel::m_CapToupper |
Definition at line 104 of file cap_change_panel.hpp.
Referenced by ClearValues(), CreateControls(), GetCapitalizationRequest(), and Init().
wxRadioButton* CCapChangePanel::m_Capwords_space |
Definition at line 106 of file cap_change_panel.hpp.
Referenced by ClearValues(), CreateControls(), GetCapitalizationRequest(), and Init().
wxRadioButton* CCapChangePanel::m_Capwords_spacepunct |
Definition at line 110 of file cap_change_panel.hpp.
Referenced by ClearValues(), CreateControls(), GetCapitalizationRequest(), and Init().