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

Search Toolkit Book for CCapChangePanel

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

+ Inheritance diagram for CCapChangePanel:
+ Collaboration diagram for CCapChangePanel:

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
 

Detailed Description

CCapChangePanel class declaration

Definition at line 55 of file cap_change_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Control identifiers.

Enumerator
ID_CCAPCHANGEPANEL 
ID_CAPCHANGE_NOCHANGE 
ID_CAPCHANGE_UPPER 
ID_CAPCHANGE_FCAP_NOCH 
ID_CAPCHANGE_CAPWORDS_SP 
ID_CAPCHANGE_LOWER 
ID_CAPCHANGE_FCAP_LOW 
ID_CAPCHANGE_FLOW_NOCH 
ID_CAPCHANGE_CAPWORDS_SPPUNCT 

Definition at line 112 of file cap_change_panel.hpp.

Constructor & Destructor Documentation

◆ CCapChangePanel() [1/2]

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() [2/2]

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::~CCapChangePanel ( )

Destructor.

CCapChangePanel destructor

Definition at line 97 of file cap_change_panel.cpp.

Member Function Documentation

◆ ClearValues()

void CCapChangePanel::ClearValues ( void  )

◆ Create()

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

◆ CreateControls()

void CCapChangePanel::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CCapChangePanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 202 of file cap_change_panel.cpp.

◆ GetCapitalizationRequest()

ECapChange CCapChangePanel::GetCapitalizationRequest ( )

◆ GetIconResource()

wxIcon CCapChangePanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 215 of file cap_change_panel.cpp.

◆ Init()

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

◆ ShowToolTips()

bool CCapChangePanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 193 of file cap_change_panel.cpp.

Member Data Documentation

◆ m_CapFirstcap_nochange

wxRadioButton* CCapChangePanel::m_CapFirstcap_nochange

Definition at line 105 of file cap_change_panel.hpp.

Referenced by ClearValues(), CreateControls(), GetCapitalizationRequest(), and Init().

◆ m_CapFirstcap_restlow

wxRadioButton* CCapChangePanel::m_CapFirstcap_restlow

Definition at line 108 of file cap_change_panel.hpp.

Referenced by ClearValues(), CreateControls(), GetCapitalizationRequest(), and Init().

◆ m_CapFirstlow_nochange

wxRadioButton* CCapChangePanel::m_CapFirstlow_nochange

Definition at line 109 of file cap_change_panel.hpp.

Referenced by ClearValues(), CreateControls(), GetCapitalizationRequest(), and Init().

◆ m_CapNochange

wxRadioButton* CCapChangePanel::m_CapNochange

Definition at line 103 of file cap_change_panel.hpp.

Referenced by ClearValues(), CreateControls(), GetCapitalizationRequest(), and Init().

◆ m_CapTolower

wxRadioButton* CCapChangePanel::m_CapTolower

◆ m_CapToupper

wxRadioButton* CCapChangePanel::m_CapToupper

Definition at line 104 of file cap_change_panel.hpp.

Referenced by ClearValues(), CreateControls(), GetCapitalizationRequest(), and Init().

◆ m_Capwords_space

wxRadioButton* CCapChangePanel::m_Capwords_space

Definition at line 106 of file cap_change_panel.hpp.

Referenced by ClearValues(), CreateControls(), GetCapitalizationRequest(), and Init().

◆ m_Capwords_spacepunct

wxRadioButton* CCapChangePanel::m_Capwords_spacepunct

Definition at line 110 of file cap_change_panel.hpp.

Referenced by ClearValues(), CreateControls(), GetCapitalizationRequest(), and Init().


The documentation for this class was generated from the following files:
Modified on Fri Mar 29 09:55:29 2024 by modify_doxy.py rev. 669887