SetExtraStyle(wxWS_EX_VALIDATE_RECURSIVELY);
105wxPanel::Create( parent,
id, pos,
size, style );
110GetSizer()->SetSizeHints(
this);
150wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxHORIZONTAL);
151itemPanel1->SetSizer(itemBoxSizer2);
153wxStaticBox* itemStaticBoxSizer3Static =
newwxStaticBox(itemPanel1,
wxID_ANY,
_(
"GFF Load Parameters"));
154wxStaticBoxSizer* itemStaticBoxSizer3 =
newwxStaticBoxSizer(itemStaticBoxSizer3Static, wxVERTICAL);
155itemBoxSizer2->Add(itemStaticBoxSizer3, 0, wxALIGN_TOP|wxALL, 5);
157wxBoxSizer* itemBoxSizer4 =
newwxBoxSizer(wxHORIZONTAL);
158itemStaticBoxSizer3->Add(itemBoxSizer4, 0, wxALIGN_LEFT|wxALL, 5);
160wxFlexGridSizer* itemFlexGridSizer5 =
newwxFlexGridSizer(3, 2, 0, 0);
161itemStaticBoxSizer3->Add(itemFlexGridSizer5, 0, wxALIGN_LEFT|wxALL, 5);
163wxStaticText* itemStaticText6 =
newwxStaticText( itemPanel1, wxID_STATIC,
_(
"File Format"), wxDefaultPosition, wxDefaultSize, 0 );
164itemFlexGridSizer5->Add(itemStaticText6, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
166wxArrayString itemChoice7Strings;
167itemChoice7Strings.Add(
_(
"Auto"));
168itemChoice7Strings.Add(
_(
"GFF3"));
169itemChoice7Strings.Add(
_(
"GTF"));
170itemChoice7Strings.Add(
_(
"GVF"));
171wxChoice* itemChoice7 =
newwxChoice( itemPanel1,
ID_CHOICE2, wxDefaultPosition, wxDefaultSize, itemChoice7Strings, 0 );
172itemChoice7->SetStringSelection(
_(
"Auto"));
173itemFlexGridSizer5->Add(itemChoice7, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
175wxStaticText* itemStaticText8 =
newwxStaticText( itemPanel1, wxID_STATIC,
_(
"Name for feature set"), wxDefaultPosition, wxDefaultSize, 0 );
176itemFlexGridSizer5->Add(itemStaticText8, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
178wxTextCtrl* itemTextCtrl9 =
newwxTextCtrl( itemPanel1,
ID_TEXTCTRL1, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
179itemFlexGridSizer5->Add(itemTextCtrl9, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
181wxStaticBox* itemStaticBoxSizer10Static =
newwxStaticBox(itemPanel1,
wxID_ANY,
_(
"Sequence Identifiers"));
182wxStaticBoxSizer* itemStaticBoxSizer10 =
newwxStaticBoxSizer(itemStaticBoxSizer10Static, wxVERTICAL);
183itemStaticBoxSizer3->Add(itemStaticBoxSizer10, 0, wxGROW|wxALL, 5);
185wxPanel* itemPanel11 =
newwxPanel( itemPanel1,
ID_PANEL, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
186itemStaticBoxSizer10->Add(itemPanel11, 1, wxGROW, 5);
188wxBoxSizer* itemBoxSizer12 =
newwxBoxSizer(wxVERTICAL);
189itemPanel11->SetSizer(itemBoxSizer12);
191wxRadioButton* itemRadioButton13 =
newwxRadioButton( itemPanel11,
ID_SEQ_ID_NORMAL,
_(
"Parse Normally"), wxDefaultPosition, wxDefaultSize, 0 );
192itemRadioButton13->SetValue(
false);
194itemRadioButton13->SetToolTip(
_(
"Sequence identifiers that \"look like\" GenBank identifiers will be interpreted as GenBank identifiers (numbers will be interpreted as GI values, text that matches accession formats will be interpreted as accessions), and all other sequence identifiers will be treated as \"local\" identifiers, which may have meaning to the creator of the sequence but do not refer to a sequence in the GenBank archive."));
195itemBoxSizer12->Add(itemRadioButton13, 0, wxALIGN_LEFT|wxALL, 5);
197wxRadioButton* itemRadioButton14 =
newwxRadioButton( itemPanel11,
IDSEQ_ID_NUMERIC,
_(
"Numeric Identifiers as Local Identifiers"), wxDefaultPosition, wxDefaultSize, 0 );
198itemRadioButton14->SetValue(
false);
200itemRadioButton14->SetToolTip(
_(
"Only text that matches accession formats will be interpreted as accessions. Numbers will not be interpreted as GI values, but will be treated as \"local\" identifiers."));
201itemBoxSizer12->Add(itemRadioButton14, 0, wxALIGN_LEFT|wxALL, 5);
203wxRadioButton* itemRadioButton15 =
newwxRadioButton( itemPanel11,
ID_SEQ_ID_LOCAL,
_(
"All Identifiers as Local Identifiers"), wxDefaultPosition, wxDefaultSize, 0 );
204itemRadioButton15->SetValue(
false);
206itemRadioButton15->SetToolTip(
_(
"No attempt will be made to interpret sequence identifiers as accessions that refer to sequences in the GenBank archive."));
207itemBoxSizer12->Add(itemRadioButton15, 0, wxALIGN_LEFT|wxALL, 5);
209wxStaticText* itemStaticText16 =
newwxStaticText( itemPanel1, wxID_STATIC,
_(
"Every sequence must have a sequence identifier to distinguish it\nfrom other sequences that are being viewed/analyzed.\nSequence identifiers can also be used to refer\nto a sequence in the GenBank archive.\n\nHover mouse pointer over an option for explanation."), wxDefaultPosition, wxDefaultSize, 0 );
210itemStaticBoxSizer10->Add(itemStaticText16, 0, wxALIGN_LEFT|wxALL, 5);
216itemChoice7->SetValidator( wxGenericValidator(&
GetData().m_FileFormat) );
217itemTextCtrl9->SetValidator( wxTextValidator(wxFILTER_NONE, &
GetData().m_NameFeatSet) );
269 if(!wxPanel::TransferDataToWindow())
281 if(!wxPanel::TransferDataFromWindow())
308 switch(parseSeqId) {
322 bool val= (
id== ctrlId);
323wxRadioButton* rb =
dynamic_cast<wxRadioButton*
>(FindWindow(
id));
324 if(rb && rb->GetValue() !=
val)
CMapAssemblyParams & GetData()
Data access.
void SetData(const CMapAssemblyParams &data)
bool Create(wxWindow *parent, wxWindowID id=ID_CGFFPARAMSPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 500), long style=wxTAB_TRAVERSAL)
Creation.
virtual bool TransferDataToWindow()
~CGffParamsPanel()
Destructor.
void SetMapAssembly(CMapAssemblyParams value)
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void OnParseSeqIdNumericSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for IDSEQ_ID_NUMERIC
void SetParseSeqIds(int value)
CGffLoadParams & GetData()
Data access.
void Init()
Initialises member variables.
CGffParamsPanel()
Constructors.
void x_SetParseSeqId(int val)
virtual bool TransferDataFromWindow()
CAssemblySelPanel * m_AssemblyPanel
void OnParseSeqIdLocalSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_SEQ_ID_LOCAL
void CreateControls()
Creates the controls and sizers.
void OnParseSeqIdNormalSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_SEQ_ID_NORMAL
static bool ShowToolTips()
Should we show tooltips?
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
#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
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