)
58 #define SYMBOL_CSINGLESEQUENCEPANEL_IDNAME ID_CSINGLESEQUENCEPANEL 59 #define SYMBOL_CSINGLESEQUENCEPANEL_SIZE wxSize(400, 300) 60 #define SYMBOL_CSINGLESEQUENCEPANEL_POSITION wxDefaultPosition 76 CSingleSequencePanel(wxWindow* parent, objects::CSeq_entry_Handle seh, objects::CSubSource::ESubtype subtype,
boolis_organelle =
false,
77 constvector<objects::CBioSource::EGenome> &organelle_types = vector<objects::CBioSource::EGenome>(),
84 bool Create( wxWindow* parent,
116 static bool NeedsRow(objects::CBioseq_Handle bh, objects::CSubSource::ESubtype subtype);
117 static bool NeedsOrganelleRow(objects::CBioseq_Handle bh,
constvector<objects::CBioSource::EGenome> &organelle_types);
119 void SetValue(objects::CBioseq_Handle bh);
@ ID_CSINGLESEQUENCEPANEL
wxChoice * m_OrganelleCtrl
wxStaticText * m_LengthLabel
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void OnChangeSeqId(wxCommandEvent &event)
string GetOrganelleValue()
objects::CSeq_entry_Handle m_Seh
static bool ShowToolTips()
Should we show tooltips?
void CreateControls()
Creates the controls and sizers.
void SetValue(objects::CBioseq_Handle bh)
objects::CSubSource::ESubtype m_Subtype
vector< objects::CBioSource::EGenome > m_organelle_types
bool Create(wxWindow *parent, wxWindowID id=ID_CSINGLESEQUENCEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
~CSingleSequencePanel()
Destructor.
static bool NeedsRow(objects::CBioseq_Handle bh, objects::CSubSource::ESubtype subtype)
void EnableTextCtrl(bool value)
bool AddToUpdateCommand(CCmdComposite &cmd)
static bool NeedsOrganelleRow(objects::CBioseq_Handle bh, const vector< objects::CBioSource::EGenome > &organelle_types)
static bool RemoveNamedValue(CCmdComposite &cmd, objects::CSubSource::ESubtype subtype, objects::CBioseq_Handle bh)
void Init()
Initialises member variables.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
CSingleSequencePanel()
Constructors.
string GetModifierValue()
#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
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
#define SYMBOL_CSINGLESEQUENCEPANEL_IDNAME
#define SYMBOL_CSINGLESEQUENCEPANEL_POSITION
#define SYMBOL_CSINGLESEQUENCEPANEL_SIZE
#define SYMBOL_CSINGLESEQUENCEPANEL_STYLE
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