(parent,
id, caption, pos,
size, style);
104SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
105wxPanel::Create( parent,
id, pos,
size, style );
110GetSizer()->SetSizeHints(
this);
154 m_KeyCtrl=
newwxStaticText( itemPanel1, wxID_STATIC,
_(
"Static text"), wxDefaultPosition, wxSize(160, -1), 0 );
165 key=
"mobile_element_type";
172 if(
m_Qual->IsSetVal()) {
180vector<string> choices;
181choices.push_back(
"insertion sequence");
182choices.push_back(
"retrotransposon");
183choices.push_back(
"non-LTR retrotransposon");
184choices.push_back(
"transposon");
185choices.push_back(
"integron");
186choices.push_back(
"other");
187choices.push_back(
"SINE");
188choices.push_back(
"MITE");
189choices.push_back(
"LINE");
192vector<string> choices;
193choices.push_back(
"satellite");
194choices.push_back(
"microsatellite");
195choices.push_back(
"minisatellite");
206vector<string> choices;
209choices.push_back(*it);
234 if(!wxPanel::TransferDataToWindow())
237 if(
m_Qual->IsSetVal()) {
252 if(!wxPanel::TransferDataFromWindow())
258 m_Qual->SetVal(
"other");
virtual string GetValue()
virtual void SetValue(string val)
void SetControlledList(vector< string > choices)
@Gb_qual.hpp User-defined methods of the data storage class.
static const TLegalRecombinationClassSet & GetSetOfLegalRecombinationClassValues(void)
static bool IsParseable(const string &val)
static const vector< string > & GetRegulatoryClassList()
CSingleGbQualSubPanel()
Constructors.
void Init()
Initialises member variables.
void SetGbQual(CRef< objects::CGb_qual > &qual)
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
virtual bool TransferDataToWindow()
virtual bool TransferDataFromWindow()
CFormattedQualPanel * m_ValueCtrl
void CreateControls()
Creates the controls and sizers.
CRef< objects::CGb_qual > GetGbQual()
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
bool Create(wxWindow *parent, wxWindowID id=ID_SINGLEGBQUALSUBPANEL, const wxString &caption=_("SingleGbQual SubPanel"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
static bool ShowToolTips()
Should we show tooltips?
~CSingleGbQualSubPanel()
Destructor.
CRef< objects::CGb_qual > m_Qual
void SetControlledList(vector< string > choices)
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
#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).
static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
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.
static string & ReplaceInPlace(string &src, const string &search, const string &replace, SIZE_TYPE start_pos=0, SIZE_TYPE max_replace=0, SIZE_TYPE *num_replace=0)
Replace occurrences of a substring within a string.
const struct ncbi::grid::netcache::search::fields::SIZE size
const struct ncbi::grid::netcache::search::fields::KEY key
wxString ToWxString(const string &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