wxPanel::Create( parent,
id, pos,
size, style );
95GetSizer()->SetSizeHints(
this);
138wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
139itemPanel1->SetSizer(itemBoxSizer2);
141wxFlexGridSizer* itemFlexGridSizer3 =
newwxFlexGridSizer(0, 2, 0, 0);
142itemBoxSizer2->Add(itemFlexGridSizer3, 0, wxALIGN_LEFT|wxALL, 5);
144wxStaticText* itemStaticText4 =
newwxStaticText( itemPanel1, wxID_STATIC,
_(
"Common Name"), wxDefaultPosition, wxDefaultSize, 0 );
145itemFlexGridSizer3->Add(itemStaticText4, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
148itemFlexGridSizer3->Add(
m_CommonNameCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
150wxStaticText* itemStaticText6 =
newwxStaticText( itemPanel1, wxID_STATIC,
_(
"Taxonomic Lineage"), wxDefaultPosition, wxDefaultSize, 0 );
151itemFlexGridSizer3->Add(itemStaticText6, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
153 m_LineageCtrl=
newwxTextCtrl( itemPanel1,
ID_TEXTCTRL2, wxEmptyString, wxDefaultPosition, wxSize(200, -1), wxTE_MULTILINE );
154itemFlexGridSizer3->Add(
m_LineageCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
156wxStaticText* itemStaticText8 =
newwxStaticText( itemPanel1, wxID_STATIC,
_(
"Division"), wxDefaultPosition, wxDefaultSize, 0 );
157itemFlexGridSizer3->Add(itemStaticText8, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
160itemFlexGridSizer3->Add(
m_DivisionCtrl, 0, wxALIGN_LEFT|wxGROW|wxALL, 5);
164wxBoxSizer* itemBoxSizer4 =
newwxBoxSizer(wxHORIZONTAL);
165itemBoxSizer2->Add(itemBoxSizer4, 1, wxALIGN_LEFT|wxALL, 0);
168itemBoxSizer4->Add(
m_Dbxrefs, 0, wxEXPAND|wxALL, 5);
240TransferDataFromWindow();
virtual bool TransferDataToWindow()
void PopulateDbxrefs(objects::CSeq_feat &seq_feat)
const string & GetLineage(void) const
const string & GetDivision(void) const
bool IsSetDivision(void) const
bool IsSetLineage(void) const
void CreateControls()
Creates the controls and sizers.
CRef< objects::COrg_ref > m_OrgRef
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
~CSourceOtherPanel()
Destructor.
bool Create(wxWindow *parent, wxWindowID id=ID_CSOURCEOTHERPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
static bool ShowToolTips()
Should we show tooltips?
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
void OnChangedTaxname(void)
void TransferToOrgRef(objects::COrg_ref &org)
wxTextCtrl * m_LineageCtrl
wxTextCtrl * m_DivisionCtrl
void Init()
Initialises member variables.
CSourceOtherPanel()
Constructors.
void TransferFromOrgRef(const objects::COrg_ref &org)
wxTextCtrl * m_CommonNameCtrl
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)
Set object to copy of another one.
void Reset(void)
Reset reference object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)
Check if a string is blank (has no text).
bool IsSetDb(void) const
ids in taxonomic or culture dbases Check if a value has been assigned to Db data member.
void SetCommon(const TCommon &value)
Assign a value to Common data member.
bool IsSetCommon(void) const
common name Check if a value has been assigned to Common data member.
vector< CRef< CDbtag > > TDb
const TCommon & GetCommon(void) const
Get the Common member data.
const TDb & GetDb(void) const
Get the Db member data.
void ResetCommon(void)
Reset Common data member.
void SetOrgname(TOrgname &value)
Assign a value to Orgname data member.
const struct ncbi::grid::netcache::search::fields::SIZE size
wxString ToWxString(const string &s)
string ToStdString(const wxString &s)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4