40 #include <wx/statbox.h>
87 objects::CSeq_entry_Handle seh,
89 wxWindowID
id,
const wxPoint& pos,
const wxSize&
size,
long style )
91 m_CmdProcessor(processor)
105 wxPanel::Create( parent,
id, pos,
size, style );
110 GetSizer()->SetSizeHints(
this);
155 wxBoxSizer* itemBoxSizer2 =
new wxBoxSizer(wxVERTICAL);
156 itemPanel1->SetSizer(itemBoxSizer2);
158 wxStaticBox* itemStaticBoxSizer3Static =
new wxStaticBox(itemPanel1,
wxID_ANY,
_(
"What do the mRNA sequences in your submission represent?"));
159 wxStaticBoxSizer* itemStaticBoxSizer3 =
new wxStaticBoxSizer(itemStaticBoxSizer3Static, wxVERTICAL);
160 itemBoxSizer2->Add(itemStaticBoxSizer3, 0, wxALIGN_LEFT|wxALL, 5);
164 itemStaticBoxSizer3->Add(
m_CdnaFromMrna, 0, wxALIGN_LEFT|wxALL, 5);
170 wxStaticBox* itemStaticBoxSizer6Static =
new wxStaticBox(itemPanel1,
wxID_ANY,
_(
"What is the source material for the virus?"));
171 wxStaticBoxSizer* itemStaticBoxSizer6 =
new wxStaticBoxSizer(itemStaticBoxSizer6Static, wxVERTICAL);
172 itemBoxSizer2->Add(itemStaticBoxSizer6, 0, wxALIGN_LEFT|wxALL, 5);
174 m_Purified =
new wxRadioButton( itemPanel1,
ID_PURIFIED,
_(
"purified viral particles"), wxDefaultPosition, wxSize(300, -1), 0 );
176 itemStaticBoxSizer6->Add(
m_Purified, 0, wxALIGN_LEFT|wxALL, 5);
178 m_WholeCell =
new wxRadioButton( itemPanel1,
ID_WHOLE_CELL,
_(
"whole cell/tissue lysate"), wxDefaultPosition, wxDefaultSize, 0 );
180 itemStaticBoxSizer6->Add(
m_WholeCell, 0, wxALIGN_LEFT|wxALL, 5);
static string GetWizardFieldFromSeqEntry(objects::CSeq_entry_Handle entry, string field_name)
static CRef< CCmdComposite > SetWizardFieldInSeqEntry(objects::CSeq_entry_Handle entry, string field_name, string value)
CVirusMoleculeQuestionsPanel()
Constructors.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
wxRadioButton * m_CdnaFromGenomic
wxRadioButton * m_Purified
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void OnCdnaFromGenomicSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_CDNA_FROM_GENOMIC
ICommandProccessor * m_CmdProcessor
void OnWholeCellSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_WHOLE_CELL
bool Create(wxWindow *parent, wxWindowID id=10114, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
static bool ShowToolTips()
Should we show tooltips?
~CVirusMoleculeQuestionsPanel()
Destructor.
void OnPurifiedSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_PURIFIED
wxRadioButton * m_WholeCell
void OnCdnaFromMrnaSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_CDNA_FROM_MRNA
wxRadioButton * m_CdnaFromMrna
objects::CSeq_entry_Handle m_Seh
void Init()
Initialises member variables.
void CreateControls()
Creates the controls and sizers.
Undo/Redo interface for editing operations.
virtual void Execute(IEditCommand *command, wxWindow *window=0)=0
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool Equal(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)
Test for equality of a substring with another string.
const struct ncbi::grid::netcache::search::fields::SIZE size
static const string kVirusMaterial
static const string kCdnaSource
#define ID_CDNA_FROM_GENOMIC
#define ID_CDNA_FROM_MRNA
string ToStdString(const wxString &s)