A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/gff__params__panel_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/widgets/loaders/gff_params_panel.cpp Source File

33 #include <wx/checkbox.h> 34 #include <wx/choice.h> 35 #include <wx/textctrl.h> 36 #include <wx/radiobut.h> 37 #include <wx/valtext.h> 38 #include <wx/valgen.h> 39 #include <wx/stattext.h> 40 #include <wx/statbox.h> 41 #include <wx/bitmap.h> 104 

SetExtraStyle(wxWS_EX_VALIDATE_RECURSIVELY);

105

wxPanel::Create( parent,

id

, pos,

size

, style );

110

GetSizer()->SetSizeHints(

this

);

150

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxHORIZONTAL);

151

itemPanel1->SetSizer(itemBoxSizer2);

153

wxStaticBox* itemStaticBoxSizer3Static =

new

wxStaticBox(itemPanel1,

wxID_ANY

,

_

(

"GFF Load Parameters"

));

154

wxStaticBoxSizer* itemStaticBoxSizer3 =

new

wxStaticBoxSizer(itemStaticBoxSizer3Static, wxVERTICAL);

155

itemBoxSizer2->Add(itemStaticBoxSizer3, 0, wxALIGN_TOP|wxALL, 5);

157

wxBoxSizer* itemBoxSizer4 =

new

wxBoxSizer(wxHORIZONTAL);

158

itemStaticBoxSizer3->Add(itemBoxSizer4, 0, wxALIGN_LEFT|wxALL, 5);

160

wxFlexGridSizer* itemFlexGridSizer5 =

new

wxFlexGridSizer(3, 2, 0, 0);

161

itemStaticBoxSizer3->Add(itemFlexGridSizer5, 0, wxALIGN_LEFT|wxALL, 5);

163

wxStaticText* itemStaticText6 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"File Format"

), wxDefaultPosition, wxDefaultSize, 0 );

164

itemFlexGridSizer5->Add(itemStaticText6, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);

166

wxArrayString itemChoice7Strings;

167

itemChoice7Strings.Add(

_

(

"Auto"

));

168

itemChoice7Strings.Add(

_

(

"GFF3"

));

169

itemChoice7Strings.Add(

_

(

"GTF"

));

170

itemChoice7Strings.Add(

_

(

"GVF"

));

171

wxChoice* itemChoice7 =

new

wxChoice( itemPanel1,

ID_CHOICE2

, wxDefaultPosition, wxDefaultSize, itemChoice7Strings, 0 );

172

itemChoice7->SetStringSelection(

_

(

"Auto"

));

173

itemFlexGridSizer5->Add(itemChoice7, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);

175

wxStaticText* itemStaticText8 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Name for feature set"

), wxDefaultPosition, wxDefaultSize, 0 );

176

itemFlexGridSizer5->Add(itemStaticText8, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);

178

wxTextCtrl* itemTextCtrl9 =

new

wxTextCtrl( itemPanel1,

ID_TEXTCTRL1

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

179

itemFlexGridSizer5->Add(itemTextCtrl9, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);

181

wxStaticBox* itemStaticBoxSizer10Static =

new

wxStaticBox(itemPanel1,

wxID_ANY

,

_

(

"Sequence Identifiers"

));

182

wxStaticBoxSizer* itemStaticBoxSizer10 =

new

wxStaticBoxSizer(itemStaticBoxSizer10Static, wxVERTICAL);

183

itemStaticBoxSizer3->Add(itemStaticBoxSizer10, 0, wxGROW|wxALL, 5);

185

wxPanel* itemPanel11 =

new

wxPanel( itemPanel1,

ID_PANEL

, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );

186

itemStaticBoxSizer10->Add(itemPanel11, 1, wxGROW, 5);

188

wxBoxSizer* itemBoxSizer12 =

new

wxBoxSizer(wxVERTICAL);

189

itemPanel11->SetSizer(itemBoxSizer12);

191

wxRadioButton* itemRadioButton13 =

new

wxRadioButton( itemPanel11,

ID_SEQ_ID_NORMAL

,

_

(

"Parse Normally"

), wxDefaultPosition, wxDefaultSize, 0 );

192

itemRadioButton13->SetValue(

false

);

194

itemRadioButton13->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."

));

195

itemBoxSizer12->Add(itemRadioButton13, 0, wxALIGN_LEFT|wxALL, 5);

197

wxRadioButton* itemRadioButton14 =

new

wxRadioButton( itemPanel11,

IDSEQ_ID_NUMERIC

,

_

(

"Numeric Identifiers as Local Identifiers"

), wxDefaultPosition, wxDefaultSize, 0 );

198

itemRadioButton14->SetValue(

false

);

200

itemRadioButton14->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."

));

201

itemBoxSizer12->Add(itemRadioButton14, 0, wxALIGN_LEFT|wxALL, 5);

203

wxRadioButton* itemRadioButton15 =

new

wxRadioButton( itemPanel11,

ID_SEQ_ID_LOCAL

,

_

(

"All Identifiers as Local Identifiers"

), wxDefaultPosition, wxDefaultSize, 0 );

204

itemRadioButton15->SetValue(

false

);

206

itemRadioButton15->SetToolTip(

_

(

"No attempt will be made to interpret sequence identifiers as accessions that refer to sequences in the GenBank archive."

));

207

itemBoxSizer12->Add(itemRadioButton15, 0, wxALIGN_LEFT|wxALL, 5);

209

wxStaticText* itemStaticText16 =

new

wxStaticText( 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 );

210

itemStaticBoxSizer10->Add(itemStaticText16, 0, wxALIGN_LEFT|wxALL, 5);

216

itemChoice7->SetValidator( wxGenericValidator(&

GetData

().m_FileFormat) );

217

itemTextCtrl9->SetValidator( wxTextValidator(wxFILTER_NONE, &

GetData

().m_NameFeatSet) );

269  if

(!wxPanel::TransferDataToWindow())

281  if

(!wxPanel::TransferDataFromWindow())

308  switch

(parseSeqId) {

322  bool val

= (

id

== ctrlId);

323

wxRadioButton* 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