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

Search Toolkit Book for CGBQualTextPanel

#include "gbqualtext_panel.hpp"
(Private to src/gui/widgets/edit.)

+ Inheritance diagram for CGBQualTextPanel:
+ Collaboration diagram for CGBQualTextPanel:

Public Types

enum  { ID_CGBQUALTEXTPANEL = 10047 , ID_TEXTCTRL = 10049 }
 Control identifiers. More...
 

Public Member Functions

 CGBQualTextPanel ()
 Constructors. More...
 
 CGBQualTextPanel (wxWindow *parent, wxWindowID id=ID_CGBQUALTEXTPANEL, const wxString &caption=_("GBQualText Panel"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, -1), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CGBQUALTEXTPANEL, const wxString &caption=_("GBQualText Panel"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, -1), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CGBQualTextPanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
virtual void SetValue (string val)
 
virtual string GetValue ()
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
- Public Member Functions inherited from CFormattedQualPanel
virtual void OnChildChange (wxWindow *wnd)
 
virtual void GetDimensions (int *width, int *height)
 
- Public Member Functions inherited from CQualListItemPanel
virtual void NotifyParentOfChange ()
 

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips? More...
 
- Static Public Member Functions inherited from CQualListItemPanel
static void RemoveRepresentedQuals (objects::CSeq_feat &feat, const string &qual_name)
 

Public Attributes

wxTextCtrl * m_theValue
 

Additional Inherited Members

- Protected Member Functions inherited from CQualListItemPanel
virtual void x_AdjustForControl (CQualListItemPanel *panel, wxHyperlinkCtrl *itemHyperlinkCtrl)
 
- Protected Attributes inherited from CQualListItemPanel
int m_TotalHeight
 
int m_TotalWidth
 
int m_ScrollRate
 
int m_MinHeight
 
int m_MinWidth
 
int m_NumRows
 
bool m_AllowUpdates
 

Detailed Description

CGBQualTextPanel class declaration

Definition at line 77 of file gbqualtext_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Control identifiers.

Enumerator
ID_CGBQUALTEXTPANEL 
ID_TEXTCTRL 

Definition at line 121 of file gbqualtext_panel.hpp.

Constructor & Destructor Documentation

◆ CGBQualTextPanel() [1/2]

CGBQualTextPanel::CGBQualTextPanel ( )

Constructors.

CGBQualTextPanel type definition

CGBQualTextPanel event table definition

CGBQualTextPanel constructors

Definition at line 66 of file gbqualtext_panel.cpp.

References Init().

◆ CGBQualTextPanel() [2/2]

CGBQualTextPanel::CGBQualTextPanel ( wxWindow *  parent,
wxWindowID  id = ID_CGBQUALTEXTPANEL,
const wxString &  caption = _("GBQualText Panel"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, -1),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

Definition at line 71 of file gbqualtext_panel.cpp.

References Create(), Init(), and ncbi::grid::netcache::search::fields::size.

◆ ~CGBQualTextPanel()

CGBQualTextPanel::~CGBQualTextPanel ( )

Destructor.

CGBQualTextPanel destructor

Definition at line 103 of file gbqualtext_panel.cpp.

Member Function Documentation

◆ Create()

bool CGBQualTextPanel::Create ( wxWindow *  parent,
wxWindowID  id = ID_CGBQUALTEXTPANEL,
const wxString &  caption = _("GBQualText Panel"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, -1),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

Creation.

CGBQualTextPanel creator

Definition at line 82 of file gbqualtext_panel.cpp.

References CreateControls(), and ncbi::grid::netcache::search::fields::size.

Referenced by CGBQualTextPanel().

◆ CreateControls()

void CGBQualTextPanel::CreateControls ( )

Creates the controls and sizers.

Control creation for CGBQualTextPanel

Definition at line 126 of file gbqualtext_panel.cpp.

References ID_TEXTCTRL, and m_theValue.

Referenced by Create().

◆ GetBitmapResource()

wxBitmap CGBQualTextPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 167 of file gbqualtext_panel.cpp.

◆ GetIconResource()

wxIcon CGBQualTextPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 180 of file gbqualtext_panel.cpp.

◆ GetValue()

string CGBQualTextPanel::GetValue ( void  )
virtual

Reimplemented from CFormattedQualPanel.

Definition at line 147 of file gbqualtext_panel.cpp.

References m_theValue, ToStdString(), and val.

◆ Init()

void CGBQualTextPanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 114 of file gbqualtext_panel.cpp.

References m_theValue, and NULL.

Referenced by CGBQualTextPanel().

◆ SetValue()

void CGBQualTextPanel::SetValue ( string  val)
virtual

Reimplemented from CFormattedQualPanel.

Definition at line 141 of file gbqualtext_panel.cpp.

References m_theValue, ToWxString(), and val.

◆ ShowToolTips()

bool CGBQualTextPanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 158 of file gbqualtext_panel.cpp.

Member Data Documentation

◆ m_theValue

wxTextCtrl* CGBQualTextPanel::m_theValue

Definition at line 119 of file gbqualtext_panel.hpp.

Referenced by CreateControls(), GetValue(), Init(), and SetValue().


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