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

Search Toolkit Book for CSingleExperimentPanel

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

+ Inheritance diagram for CSingleExperimentPanel:
+ Collaboration diagram for CSingleExperimentPanel:

Public Types

enum  { ID_CSINGLEEXPERIMENTPANEL = 10179 , ID_CHOICE18 = 10180 , ID_EXPERIMENT_TXT = 10181 , ID_TEXTCTRL2 = 10182 }
 Control identifiers. More...
 

Public Member Functions

 CSingleExperimentPanel ()
 Constructors. More...
 
 CSingleExperimentPanel (wxWindow *parent, wxWindowID id=ID_CSINGLEEXPERIMENTPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CSINGLEEXPERIMENTPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CSingleExperimentPanel ()
 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)
 
void OnExperimentTxtTextUpdated (wxCommandEvent &event)
 wxEVT_COMMAND_TEXT_UPDATED event handler for ID_EXPERIMENT_TXT More...
 
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)
 
- 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_Category
 
wxTextCtrl * m_Experiment
 
wxTextCtrl * m_PMID
 

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

CSingleExperimentPanel class declaration

Definition at line 68 of file single_experiment_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Control identifiers.

Enumerator
ID_CSINGLEEXPERIMENTPANEL 
ID_CHOICE18 
ID_EXPERIMENT_TXT 
ID_TEXTCTRL2 

Definition at line 118 of file single_experiment_panel.hpp.

Constructor & Destructor Documentation

◆ CSingleExperimentPanel() [1/2]

CSingleExperimentPanel::CSingleExperimentPanel ( )

Constructors.

CSingleExperimentPanel type definition

CSingleExperimentPanel event table definition

CSingleExperimentPanel constructors

Definition at line 68 of file single_experiment_panel.cpp.

References Init().

◆ CSingleExperimentPanel() [2/2]

CSingleExperimentPanel::CSingleExperimentPanel ( wxWindow *  parent,
wxWindowID  id = ID_CSINGLEEXPERIMENTPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ ~CSingleExperimentPanel()

CSingleExperimentPanel::~CSingleExperimentPanel ( )

Destructor.

CSingleExperimentPanel destructor

Definition at line 104 of file single_experiment_panel.cpp.

Member Function Documentation

◆ Create()

bool CSingleExperimentPanel::Create ( wxWindow *  parent,
wxWindowID  id = ID_CSINGLEEXPERIMENTPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ CreateControls()

void CSingleExperimentPanel::CreateControls ( )

Creates the controls and sizers.

Control creation for CSingleExperimentPanel

Definition at line 129 of file single_experiment_panel.cpp.

References _, ID_CHOICE18, ID_EXPERIMENT_TXT, ID_TEXTCTRL2, m_Category, m_Experiment, and m_PMID.

Referenced by Create().

◆ GetBitmapResource()

wxBitmap CSingleExperimentPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 168 of file single_experiment_panel.cpp.

◆ GetDimensions()

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

Reimplemented from CFormattedQualPanel.

Definition at line 222 of file single_experiment_panel.cpp.

References m_Category, m_Experiment, and m_PMID.

◆ GetIconResource()

wxIcon CSingleExperimentPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 181 of file single_experiment_panel.cpp.

◆ GetValue()

string CSingleExperimentPanel::GetValue ( void  )
virtual

◆ Init()

void CSingleExperimentPanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 115 of file single_experiment_panel.cpp.

References m_Category, m_Experiment, m_PMID, and NULL.

Referenced by CSingleExperimentPanel().

◆ OnExperimentTxtTextUpdated()

void CSingleExperimentPanel::OnExperimentTxtTextUpdated ( wxCommandEvent &  event)

wxEVT_COMMAND_TEXT_UPDATED event handler for ID_EXPERIMENT_TXT

wxEVT_COMMAND_TEXT_UPDATED event handler for ID_EXPERIMENT_TXT

Definition at line 243 of file single_experiment_panel.cpp.

References CQualListItemPanel::NotifyParentOfChange().

◆ SetValue()

void CSingleExperimentPanel::SetValue ( string  val)
virtual

◆ ShowToolTips()

bool CSingleExperimentPanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 159 of file single_experiment_panel.cpp.

Member Data Documentation

◆ m_Category

wxChoice* CSingleExperimentPanel::m_Category

Definition at line 114 of file single_experiment_panel.hpp.

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

◆ m_Experiment

wxTextCtrl* CSingleExperimentPanel::m_Experiment

Definition at line 115 of file single_experiment_panel.hpp.

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

◆ m_PMID

wxTextCtrl* CSingleExperimentPanel::m_PMID

Definition at line 116 of file single_experiment_panel.hpp.

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


The documentation for this class was generated from the following files:
Modified on Mon May 06 04:49:40 2024 by modify_doxy.py rev. 669887