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

NCBI C++ ToolKit: src/gui/widgets/edit/feature_type_panel.cpp Source File

40 #include <wx/toplevel.h> 86 

CFieldNamePanel::Create( parent,

id

, pos,

size

, style );

91

GetSizer()->SetSizeHints(

this

);

133

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

134

itemCFieldNamePanel1->SetSizer(itemBoxSizer2);

136

wxArrayString m_ListStrings;

137  m_List

=

new

wxListBox( itemCFieldNamePanel1,

ID_LISTBOX1

, wxDefaultPosition, wxSize(128,109), m_ListStrings, wxLB_SINGLE );

139  m_List

->SetMinSize(wxSize(170,109));

141

itemBoxSizer2->Add(

m_List

, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

158  m_List

->SetSelection(wxNOT_FOUND);

170

vector<const CFeatListItem *> featlist;

174

pfeatlist = &featlist;

176  ITERATE

(vector<const CFeatListItem *>, feat_it, *pfeatlist) {

179  int

feat_type = item.

GetType

();

181  types

[pair<int,int>(feat_type,feat_subtype)] = desc;

182  if

(existing.

find

(desc) == existing.

end

()) {

198  m_List

->EnsureVisible(0);

201

GetSizer()->SetSizeHints(

this

);

260  string

feature = field;

265

feature =

"misc_RNA"

;

268  int

sel =

m_List

->GetSelection();

269  if

(sel == wxNOT_FOUND)

271  m_List

->SetFirstItem(sel);

CFeatListItem - basic configuration data for one "feature" type.

string GetDescription() const

static bool ShowToolTips()

Should we show tooltips?

virtual bool SetFieldName(const string &field)

void OnListbox1Selected(wxCommandEvent &event)

wxEVT_COMMAND_LISTBOX_SELECTED event handler for ID_LISTBOX1

virtual void ClearValues(void)

~CFeatureTypePanel()

Destructor.

bool Create(wxWindow *parent, wxWindowID id=10179, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxSIMPLE_BORDER|wxTAB_TRAVERSAL)

Creation.

vector< string > m_Featlist

virtual string GetFieldName(const bool subfield=false)

Returns the name of the field as selected in the panel.

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

void Init()

Initialises member variables.

CFeatureTypePanel()

Constructors.

static bool s_IsRarelyUsedOrDiscouragedFeatureType(int subtype)

void CreateControls()

Creates the controls and sizers.

virtual void SetShowLegalOnly(bool show)

void ListPresentFeaturesFirst(const objects::CSeq_entry_Handle &entry, vector< const objects::CFeatListItem * > *featlist=nullptr)

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

void x_UpdateParent(void)

const TLegalQualifiers & GetLegalQualifiers(void) const

Get a list of all the legal qualifiers for the feature.

@ eSubtype_transit_peptide

@ eSubtype_bad

These no longer need to match the FEATDEF values in the C toolkit's objfdef.h.

@ eSubtype_prim_transcript

@ eSubtype_non_std_residue

static ESubtype SubtypeNameToValue(CTempString sName)

Turn a string into its ESubtype which is NOT necessarily related to the identifier of the enum.

static bool IsRegulatory(ESubtype subtype)

constexpr bool empty() const

iterator_bool insert(const value_type &val)

const_iterator find(const key_type &key) const

const_iterator end() const

USING_SCOPE(ncbi::objects)

static const struct type types[]

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

vector< const objects::CFeatListItem * > GetSortedFeatList(objects::CSeq_entry_Handle seh, size_t max=numeric_limits< size_t >::max())

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)

Case-insensitive equality of a substring with another string.

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

wxString ToWxString(const string &s)

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