NCBI C++ ToolKit
|
Search Toolkit Book for CVirusMoleculeQuestionsPanel
#include <gui/packages/pkg_sequence_edit/virus_molecule_questions_panel.hpp>
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 |
ICommandProccessor * | m_CmdProcessor |
CVirusMoleculeQuestionsPanel class declaration
Definition at line 76 of file virus_molecule_questions_panel.hpp.
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::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 |
||
) |
Definition at line 86 of file virus_molecule_questions_panel.cpp.
References Create(), Init(), and ncbi::grid::netcache::search::fields::size.
CVirusMoleculeQuestionsPanel::~CVirusMoleculeQuestionsPanel | ( | ) |
Destructor.
CVirusMoleculeQuestionsPanel destructor
Definition at line 122 of file virus_molecule_questions_panel.cpp.
bool CVirusMoleculeQuestionsPanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = 10114 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Creation.
CVirusMoleculeQuestionsPanel creator
Definition at line 102 of file virus_molecule_questions_panel.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CVirusMoleculeQuestionsPanel().
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().
wxBitmap CVirusMoleculeQuestionsPanel::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources.
Get bitmap resources
Definition at line 199 of file virus_molecule_questions_panel.cpp.
wxIcon CVirusMoleculeQuestionsPanel::GetIconResource | ( | const wxString & | name | ) |
Retrieves icon resources.
Get icon resources
Definition at line 212 of file virus_molecule_questions_panel.cpp.
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().
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().
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().
void CVirusMoleculeQuestionsPanel::OnDataChange | ( | ) |
Definition at line 266 of file virus_molecule_questions_panel.cpp.
References NStr::Equal(), CSubPrep_panel::GetWizardFieldFromSeqEntry(), kCdnaSource, kVirusMaterial, m_CdnaFromGenomic, m_CdnaFromMrna, m_Purified, m_Seh, m_WholeCell, and ToStdString().
Referenced by CSubmissionPrepMainPanel::CreateVirusMoleculeOptions().
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().
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().
|
static |
Should we show tooltips?
Should we show tooltips?
Definition at line 190 of file virus_molecule_questions_panel.cpp.
wxRadioButton* CVirusMoleculeQuestionsPanel::m_CdnaFromGenomic |
Definition at line 131 of file virus_molecule_questions_panel.hpp.
Referenced by CreateControls(), Init(), OnCdnaFromGenomicSelected(), and OnDataChange().
wxRadioButton* CVirusMoleculeQuestionsPanel::m_CdnaFromMrna |
Definition at line 130 of file virus_molecule_questions_panel.hpp.
Referenced by CreateControls(), Init(), OnCdnaFromMrnaSelected(), and OnDataChange().
|
private |
Definition at line 139 of file virus_molecule_questions_panel.hpp.
Referenced by OnCdnaFromGenomicSelected(), OnCdnaFromMrnaSelected(), OnPurifiedSelected(), and OnWholeCellSelected().
wxRadioButton* CVirusMoleculeQuestionsPanel::m_Purified |
Definition at line 132 of file virus_molecule_questions_panel.hpp.
Referenced by CreateControls(), Init(), OnDataChange(), and OnPurifiedSelected().
|
private |
Definition at line 138 of file virus_molecule_questions_panel.hpp.
Referenced by OnCdnaFromGenomicSelected(), OnCdnaFromMrnaSelected(), OnDataChange(), OnPurifiedSelected(), and OnWholeCellSelected().
wxRadioButton* CVirusMoleculeQuestionsPanel::m_WholeCell |
Definition at line 133 of file virus_molecule_questions_panel.hpp.
Referenced by CreateControls(), Init(), OnDataChange(), and OnWholeCellSelected().