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

Search Toolkit Book for CVirusMoleculeQuestionsPanel

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

+ Inheritance diagram for CVirusMoleculeQuestionsPanel:
+ Collaboration diagram for CVirusMoleculeQuestionsPanel:

Public Member Functions

 CVirusMoleculeQuestionsPanel ()
 Constructors. More...
 
 CVirusMoleculeQuestionsPanel (wxWindow *parent, objects::CSeq_entry_Handle seh, ICommandProccessor *proccessor, wxWindowID id=10114, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=10114, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CVirusMoleculeQuestionsPanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
void OnCdnaFromMrnaSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_CDNA_FROM_MRNA More...
 
void OnCdnaFromGenomicSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_CDNA_FROM_GENOMIC More...
 
void OnPurifiedSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_PURIFIED More...
 
void OnWholeCellSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_WHOLE_CELL More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
void OnDataChange ()
 

Static Public Member Functions

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

Public Attributes

wxRadioButton * m_CdnaFromMrna
 
wxRadioButton * m_CdnaFromGenomic
 
wxRadioButton * m_Purified
 
wxRadioButton * m_WholeCell
 

Private Attributes

objects::CSeq_entry_Handle m_Seh
 
ICommandProccessorm_CmdProcessor
 

Detailed Description

CVirusMoleculeQuestionsPanel class declaration

Definition at line 76 of file virus_molecule_questions_panel.hpp.

Constructor & Destructor Documentation

◆ CVirusMoleculeQuestionsPanel() [1/2]

CVirusMoleculeQuestionsPanel::CVirusMoleculeQuestionsPanel ( )

Constructors.

CVirusMoleculeQuestionsPanel type definition

CVirusMoleculeQuestionsPanel event table definition

CVirusMoleculeQuestionsPanel constructors

Definition at line 81 of file virus_molecule_questions_panel.cpp.

References Init().

◆ CVirusMoleculeQuestionsPanel() [2/2]

CVirusMoleculeQuestionsPanel::CVirusMoleculeQuestionsPanel ( wxWindow *  parent,
objects::CSeq_entry_Handle  seh,
ICommandProccessor proccessor,
wxWindowID  id = 10114,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ ~CVirusMoleculeQuestionsPanel()

CVirusMoleculeQuestionsPanel::~CVirusMoleculeQuestionsPanel ( )

Destructor.

CVirusMoleculeQuestionsPanel destructor

Definition at line 122 of file virus_molecule_questions_panel.cpp.

Member Function Documentation

◆ Create()

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

◆ CreateControls()

void CVirusMoleculeQuestionsPanel::CreateControls ( )

Creates the controls and sizers.

Control creation for CVirusMoleculeQuestionsPanel

Definition at line 148 of file virus_molecule_questions_panel.cpp.

References _, ID_CDNA_FROM_GENOMIC, ID_CDNA_FROM_MRNA, ID_PURIFIED, ID_WHOLE_CELL, m_CdnaFromGenomic, m_CdnaFromMrna, m_Purified, m_WholeCell, and wxID_ANY.

Referenced by Create().

◆ GetBitmapResource()

wxBitmap CVirusMoleculeQuestionsPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 199 of file virus_molecule_questions_panel.cpp.

◆ GetIconResource()

wxIcon CVirusMoleculeQuestionsPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 212 of file virus_molecule_questions_panel.cpp.

◆ Init()

void CVirusMoleculeQuestionsPanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 133 of file virus_molecule_questions_panel.cpp.

References m_CdnaFromGenomic, m_CdnaFromMrna, m_Purified, m_WholeCell, and NULL.

Referenced by CVirusMoleculeQuestionsPanel().

◆ OnCdnaFromGenomicSelected()

void CVirusMoleculeQuestionsPanel::OnCdnaFromGenomicSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_CDNA_FROM_GENOMIC

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_CDNA_FROM_GENOMIC

Definition at line 248 of file virus_molecule_questions_panel.cpp.

References cmd, ICommandProccessor::Execute(), kCdnaSource, m_CdnaFromGenomic, m_CmdProcessor, m_Seh, CSubPrep_panel::SetWizardFieldInSeqEntry(), and ToStdString().

◆ OnCdnaFromMrnaSelected()

void CVirusMoleculeQuestionsPanel::OnCdnaFromMrnaSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_CDNA_FROM_MRNA

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_CDNA_FROM_MRNA

Definition at line 259 of file virus_molecule_questions_panel.cpp.

References cmd, ICommandProccessor::Execute(), kCdnaSource, m_CdnaFromMrna, m_CmdProcessor, m_Seh, CSubPrep_panel::SetWizardFieldInSeqEntry(), and ToStdString().

◆ OnDataChange()

void CVirusMoleculeQuestionsPanel::OnDataChange ( )

◆ OnPurifiedSelected()

void CVirusMoleculeQuestionsPanel::OnPurifiedSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_PURIFIED

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_PURIFIED

Definition at line 237 of file virus_molecule_questions_panel.cpp.

References cmd, ICommandProccessor::Execute(), kVirusMaterial, m_CmdProcessor, m_Purified, m_Seh, CSubPrep_panel::SetWizardFieldInSeqEntry(), and ToStdString().

◆ OnWholeCellSelected()

void CVirusMoleculeQuestionsPanel::OnWholeCellSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_WHOLE_CELL

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_WHOLE_CELL

Definition at line 226 of file virus_molecule_questions_panel.cpp.

References cmd, ICommandProccessor::Execute(), kVirusMaterial, m_CmdProcessor, m_Seh, m_WholeCell, CSubPrep_panel::SetWizardFieldInSeqEntry(), and ToStdString().

◆ ShowToolTips()

bool CVirusMoleculeQuestionsPanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 190 of file virus_molecule_questions_panel.cpp.

Member Data Documentation

◆ m_CdnaFromGenomic

wxRadioButton* CVirusMoleculeQuestionsPanel::m_CdnaFromGenomic

◆ m_CdnaFromMrna

wxRadioButton* CVirusMoleculeQuestionsPanel::m_CdnaFromMrna

◆ m_CmdProcessor

ICommandProccessor* CVirusMoleculeQuestionsPanel::m_CmdProcessor
private

◆ m_Purified

wxRadioButton* CVirusMoleculeQuestionsPanel::m_Purified

◆ m_Seh

objects::CSeq_entry_Handle CVirusMoleculeQuestionsPanel::m_Seh
private

◆ m_WholeCell

wxRadioButton* CVirusMoleculeQuestionsPanel::m_WholeCell

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