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/igsflankpanel_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/packages/pkg_sequence_edit/igsflankpanel.cpp Source File

36 #include <wx/stattext.h> 90 

wxPanel::Create( parent,

id

, pos,

size

, style );

95

GetSizer()->SetSizeHints(

this

);

142

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

143

itemPanel1->SetSizer(itemBoxSizer2);

145

wxFlexGridSizer* itemFlexGridSizer3 =

new

wxFlexGridSizer(0, 2, 0, 0);

146

itemBoxSizer2->Add(itemFlexGridSizer3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

148  m_IstRNA

=

new

wxRadioButton( itemPanel1,

ID_RADIOBUTTON

,

_

(

"tRNA"

), wxDefaultPosition, wxDefaultSize, 0 );

150

itemFlexGridSizer3->Add(

m_IstRNA

, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);

152

wxBoxSizer* itemBoxSizer5 =

new

wxBoxSizer(wxHORIZONTAL);

153

itemFlexGridSizer3->Add(itemBoxSizer5, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

155

wxStaticText* itemStaticText6 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Select tRNA"

), wxDefaultPosition, wxDefaultSize, 0 );

156

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

158

wxArrayString m_tRNAStrings;

159

m_tRNAStrings.Add(

_

(

"A Alanine"

));

160

m_tRNAStrings.Add(

_

(

"B Asp or Asn"

));

161

m_tRNAStrings.Add(

_

(

"C Cysteine"

));

162

m_tRNAStrings.Add(

_

(

"D Aspartic Acid"

));

163

m_tRNAStrings.Add(

_

(

"E Glutamic Acid"

));

164

m_tRNAStrings.Add(

_

(

"F Phenylalanine"

));

165

m_tRNAStrings.Add(

_

(

"G Glycine"

));

166

m_tRNAStrings.Add(

_

(

"H Histidine"

));

167

m_tRNAStrings.Add(

_

(

"I Isoleucine"

));

168

m_tRNAStrings.Add(

_

(

"J Leu or Ile"

));

169

m_tRNAStrings.Add(

_

(

"K Lysine"

));

170

m_tRNAStrings.Add(

_

(

"L Leucine"

));

171

m_tRNAStrings.Add(

_

(

"M Methionine"

));

172

m_tRNAStrings.Add(

_

(

"N Asparagine"

));

173

m_tRNAStrings.Add(

_

(

"O Pyrrolysine"

));

174

m_tRNAStrings.Add(

_

(

"P Proline"

));

175

m_tRNAStrings.Add(

_

(

"Q Glutamine"

));

176

m_tRNAStrings.Add(

_

(

"R Arginine"

));

177

m_tRNAStrings.Add(

_

(

"S Serine"

));

178

m_tRNAStrings.Add(

_

(

"T Threonine"

));

179

m_tRNAStrings.Add(

_

(

"U Selenocysteine"

));

180

m_tRNAStrings.Add(

_

(

"V Valine"

));

181

m_tRNAStrings.Add(

_

(

"W Tryptophan"

));

182

m_tRNAStrings.Add(

_

(

"X Undetermined or atypical"

));

183

m_tRNAStrings.Add(

_

(

"Y Tyrosine"

));

184

m_tRNAStrings.Add(

_

(

"Z Glu or Gln"

));

185  m_tRNA

=

new

wxChoice( itemPanel1,

ID_CHOICE

, wxDefaultPosition, wxDefaultSize, m_tRNAStrings, 0 );

186

itemBoxSizer5->Add(

m_tRNA

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

190

itemFlexGridSizer3->Add(

m_IsProtein

, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

192

wxFlexGridSizer* itemFlexGridSizer9 =

new

wxFlexGridSizer(0, 2, 0, 0);

193

itemFlexGridSizer3->Add(itemFlexGridSizer9, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

195

wxStaticText* itemStaticText10 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Protein Name"

), wxDefaultPosition, wxDefaultSize, 0 );

196

itemFlexGridSizer9->Add(itemStaticText10, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

200

itemFlexGridSizer9->Add(

m_ProteinName

, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

202

wxStaticText* itemStaticText12 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Gene Symbol"

), wxDefaultPosition, wxDefaultSize, 0 );

203

itemFlexGridSizer9->Add(itemStaticText12, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

207

itemFlexGridSizer9->Add(

m_GeneSymbol

, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

209

wxArrayString m_IncludeFeatStrings;

210

m_IncludeFeatStrings.Add(

_

(

"&Yes"

));

211

m_IncludeFeatStrings.Add(

_

(

"Yes, &but only in some of the sequences"

));

212

m_IncludeFeatStrings.Add(

_

(

"&No, it is only the intergenic spacer on this end"

));

213  m_IncludeFeat

=

new

wxRadioBox( itemPanel1,

ID_RADIOBOX1

,

_

(

"Do your sequences contain part of the feature described above?"

), wxDefaultPosition, wxDefaultSize, m_IncludeFeatStrings, 1, wxRA_SPECIFY_COLS );

262

name =

"trn"

+ trna.substr(0, 1);

283

abbrev = trna_label.substr(0, 2) +

"x"

;

285

abbrev = trna_label.substr(0, 3);

297

name =

"tRNA-"

+

s_GetTRNAAbbrev

(trna.substr(2)) +

" (trn"

+ trna.substr(0, 1) +

")"

;

310

name =

prot

+

" ("

+ gene +

")"

;

void CreateControls()

Creates the controls and sizers.

void Init()

Initialises member variables.

static bool ShowToolTips()

Should we show tooltips?

CIGSFlankPanel()

Constructors.

wxTextCtrl * m_ProteinName

void OnProteinSelected(wxCommandEvent &event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_RADIOBUTTON1

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

wxTextCtrl * m_GeneSymbol

void OntrnabuttonSelected(wxCommandEvent &event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_RADIOBUTTON

~CIGSFlankPanel()

Destructor.

wxRadioBox * m_IncludeFeat

wxRadioButton * m_IsProtein

bool Create(wxWindow *parent, wxWindowID id=10036, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)

Creation.

#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 SIZE_TYPE Find(const CTempString str, const CTempString pattern, ECase use_case=eCase, EDirection direction=eForwardSearch, SIZE_TYPE occurrence=0)

Find the pattern in the string.

string s_GetTRNAAbbrev(string trna_label)

const struct ncbi::grid::netcache::search::fields::SIZE size

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