SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
84wxDialog::Create( parent,
id, caption, pos,
size, style );
89GetSizer()->SetSizeHints(
this);
121wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
122itemDialog1->SetSizer(itemBoxSizer2);
124wxBoxSizer* itemBoxSizer3 =
newwxBoxSizer(wxHORIZONTAL);
125itemBoxSizer2->Add(itemBoxSizer3, 0, wxALIGN_RIGHT|wxLEFT|wxRIGHT, 5);
127wxStaticText* itemStaticText4 =
newwxStaticText( itemDialog1, wxID_STATIC,
_(
"Track type:"), wxDefaultPosition, wxDefaultSize, 0 );
128itemBoxSizer3->Add(itemStaticText4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
130wxArrayString m_TrackTypeStrings;
131 m_TrackType=
newwxChoice( itemDialog1,
ID_CHOICE, wxDefaultPosition, wxSize(150, -1), m_TrackTypeStrings, 0 );
132itemBoxSizer3->Add(
m_TrackType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
135itemBoxSizer2->Add(
m_SubtypeGroup, 0, wxALIGN_RIGHT|wxLEFT|wxRIGHT, 5);
137wxStaticText* itemStaticText7 =
newwxStaticText( itemDialog1, wxID_STATIC,
_(
"Feature subtype:"), wxDefaultPosition, wxDefaultSize, 0 );
139itemStaticText7->SetToolTip(
_(
"Feature subtype storage key, such as STS and gene"));
140 m_SubtypeGroup->Add(itemStaticText7, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
142wxArrayString m_SubtypeStrings;
143 m_Subtype=
newwxChoice( itemDialog1,
ID_CHOICE1, wxDefaultPosition, wxSize(150, -1), m_SubtypeStrings, 0 );
145 m_Subtype->SetToolTip(
_(
"Feature subtype storage key, such as STS and gene"));
148wxBoxSizer* itemBoxSizer9 =
newwxBoxSizer(wxHORIZONTAL);
149itemBoxSizer2->Add(itemBoxSizer9, 0, wxALIGN_RIGHT|wxLEFT|wxRIGHT, 5);
151wxStaticText* itemStaticText10 =
newwxStaticText( itemDialog1, wxID_STATIC,
_(
"Track title:"), wxDefaultPosition, wxDefaultSize, 0 );
153itemStaticText10->SetToolTip(
_(
"Track title/name shown on the track title bar. It doesn't need to be unique, but a unique name may help differentiate it from others."));
154itemBoxSizer9->Add(itemStaticText10, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
156 m_TrackName=
newwxTextCtrl( itemDialog1,
ID_TEXTCTRL, wxEmptyString, wxDefaultPosition, wxSize(150, -1), 0 );
158 m_TrackName->SetToolTip(
_(
"Track title/name shown on the track title bar. It doesn't need to be unique, but a unique name may help differentiate it from others."));
159itemBoxSizer9->Add(
m_TrackName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
161wxBoxSizer* itemBoxSizer12 =
newwxBoxSizer(wxHORIZONTAL);
162itemBoxSizer2->Add(itemBoxSizer12, 0, wxALIGN_RIGHT|wxLEFT|wxRIGHT, 5);
164wxStaticText* itemStaticText13 =
newwxStaticText( itemDialog1, wxID_STATIC,
_(
"Filter:"), wxDefaultPosition, wxDefaultSize, 0 );
166itemStaticText13->SetToolTip(
_(
"Track-specific filter, not all tracks support filters. It is optional."));
167itemBoxSizer12->Add(itemStaticText13, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
171 m_TrackFilter->SetToolTip(
_(
"Track-specific filter, not all tracks support filters. It is optional."));
172itemBoxSizer12->Add(
m_TrackFilter, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
174wxBoxSizer* itemBoxSizer15 =
newwxBoxSizer(wxHORIZONTAL);
175itemBoxSizer2->Add(itemBoxSizer15, 0, wxALIGN_RIGHT|wxLEFT|wxRIGHT, 5);
177wxStaticText* itemStaticText16 =
newwxStaticText( itemDialog1, wxID_STATIC,
_(
"Annotation names:"), wxDefaultPosition, wxDefaultSize, 0 );
179itemStaticText16->SetToolTip(
_(
"Type in specific annotation names or select one of preset categories. More than one annotations separated using any of \",;|\" are acceptable, e.g. NA000000015.1,NA000000026.1"));
180itemBoxSizer15->Add(itemStaticText16, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
182wxArrayString m_AnnotsStrings;
183 m_Annots=
newwxComboBox( itemDialog1,
ID_COMBOBOX, wxEmptyString, wxDefaultPosition, wxSize(150, -1), m_AnnotsStrings, wxCB_DROPDOWN );
185 m_Annots->SetToolTip(
_(
"Type in specific annotation names or select one of preset categories. More than one annotations separated using any of \",;|\" are acceptable, e.g. NA000000015.1,NA000000026.1."));
186itemBoxSizer15->Add(
m_Annots, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
188itemBoxSizer2->Add(5, 5, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
190wxStdDialogButtonSizer* itemStdDialogButtonSizer19 =
newwxStdDialogButtonSizer;
192itemBoxSizer2->Add(itemStdDialogButtonSizer19, 0, wxALIGN_RIGHT|wxALL, 0);
193wxButton* itemButton20 =
newwxButton( itemDialog1, wxID_OK,
_(
"&OK"), wxDefaultPosition, wxSize(70, 24), 0 );
194itemButton20->SetDefault();
195itemStdDialogButtonSizer19->AddButton(itemButton20);
197wxButton* itemButton21 =
newwxButton( itemDialog1, wxID_CANCEL,
_(
"&Cancel"), wxDefaultPosition, wxSize(70, 24), 0 );
198itemStdDialogButtonSizer19->AddButton(itemButton21);
200itemStdDialogButtonSizer19->Realize();
static const CTrackTypeInfo & GetTypeInfo()
CConfigurableItems - a static list of items that can be configured.
static const CTrackTypeInfo & GetTypeInfo()
static const CFeatList * GetFeatList()
const string & GetId() const
wxString GetAnnots() const
wxString GetSubtype() const
void InitTrackTypes(const CTrackConfigManager::TFactoryMap &factories)
wxBitmap GetBitmapResource(const wxString &name)
wxString GetTrackFilter() const
void OnOkClick(wxCommandEvent &event)
wxTextCtrl * m_TrackFilter
void SetTrackName(const wxString &name)
user-defined member functions.
void OnTrackTypeChanged(wxCommandEvent &event)
wxIcon GetIconResource(const wxString &name)
bool CreateX(wxWindow *parent, wxWindowID id=10035, const wxString &caption=_("Graphical view new track settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 100), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
wxString GetTrackType() const
wxBoxSizer * m_SubtypeGroup
wxString GetTrackName() const
static bool ShowToolTips()
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
#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
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