1 #ifndef GUI_WIDGETS_EDIT___SRCMOD_LIST_PANEL__HPP
2 #define GUI_WIDGETS_EDIT___SRCMOD_LIST_PANEL__HPP
36 #include <wx/hyperlink.h>
40 #include "wx/hyperlink.h"
42 class wxFlexGridSizer;
52 #define SYMBOL_CSRCMODLISTPANEL_STYLE wxTAB_TRAVERSAL
53 #define SYMBOL_CSRCMODLISTPANEL_TITLE _("Source Modifiers")
54 #define SYMBOL_CSRCMODLISTPANEL_IDNAME ID_CSRCMODLISTPANEL
55 #define SYMBOL_CSRCMODLISTPANEL_SIZE wxSize(400, 300)
56 #define SYMBOL_CSRCMODLISTPANEL_POSITION wxDefaultPosition
58 #define ID_PCR_CHECKBOX 10032
102 void SetSource(
const objects::CBioSource& biosrc);
134 void OnDelete (wxHyperlinkEvent& event);
164 wxSizerItemList::iterator
x_FindRow(wxWindow* wnd, wxSizerItemList& itemList);
CRichTextCtrl - a wrapper for wxRichTextCtrl that handles additional keyboard events (such as Clipboa...
void OnPCRCheckBox(wxCommandEvent &event)
void OnAddPCRPrimer(wxCommandEvent &event)
void OnDelete(wxHyperlinkEvent &event)
list< CRef< objects::COrgMod > > m_ReadOnlyQuals
void OnClrSrcNoteHyperlinkClicked(wxHyperlinkEvent &event)
wxEVT_COMMAND_HYPERLINK event handler for ID_CLR_SRC_NOTE
void OnClrOrgNoteHyperlinkClicked(wxHyperlinkEvent &event)
wxEVT_COMMAND_HYPERLINK event handler for ID_CLR_ORG_NOTE
void x_SetSrcOrgMod(int subtype, const string &value)
CSrcModListPanel(wxWindow *parent, objects::CBioSource &source, wxWindowID id=ID_CSRCMODLISTPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
wxSizerItemList::iterator x_FindRow(wxWindow *wnd, wxSizerItemList &itemList)
virtual bool TransferDataFromWindow()
CRef< objects::CBioSource > m_Source
wxScrolledWindow * m_ScrolledWindow
wxBoxSizer * m_PCRPrimersBoxSizer1
CRichTextCtrl * m_OrgNote
void PopulateModifiers(objects::CBioSource &biosrc)
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
virtual bool TransferDataToWindow()
CRichTextCtrl * m_SrcInfo
void x_AddRow(wxString name, wxString value)
static bool ShowToolTips()
Should we show tooltips?
wxBoxSizer * m_PCRPrimersBoxSizer2
void OnChangedTaxname(void)
void CreateControls()
Creates the controls and sizers.
list< CSrcModPanel::SModData > TVecModData
wxFlexGridSizer * m_Sizer
void SetSource(const objects::CBioSource &biosrc)
void x_SetSrcSubMod(int subtype, const string &value)
wxCheckBox * m_PCRCheckbox
CSrcModListPanel()
Constructors.
void x_ShowPCRPrimerItems(bool value)
CPCRPrimersPanel * m_PCRPrimersPanel
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void Init()
Initialises member variables.
wxBoxSizer * m_PCRPrimersBoxSizer3
bool Create(wxWindow *parent, wxWindowID id=ID_CSRCMODLISTPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
void AddLastSrcMod(wxWindow *link)
~CSrcModListPanel()
Destructor.
void x_SetBioSourceModifier(const string &name, const string &value)
Include a standard set of the NCBI C++ Toolkit most basic headers.
#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 GenericPointer< typename T::ValueType > T2 value
const CharType(& source)[N]
#define SYMBOL_CSRCMODLISTPANEL_STYLE
#define SYMBOL_CSRCMODLISTPANEL_IDNAME
#define SYMBOL_CSRCMODLISTPANEL_POSITION
#define SYMBOL_CSRCMODLISTPANEL_SIZE