1 #ifndef GUI_WIDGETS_EDIT___BIOSOURCE_PANEL__HPP
2 #define GUI_WIDGETS_EDIT___BIOSOURCE_PANEL__HPP
35 #include <wx/checkbox.h>
64 #define SYMBOL_CBIOSOURCEPANEL_STYLE wxTAB_TRAVERSAL
65 #define SYMBOL_CBIOSOURCEPANEL_TITLE _("Organism Name")
66 #define SYMBOL_CBIOSOURCEPANEL_IDNAME ID_ORGANISMNAMEPANEL
67 #define SYMBOL_CBIOSOURCEPANEL_SIZE wxSize(400, 300)
68 #define SYMBOL_CBIOSOURCEPANEL_POSITION wxDefaultPosition
92 bool Create( wxWindow* parent,
#define SYMBOL_CBIOSOURCEPANEL_POSITION
#define SYMBOL_CBIOSOURCEPANEL_IDNAME
#define SYMBOL_CBIOSOURCEPANEL_SIZE
#define SYMBOL_CBIOSOURCEPANEL_STYLE
CSrcModListPanel * m_SrcModList
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
IDescEditorPanel * m_ParentPanel
void OnUpdatedTaxname(wxMouseEvent &event)
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void CreateControls()
Creates the controls and sizers.
CAutoCompleteTextCtrl * m_ScientificNameCtrl
static bool ShowToolTips()
Should we show tooltips?
void PopulateBioSource(objects::CBioSource &source)
void OnEvtText(wxCommandEvent &event)
void OnTaxonomyLookup(wxCommandEvent &event)
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_ORGPANEL_BTN
void Init()
Initialises member variables.
wxCheckBox * m_DisableStrainForwardingBtn
wxTreebook * m_ParentTreebook
bool Create(wxWindow *parent, wxWindowID id=ID_ORGANISMNAMEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
virtual bool TransferDataFromWindow()
objects::CBioSource & m_Source
virtual bool TransferDataToWindow()
~CBioSourcePanel()
Destructor.
CBioSourcePanel()
Constructors.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::SIZE size
const CharType(& source)[N]