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

NCBI C++ ToolKit: src/gui/widgets/seq_graphic/demo/seqgraphic_demo_dlg.cpp Source File

38 #include <wx/msgdlg.h> 39 #include <wx/statline.h> 41 #include <wx/textctrl.h> 42 #include <wx/button.h> 43 #include <wx/bitmap.h> 81  Create

(parent,

id

, caption, pos,

size

, style);

88 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

89

wxDialog::Create( parent,

id

, caption, pos,

size

, style );

134

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

135

itemDialog1->SetSizer(itemBoxSizer2);

138

itemBoxSizer2->Add(

m_SeqWidget

, 1, wxGROW|wxALL, 5);

140

wxBoxSizer* itemBoxSizer4 =

new

wxBoxSizer(wxHORIZONTAL);

141

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

143

wxFlexGridSizer* itemFlexGridSizer5 =

new

wxFlexGridSizer(0, 2, 0, 0);

144

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

148  m_AccInput

->SetHelpText(

_

(

"Enter Accession"

));

151

itemFlexGridSizer5->Add(

m_AccInput

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

153

wxButton* itemButton7 =

new

wxButton( itemDialog1,

ID_ACC

,

_

(

"Load Accession"

), wxDefaultPosition, wxDefaultSize, 0 );

154

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

156  m_FileInput

=

new

wxTextCtrl( itemDialog1,

ID_FILE_TEXT

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

158  m_FileInput

->SetHelpText(

_

(

"Enter asn file name"

));

161

itemFlexGridSizer5->Add(

m_FileInput

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

163

wxButton* itemButton9 =

new

wxButton( itemDialog1,

ID_FILE

,

_

(

"Load File"

), wxDefaultPosition, wxDefaultSize, 0 );

164

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

166

itemFlexGridSizer5->AddGrowableCol(0);

168

wxStaticLine* itemStaticLine10 =

new

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

169

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

173

itemBoxSizer4->Add(

m_FlipStrand

, 0, wxALIGN_TOP|wxALL, 5);

175

wxButton* itemButton12 =

new

wxButton( itemDialog1, wxID_CLOSE,

_

(

"&Close"

), wxDefaultPosition, wxDefaultSize, 0 );

177

itemButton12->SetToolTip(

_

(

"Close"

));

178

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

201  string msg

(

"Accession '"

);

202  msg

+= acc +

" not recognized as a valid accession"

;

204

wxOK | wxICON_ERROR);

223  "CViewGraphical::InitView() - finish with loading configuration!"

);

225

wxMessageBox(

_

(

"Something is wrong with configuration!"

),

226  _

(

"Failed to load configuration for Graphical view"

),

227

wxOK | wxICON_EXCLAMATION);

238  string msg

(

"Can't find sequence for accession '"

);

241

wxOK | wxICON_ERROR);

EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX, CAdjustFeaturesForGaps::OnKnownUnknownSelected) EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX1

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

static CGuiRegistry & GetInstance()

access the application-wide singleton

void SetLocal(CNcbiIstream &istr)

establish our "local" repository.

CRef< objects::CSeq_id > m_SeqId

void OnCloseClick(wxCommandEvent &event)

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

void OnAccClick(wxCommandEvent &event)

wxIcon GetIconResource(const wxString &name)

static bool ShowToolTips()

wxBitmap GetBitmapResource(const wxString &name)

void OnFileClick(wxCommandEvent &event)

CRef< CObjectManager > m_ObjMgr

void OnFlipStrand(wxCommandEvent &event)

void OnCloseWindow(wxCloseEvent &event)

CSeqGraphicWidget * m_SeqWidget

wxCheckBox * m_FlipStrand

static wxString ResolvePath(const wxString &path, const wxString &rel_name)

Utility function to hide the platform specifics of locating our standard directories and files.

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

static CUICommandRegistry & GetInstance()

the main instance associated with the application

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

#define LOG_POST(message)

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

void Info(CExceptionArgs_Base &args)

static CRef< CObjectManager > GetInstance(void)

Return the existing object manager or create one.

void AddDefaults(TPriority pri=kPriority_Default)

Add default data loaders from object manager.

TObjectType * GetPointer(void) THROWS_NONE

Get pointer,.

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