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

Search Toolkit Book for CNonAsciiReplacementPanel

#include <gui/widgets/edit/non_ascii_replacement_dlg.hpp>

+ Inheritance diagram for CNonAsciiReplacementPanel:
+ Collaboration diagram for CNonAsciiReplacementPanel:

Public Member Functions

 CNonAsciiReplacementPanel ()
 Constructors. More...
 
 CNonAsciiReplacementPanel (wxWindow *parent, wxUniChar orig, const string &replacement, const set< wxString > &contexts, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX)
 
bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX)
 
 ~CNonAsciiReplacementPanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
pair< TUnicodeSymbol, stringGetReplacement ()
 

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips? More...
 

Private Attributes

wxStaticText * m_Char
 
wxTextCtrl * m_Replacement
 
wxUniChar m_Orig
 
wxString m_ReplacementStr
 
set< wxString > m_Contexts
 

Detailed Description

CNonAsciiReplacementPanel class declaration

Definition at line 128 of file non_ascii_replacement_dlg.hpp.

Constructor & Destructor Documentation

◆ CNonAsciiReplacementPanel() [1/2]

CNonAsciiReplacementPanel::CNonAsciiReplacementPanel ( )

Constructors.

Definition at line 356 of file non_ascii_replacement_dlg.cpp.

References Init().

◆ CNonAsciiReplacementPanel() [2/2]

CNonAsciiReplacementPanel::CNonAsciiReplacementPanel ( wxWindow *  parent,
wxUniChar  orig,
const string replacement,
const set< wxString > &  contexts,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX 
)

◆ ~CNonAsciiReplacementPanel()

CNonAsciiReplacementPanel::~CNonAsciiReplacementPanel ( )

Destructor.

Definition at line 390 of file non_ascii_replacement_dlg.cpp.

Member Function Documentation

◆ Create()

bool CNonAsciiReplacementPanel::Create ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX 
)

◆ CreateControls()

void CNonAsciiReplacementPanel::CreateControls ( )

Creates the controls and sizers.

Definition at line 414 of file non_ascii_replacement_dlg.cpp.

References i, m_Char, m_Contexts, m_Orig, m_Replacement, m_ReplacementStr, and wxID_ANY.

Referenced by Create().

◆ GetBitmapResource()

wxBitmap CNonAsciiReplacementPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Definition at line 453 of file non_ascii_replacement_dlg.cpp.

◆ GetIconResource()

wxIcon CNonAsciiReplacementPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Definition at line 466 of file non_ascii_replacement_dlg.cpp.

◆ GetReplacement()

pair< TUnicodeSymbol, string > CNonAsciiReplacementPanel::GetReplacement ( )

◆ Init()

void CNonAsciiReplacementPanel::Init ( void  )

Initialises member variables.

Definition at line 401 of file non_ascii_replacement_dlg.cpp.

References m_Char, m_Replacement, and NULL.

Referenced by CNonAsciiReplacementPanel().

◆ ShowToolTips()

bool CNonAsciiReplacementPanel::ShowToolTips ( )
static

Should we show tooltips?

Definition at line 444 of file non_ascii_replacement_dlg.cpp.

Member Data Documentation

◆ m_Char

wxStaticText* CNonAsciiReplacementPanel::m_Char
private

Definition at line 169 of file non_ascii_replacement_dlg.hpp.

Referenced by CreateControls(), GetReplacement(), and Init().

◆ m_Contexts

set<wxString> CNonAsciiReplacementPanel::m_Contexts
private

Definition at line 174 of file non_ascii_replacement_dlg.hpp.

Referenced by CreateControls().

◆ m_Orig

wxUniChar CNonAsciiReplacementPanel::m_Orig
private

Definition at line 172 of file non_ascii_replacement_dlg.hpp.

Referenced by CreateControls().

◆ m_Replacement

wxTextCtrl* CNonAsciiReplacementPanel::m_Replacement
private

Definition at line 170 of file non_ascii_replacement_dlg.hpp.

Referenced by CreateControls(), GetReplacement(), and Init().

◆ m_ReplacementStr

wxString CNonAsciiReplacementPanel::m_ReplacementStr
private

Definition at line 173 of file non_ascii_replacement_dlg.hpp.

Referenced by CreateControls().


The documentation for this class was generated from the following files:
Modified on Tue May 21 11:00:27 2024 by modify_doxy.py rev. 669887