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

NCBI C++ ToolKit: src/gui/widgets/aln_crossaln/demo/cross_aln_demo_dlg.cpp Source File

49 #include <wx/msgdlg.h> 50 #include <wx/statline.h> 52 #include <wx/textctrl.h> 53 #include <wx/button.h> 54 #include <wx/bitmap.h> 90  Create

(parent,

id

, caption, pos,

size

, style);

100 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

101

wxDialog::Create( parent,

id

, caption, pos,

size

, style );

147 #define DEF_ACC "19568015" 148 #define DEF_FILE "/Users/lebedev/asn/simple-align1.asn" 155

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

156

itemDialog1->SetSizer(itemBoxSizer2);

161

wxBoxSizer* itemBoxSizer4 =

new

wxBoxSizer(wxHORIZONTAL);

162

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

164

wxFlexGridSizer* itemFlexGridSizer5 =

new

wxFlexGridSizer(0, 2, 0, 0);

165

itemBoxSizer4->Add(itemFlexGridSizer5, 1, wxALIGN_CENTER_VERTICAL|wxALL, 0);

167  m_AccInput

=

new

wxTextCtrl( itemDialog1,

ID_ACC_TEXT

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

169  m_AccInput

->SetHelpText(

_

(

"Enter Accession"

));

172

itemFlexGridSizer5->Add(

m_AccInput

, 1, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);

174

wxButton* itemButton7 =

new

wxButton( itemDialog1,

ID_ACC

,

_

(

"Load Accession"

), wxDefaultPosition, wxDefaultSize, 0 );

175

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

177  m_FileInput

=

new

wxTextCtrl( itemDialog1,

ID_FILE_TEXT

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

179  m_FileInput

->SetHelpText(

_

(

"Enter asn file name"

));

182

itemFlexGridSizer5->Add(

m_FileInput

, 1, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);

184

wxButton* itemButton9 =

new

wxButton( itemDialog1,

ID_FILE

,

_

(

"Load File"

), wxDefaultPosition, wxDefaultSize, 0 );

185

itemFlexGridSizer5->Add(itemButton9, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);

187

itemFlexGridSizer5->AddGrowableCol(0);

189

wxStaticLine* itemStaticLine10 =

new

wxStaticLine( itemDialog1, wxID_STATIC, wxDefaultPosition, wxDefaultSize, wxLI_VERTICAL );

190

itemBoxSizer4->Add(itemStaticLine10, 0, wxGROW|wxALL, 5);

192

wxButton* itemButton11 =

new

wxButton( itemDialog1, wxID_CLOSE,

_

(

"&Close"

), wxDefaultPosition, wxDefaultSize, 0 );

193

itemBoxSizer4->Add(itemButton11, 0, wxALIGN_BOTTOM|wxALL, 5);

223  string msg

(

"Accession '"

);

224  msg

+= acc +

" not recognized as a valid accession"

;

226

wxOK | wxICON_ERROR);

242  string msg

(

"Can't find sequence for accession '"

);

245

wxOK | wxICON_ERROR);

264

builder.

Init

(scope, *obj);

292

wxMessageBox(

_

(

"This type of file is not supported"

),

293  _

(

"Error loading file."

),

294

wxOK | wxICON_ERROR);

299

wxMessageBox(s,

_

(

"Error loading file."

), wxOK | wxICON_ERROR);

CHitMatrixDSBuilder m_Builder

CIRef< ICrossAlnDataSource > m_DataSource

bool Create(wxWindow *parent, wxWindowID id=10000, const wxString &caption=_("CCrossAlnDemoDlg"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(600, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX)

void OnAccClick(wxCommandEvent &event)

static bool ShowToolTips()

void OnFileClick(wxCommandEvent &event)

wxBitmap GetBitmapResource(const wxString &name)

CCrossAlnWidget * m_CrossAlnWidget

wxIcon GetIconResource(const wxString &name)

CRef< CObjectManager > m_ObjMgr

void OnCloseWindow(wxCloseEvent &event)

void OnCloseClick(wxCommandEvent &event)

static TRegisterLoaderInfo RegisterInObjectManager(CObjectManager &om, CReader *reader=0, CObjectManager::EIsDefault is_default=CObjectManager::eDefault, CObjectManager::TPriority priority=CObjectManager::kPriority_NotSet)

CIRef< IHitMatrixDataSource > CreateDataSource()

void Init(objects::CScope &scope, const objects::CSeq_align &align)

initial data set from which an alignment will be build

CUICommandRegistry is a centralized registry where all application commands should be registered.

static CUICommandRegistry & GetInstance()

the main instance associated with the application

vector< CConstRef< objects::CSeq_align > > TAlignVector

Include a standard set of the NCBI C++ Toolkit most basic headers.

IHitMatrixDataSource::TAlignVector TAlignVector

bool LoadObject(const wxString &filename, CScope &scope, CHitMatrixDSBuilder &builder)

loads a serializable object of type T

#define LOG_POST(message)

This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...

void Error(CExceptionArgs_Base &args)

const string & GetMsg(void) const

Get message string.

string ReportAll(TDiagPostFlags flags=eDPF_Exception) const

Report all exceptions.

@ eSerial_AsnText

ASN.1 text.

static CObjectIStream * Open(ESerialDataFormat format, CNcbiIstream &inStream, bool deleteInStream)

Create serial object reader and attach it to an input stream.

static CRef< CObjectManager > GetInstance(void)

Return the existing object manager or create one.

CBioseq_Handle GetBioseqHandle(const CSeq_id &id)

Get bioseq handle by seq-id.

void AddDefaults(TPriority pri=kPriority_Default)

Add default data loaders from object manager.

void Reset(void)

Reset reference object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

IO_PREFIX::ifstream CNcbiIfstream

Portable alias for ifstream.

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

Defines: CTimeFormat - storage class for time format.

static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)

wxFileArtProvider * GetDefaultFileArtProvider()

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