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

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

52 #include <wx/button.h> 96  Create

(parent,

id

, caption, pos,

size

, style);

107 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

108

wxDialog::Create( parent,

id

, caption, pos,

size

, style );

113

GetSizer()->SetSizeHints(

this

);

156

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

157

itemDialog1->SetSizer(itemBoxSizer2);

160

itemBoxSizer2->Add(

m_FeatureType

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

170

wxBoxSizer* itemBoxSizer4 =

new

wxBoxSizer(wxHORIZONTAL);

171

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

173

wxButton* itemButton5 =

new

wxButton( itemDialog1,

ID_SEL_FEAT_ACCEPT

,

_

(

"Accept"

), wxDefaultPosition, wxDefaultSize, 0 );

174

itemBoxSizer4->Add(itemButton5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

176

wxButton* itemButton7 =

new

wxButton( itemDialog1,

ID_SEL_FEAT_CANCEL

,

_

(

"Cancel"

), wxDefaultPosition, wxDefaultSize, 0 );

177

itemBoxSizer4->Add(itemButton7, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

234

sel_srv->GetActiveObjects(

objects

);

243  const

objects::CSeq_submit* seqsubmit =

dynamic_cast<const

objects::CSeq_submit*

>

(it->object.GetPointer());

244  const

objects::CSeq_entry* seqEntry =

dynamic_cast<const

objects::CSeq_entry*

>

(it->object.GetPointer());

247

main_object = (*it).object;

249

}

else if

(seqEntry) {

251

main_object = (*it).object;

264  string

field_name =

""

;

300

wxSizerItemList& slist = sizer->GetChildren();

302  for

(wxSizerItemList::iterator iter = slist.begin(); iter != slist.end(); ++iter, ++

n

) {

303  if

((*iter)->IsSizer()) {

305

}

else if

((*iter)->IsWindow()) {

306

wxWindow* child = (*iter)->GetWindow();

312

wxSizer* subsizer = child->GetSizer();

User-defined methods of the data storage class.

void PopulateFeatureListbox(void)

virtual string GetFieldName(const bool subfield=false)

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

virtual string GetFieldName(const bool subfield=false)

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

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

vector< CConstRef< CObject > > GetObjects(objects::CBioseq_Handle bsh)

void OnCancel(wxCommandEvent &event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_SEL_TARGET_CANCEL

void ProcessUpdateFeatEvent(wxCommandEvent &event)

CSeq_entry_Handle m_TopSeqEntry

void OnAccept(wxCommandEvent &event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_SEL_TARGET_ACCEPT

void CreateControls()

Creates the controls and sizers.

CFeatureTypePanel * m_FeatureType

void Init()

Initialises member variables.

void UpdateChildrenFeaturePanels(wxSizer *sizer)

CSelectFeatures()

Constructors.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

bool Create(wxWindow *parent, wxWindowID id=10409, const wxString &caption=_("Select Features"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)

Creation.

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

CStringConstraintPanel * m_StringConstraintPanel

static bool ShowToolTips()

Should we show tooltips?

CFeatureFieldNamePanel * m_FeatureConstraint

~CSelectFeatures()

Destructor.

CConstRef< CObject > GetMainObject()

CSelectionEvent CSelectionEvent is used for broadcasting selection between views.

bool AddObjectSelection(const CObject &obj)

virtual void Broadcast(CSelectionEvent &evt, ISelectionClient *source)

request broadcasting of the given event, Broadcast() notifies observers about changes in selection (d...

CRef< edit::CStringConstraint > GetStringConstraint()

IWorkbench is the central interface in the application framework.

const string kPartialStart

#define EVT_UPDATE_FEATURE_LIST(id, fn)

#define NON_CONST_ITERATE(Type, Var, Cont)

Non constant version of ITERATE macro.

CIRef< T > GetServiceByType()

retrieves a typed reference to a service, the name of C++ type is used as the name of the service.

objects::CSeq_entry_Handle GetTopSeqEntryFromScopedObject(SConstScopedObject &obj)

vector< SConstScopedObject > TConstScopedObjects

CScope & GetScope(void) const

Get scope this handle belongs to.

void Reset(void)

Reset handle and make it not to point to any seq-entry.

#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 bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)

Case-insensitive equality of a substring with another string.

void GetViewObjects(IWorkbench *workbench, TConstScopedObjects &objects)

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

#define ID_SEL_FEAT_CANCEL

#define ID_SEL_FEAT_ACCEPT


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