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

Search Toolkit Book for CInferencePanel

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

+ Inheritance diagram for CInferencePanel:
+ Collaboration diagram for CInferencePanel:

Public Types

enum  { ID_CTWOPARTQUALPANEL = 10083 , ID_CHOICE12 = 10084 , ID_CHOICE13 = 10096 }
 Control identifiers. More...
 

Public Member Functions

 CInferencePanel ()
 Constructors. More...
 
 CInferencePanel (wxWindow *parent, wxWindowID id=ID_CTWOPARTQUALPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CTWOPARTQUALPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CInferencePanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
virtual void SetValue (string val)
 
virtual string GetValue ()
 
virtual void GetDimensions (int *width, int *height)
 
virtual void OnChildChange (wxWindow *wnd)
 
void OnChoice13Selected (wxCommandEvent &event)
 wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CHOICE13 More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
- 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

wxChoice * m_CategoryCtrl
 
wxChoice * m_TypeCtrl
 
wxBoxSizer * m_ExtraCtrlSizer
 

Private Attributes

int m_TopWidth
 

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

CInferencePanel class declaration

Definition at line 73 of file inference_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Control identifiers.

Enumerator
ID_CTWOPARTQUALPANEL 
ID_CHOICE12 
ID_CHOICE13 

Definition at line 124 of file inference_panel.hpp.

Constructor & Destructor Documentation

◆ CInferencePanel() [1/2]

CInferencePanel::CInferencePanel ( )

Constructors.

CInferencePanel type definition

CInferencePanel event table definition

CInferencePanel constructors

Definition at line 75 of file inference_panel.cpp.

References Init().

◆ CInferencePanel() [2/2]

CInferencePanel::CInferencePanel ( wxWindow *  parent,
wxWindowID  id = ID_CTWOPARTQUALPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

Definition at line 80 of file inference_panel.cpp.

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

◆ ~CInferencePanel()

CInferencePanel::~CInferencePanel ( )

Destructor.

CInferencePanel destructor

Definition at line 112 of file inference_panel.cpp.

Member Function Documentation

◆ Create()

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

Creation.

CInferencePanel creator

Definition at line 91 of file inference_panel.cpp.

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

Referenced by CInferencePanel().

◆ CreateControls()

void CInferencePanel::CreateControls ( )

Creates the controls and sizers.

Control creation for CInferencePanel

Definition at line 137 of file inference_panel.cpp.

References _, ID_CHOICE12, ID_CHOICE13, m_CategoryCtrl, m_ExtraCtrlSizer, m_TopWidth, CQualListItemPanel::m_TotalHeight, CQualListItemPanel::m_TotalWidth, and m_TypeCtrl.

Referenced by Create().

◆ GetBitmapResource()

wxBitmap CInferencePanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 509 of file inference_panel.cpp.

◆ GetDimensions()

void CInferencePanel::GetDimensions ( int width,
int height 
)
virtual

◆ GetIconResource()

wxIcon CInferencePanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 522 of file inference_panel.cpp.

◆ GetValue()

string CInferencePanel::GetValue ( void  )
virtual

◆ Init()

void CInferencePanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 123 of file inference_panel.cpp.

References m_CategoryCtrl, m_ExtraCtrlSizer, m_TypeCtrl, and NULL.

Referenced by CInferencePanel().

◆ OnChildChange()

void CInferencePanel::OnChildChange ( wxWindow *  wnd)
virtual

Reimplemented from CFormattedQualPanel.

Definition at line 479 of file inference_panel.cpp.

References CQualListItemPanel::NotifyParentOfChange().

◆ OnChoice13Selected()

void CInferencePanel::OnChoice13Selected ( wxCommandEvent &  event)

wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CHOICE13

wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CHOICE13

Definition at line 536 of file inference_panel.cpp.

References GetValue(), CQualListItemPanel::NotifyParentOfChange(), SetValue(), and val.

◆ SetValue()

void CInferencePanel::SetValue ( string  val)
virtual

◆ ShowToolTips()

bool CInferencePanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 500 of file inference_panel.cpp.

Member Data Documentation

◆ m_CategoryCtrl

wxChoice* CInferencePanel::m_CategoryCtrl

Definition at line 120 of file inference_panel.hpp.

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

◆ m_ExtraCtrlSizer

wxBoxSizer* CInferencePanel::m_ExtraCtrlSizer

Definition at line 122 of file inference_panel.hpp.

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

◆ m_TopWidth

int CInferencePanel::m_TopWidth
private

Definition at line 132 of file inference_panel.hpp.

Referenced by CreateControls(), and SetValue().

◆ m_TypeCtrl

wxChoice* CInferencePanel::m_TypeCtrl

Definition at line 121 of file inference_panel.hpp.

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


The documentation for this class was generated from the following files:
Modified on Fri Jun 14 16:52:36 2024 by modify_doxy.py rev. 669887