NCBI C++ ToolKit
|
Search Toolkit Book for CCrossAlnDemoDlg
#include "cross_aln_demo_dlg.hpp"
(Private to src/gui/widgets/aln_crossaln/demo
.)
Public Member Functions | |
CCrossAlnDemoDlg () | |
CCrossAlnDemoDlg (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) | |
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) |
~CCrossAlnDemoDlg () | |
void | Init () |
void | CreateControls () |
void | OnCloseWindow (wxCloseEvent &event) |
void | OnAccClick (wxCommandEvent &event) |
void | OnFileClick (wxCommandEvent &event) |
void | OnCloseClick (wxCommandEvent &event) |
CHitMatrixDSBuilder | GetBuilder () const |
void | SetBuilder (CHitMatrixDSBuilder value) |
wxBitmap | GetBitmapResource (const wxString &name) |
wxIcon | GetIconResource (const wxString &name) |
Static Public Member Functions | |
static bool | ShowToolTips () |
Public Attributes | |
CCrossAlnWidget * | m_CrossAlnWidget |
wxTextCtrl * | m_AccInput |
wxTextCtrl * | m_FileInput |
CHitMatrixDSBuilder | m_Builder |
Private Attributes | |
CRef< CObjectManager > | m_ObjMgr |
CRef< CScope > | m_Scope |
CIRef< ICrossAlnDataSource > | m_DataSource |
CCrossAlnDemoDlg class declaration
Definition at line 89 of file cross_aln_demo_dlg.hpp.
CCrossAlnDemoDlg::CCrossAlnDemoDlg | ( | ) |
Definition at line 82 of file cross_aln_demo_dlg.cpp.
References Init().
CCrossAlnDemoDlg::CCrossAlnDemoDlg | ( | 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 |
||
) |
Definition at line 87 of file cross_aln_demo_dlg.cpp.
References Create(), Init(), and ncbi::grid::netcache::search::fields::size.
CCrossAlnDemoDlg::~CCrossAlnDemoDlg | ( | ) |
Definition at line 113 of file cross_aln_demo_dlg.cpp.
bool CCrossAlnDemoDlg::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 |
||
) |
Definition at line 97 of file cross_aln_demo_dlg.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CCrossAlnDemoDlg().
void CCrossAlnDemoDlg::CreateControls | ( | ) |
Definition at line 150 of file cross_aln_demo_dlg.cpp.
References _, CGlWidgetBase::Create(), DEF_ACC, DEF_FILE, ID_ACC, ID_ACC_TEXT, ID_FILE, ID_FILE_TEXT, ID_WIDGET, m_AccInput, m_CrossAlnWidget, m_FileInput, ShowToolTips(), and ToWxString().
Referenced by Create().
wxBitmap CCrossAlnDemoDlg::GetBitmapResource | ( | const wxString & | name | ) |
Definition at line 323 of file cross_aln_demo_dlg.cpp.
|
inline |
Definition at line 120 of file cross_aln_demo_dlg.hpp.
References m_Builder.
wxIcon CCrossAlnDemoDlg::GetIconResource | ( | const wxString & | name | ) |
Definition at line 335 of file cross_aln_demo_dlg.cpp.
void CCrossAlnDemoDlg::Init | ( | void | ) |
Definition at line 123 of file cross_aln_demo_dlg.cpp.
References CScope::AddDefaults(), GetDefaultFileArtProvider(), CUICommandRegistry::GetInstance(), CObjectManager::GetInstance(), m_AccInput, m_CrossAlnWidget, m_FileInput, m_ObjMgr, m_Scope, NULL, CCrossAlnWidget::RegisterCommands(), CGBDataLoader::RegisterInObjectManager(), CRef< C, Locker >::Reset(), and WidgetsWx_RegisterCommands().
Referenced by CCrossAlnDemoDlg().
void CCrossAlnDemoDlg::OnAccClick | ( | wxCommandEvent & | event | ) |
Definition at line 214 of file cross_aln_demo_dlg.cpp.
References _, CHitMatrixDSBuilder::CreateDataSource(), CScope::GetBioseqHandle(), CHitMatrixDSBuilder::Init(), m_AccInput, m_Builder, m_CrossAlnWidget, m_DataSource, m_Scope, msg(), NULL, CCrossAlnWidget::SetDataSource(), ToStdString(), and ToWxString().
void CCrossAlnDemoDlg::OnCloseClick | ( | wxCommandEvent & | event | ) |
Definition at line 306 of file cross_aln_demo_dlg.cpp.
void CCrossAlnDemoDlg::OnCloseWindow | ( | wxCloseEvent & | event | ) |
Definition at line 205 of file cross_aln_demo_dlg.cpp.
void CCrossAlnDemoDlg::OnFileClick | ( | wxCommandEvent & | event | ) |
Definition at line 272 of file cross_aln_demo_dlg.cpp.
References _, CHitMatrixDSBuilder::CreateDataSource(), Error(), CException::GetMsg(), LOG_POST, m_Builder, m_CrossAlnWidget, m_DataSource, m_FileInput, m_Scope, NULL, ok, CException::ReportAll(), CCrossAlnWidget::SetDataSource(), and ToWxString().
|
inline |
Definition at line 121 of file cross_aln_demo_dlg.hpp.
References m_Builder, and rapidjson::value.
|
static |
Definition at line 315 of file cross_aln_demo_dlg.cpp.
Referenced by CreateControls().
wxTextCtrl* CCrossAlnDemoDlg::m_AccInput |
Definition at line 132 of file cross_aln_demo_dlg.hpp.
Referenced by CreateControls(), Init(), and OnAccClick().
CHitMatrixDSBuilder CCrossAlnDemoDlg::m_Builder |
Definition at line 134 of file cross_aln_demo_dlg.hpp.
Referenced by GetBuilder(), OnAccClick(), OnFileClick(), and SetBuilder().
CCrossAlnWidget* CCrossAlnDemoDlg::m_CrossAlnWidget |
Definition at line 131 of file cross_aln_demo_dlg.hpp.
Referenced by CreateControls(), Init(), OnAccClick(), and OnFileClick().
|
private |
Definition at line 138 of file cross_aln_demo_dlg.hpp.
Referenced by OnAccClick(), and OnFileClick().
wxTextCtrl* CCrossAlnDemoDlg::m_FileInput |
Definition at line 133 of file cross_aln_demo_dlg.hpp.
Referenced by CreateControls(), Init(), and OnFileClick().
|
private |
Definition at line 136 of file cross_aln_demo_dlg.hpp.
Referenced by Init().
Definition at line 137 of file cross_aln_demo_dlg.hpp.
Referenced by Init(), OnAccClick(), and OnFileClick().