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

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

36 #include <wx/stattext.h> 37 #include <wx/textctrl.h> 38 #include <wx/button.h> 76  Create

(parent,

id

, caption, pos,

size

, style);

87 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

88

wxDialog::Create( parent,

id

, caption, pos,

size

, style );

93

GetSizer()->SetSizeHints(

this

);

133

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

134

itemDialog1->SetSizer(itemBoxSizer2);

136

wxBoxSizer* itemBoxSizer3 =

new

wxBoxSizer(wxHORIZONTAL);

137

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

139

wxStaticText* itemStaticText4 =

new

wxStaticText( itemDialog1, wxID_STATIC,

_

(

"Accession/GI:"

), wxDefaultPosition, wxDefaultSize, 0 );

140

itemBoxSizer3->Add(itemStaticText4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

142  m_Text

=

new

wxTextCtrl(itemDialog1,

ID_LDTEXT

, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER);

143

itemBoxSizer3->Add(

m_Text

, 0, wxALIGN_CENTER_VERTICAL | wxALL, 5);

145

wxBoxSizer* itemBoxSizer6 =

new

wxBoxSizer(wxHORIZONTAL);

146

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

148

wxButton* itemButton7 =

new

wxButton( itemDialog1, wxID_OK,

_

(

"Retrieve"

), wxDefaultPosition, wxDefaultSize, 0 );

149

itemButton7->Enable(

false

);

150

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

152

wxButton* itemButton8 =

new

wxButton( itemDialog1, wxID_CANCEL,

_

(

"Cancel"

), wxDefaultPosition, wxDefaultSize, 0 );

153

itemBoxSizer6->Add(itemButton8, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

165  bool

enable = (

m_Text

->IsEmpty()) ?

false

:

true

;

166  event

.Enable(enable);

void Init()

Initialises member variables.

void OnTextChange(wxUpdateUIEvent &event)

wxEVT_UPDATE_UI event handler for wxID_OK

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

Creation.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

~CLoadSeqFromEntrez_dlg()

Destructor.

static bool ShowToolTips()

Should we show tooltips?

void OnTextCtrlEnter(wxCommandEvent &event)

CLoadSeqFromEntrez_dlg()

Constructors.

void CreateControls()

Creates the controls and sizers.

#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

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