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

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

49 #include <wx/button.h> 50 #include <wx/msgdlg.h> 97  Create

(parent,

id

, caption, pos,

size

, style);

108 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

109

wxDialog::Create( parent,

id

, caption, pos,

size

, style );

114

GetSizer()->SetSizeHints(

this

);

155

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

156

itemDialog1->SetSizer(itemBoxSizer2);

158  m_Text

=

new

wxTextCtrl( itemDialog1,

ID_TEXTCTRL13

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

159

itemBoxSizer2->Add(

m_Text

, 0, wxGROW|wxALL, 5);

161

wxBoxSizer* itemBoxSizer4 =

new

wxBoxSizer(wxHORIZONTAL);

162

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

164

wxButton* itemButton5 =

new

wxButton( itemDialog1,

ID_SEL_TARGET_ACCEPT

,

_

(

"Accept"

), wxDefaultPosition, wxDefaultSize, 0 );

165

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

167

wxButton* itemButton6 =

new

wxButton( itemDialog1,

ID_SEL_TARGET_CLEAR

,

_

(

"Clear"

), wxDefaultPosition, wxDefaultSize, 0 );

168

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

170

wxButton* itemButton7 =

new

wxButton( itemDialog1,

ID_SEL_TARGET_CANCEL

,

_

(

"Cancel"

), wxDefaultPosition, wxDefaultSize, 0 );

171

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

226  if

(!sel_srv)

return

;

227

sel_srv->GetActiveObjects(

objects

);

240  const

objects::CSeq_submit* seqsubmit =

dynamic_cast<const

objects::CSeq_submit*

>

(it->object.GetPointer());

241  const

objects::CSeq_entry* seqEntry =

dynamic_cast<const

objects::CSeq_entry*

>

(it->object.GetPointer());

242  const

objects::CBioseq_set* bioseqset =

dynamic_cast<const

objects::CBioseq_set*

>

(it->object.GetPointer());

245

main_object = (*it).object;

247

}

else if

(seqEntry) {

249

main_object = (*it).object;

250

}

else if

(bioseqset) {

252

main_object = (*it).object;

256  if

(!seh || !main_object)

return

;

262

wxMessageBox(

_

(

"Target not found"

),

wxT

(

"Info"

), wxOK | wxICON_INFORMATION);

271  if

(!FlatFileCtrl)

return

;

274

sel_srv->OnSelectionChanged(textView);

285

edit::CSeqIdGuesser guesser(seh);

294  for

(

CBioseq_CI

b_iter(seh); b_iter; ++b_iter)

330  m_Text

->SetValue(wxEmptyString);

User-defined methods of the data storage class.

CProjectService - a service providing API for operations with Workspaces and Projects.

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

static bool ShowToolTips()

Should we show tooltips?

void CreateControls()

Creates the controls and sizers.

CBioseq_Handle FindBioseq(CSeq_entry_Handle seh, const string &acc_text)

void Init()

Initialises member variables.

void OnSelTargetAcceptClick(wxCommandEvent &event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_SEL_TARGET_ACCEPT

~CSelectTargetDlg()

Destructor.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

void OnSelTargetCancelClick(wxCommandEvent &event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_SEL_TARGET_CANCEL

CSelectTargetDlg()

Constructors.

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

Creation.

void OnSelTargetClearClick(wxCommandEvent &event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_SEL_TARGET_CLEAR

IWorkbench is the central interface in the application framework.

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#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

void GetLabel(string *label, ELabelType type=eDefault, TLabelFlags flags=fLabel_Default) const

Append a label for this Seq-id to the supplied string.

@ eContent

Untagged human-readable accession or the like.

CBioseq_Handle GetBioseqHandle(const CSeq_id &id)

Get bioseq handle by seq-id.

vector< CSeq_id_Handle > TId

TBioseqCore GetBioseqCore(void) const

Get bioseq core structure.

CScope & GetScope(void) const

Get scope this handle belongs to.

TObjectType * GetPointer(void) const THROWS_NONE

Get pointer,.

TObjectType * GetPointer(void) THROWS_NONE

Get pointer,.

#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 void TruncateSpacesInPlace(string &str, ETrunc where=eTrunc_Both)

Truncate whitespace in a string (in-place)

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.

static const char label[]

void GetViewObjects(IWorkbench *workbench, TConstScopedObjects &objects)

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

#define ID_SEL_TARGET_ACCEPT

#define ID_SEL_TARGET_CANCEL

#define ID_SEL_TARGET_CLEAR

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