NCBI C++ ToolKit
|
Search Toolkit Book for CAlignNeedlemanWunschPanel
#include "create_needleman_wunsch_panel.hpp"
(Private to src/gui/packages/pkg_alignment
.)
Public Types | |
enum | { ID_CALIGNNEEDLEMANWUNSCHPANEL = 10046 , ID_LISTCTRL2 = 10014 , ID_TEXTCTRL = 10000 , ID_TEXTCTRL1 = 10001 , ID_TEXTCTRL2 = 10002 , ID_TEXTCTRL3 = 10004 , ID_TEXTCTRL10 = 10048 , ID_CHOICE = 10049 , ID_CHOICE1 = 10003 } |
Public Member Functions | |
CAlignNeedlemanWunschPanel () | |
CAlignNeedlemanWunschPanel (wxWindow *parent, wxWindowID id=ID_CALIGNNEEDLEMANWUNSCHPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) | |
bool | Create (wxWindow *parent, wxWindowID id=ID_CALIGNNEEDLEMANWUNSCHPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) |
~CAlignNeedlemanWunschPanel () | |
void | Init () |
void | CreateControls () |
virtual void | SetRegistryPath (const string &path) |
CAlgoToolManagerParamsPanel. More... | |
virtual void | LoadSettings () |
virtual void | SaveSettings () const |
override in derived classes More... | |
virtual bool | TransferDataFromWindow () |
CNeedlemanWunschToolParams & | GetData () |
const CNeedlemanWunschToolParams & | GetData () const |
void | SetData (const CNeedlemanWunschToolParams &data) |
wxBitmap | GetBitmapResource (const wxString &name) |
wxIcon | GetIconResource (const wxString &name) |
void | SetObjects (TConstScopedObjects *objects) |
CAlgoToolManagerParamsPanel implementation | |
void | RestoreDefaults () |
override in derived classes More... | |
IRegSettings interface implementation | |
Public Member Functions inherited from IRegSettings | |
virtual | ~IRegSettings () |
Static Public Member Functions | |
static bool | ShowToolTips () |
Public Attributes | |
CObjectListWidget * | m_ObjectList |
CNeedlemanWunschToolParams | m_data |
Private Attributes | |
string | m_RegPath |
Additional Inherited Members | |
Protected Attributes inherited from CAlgoToolManagerParamsPanel | |
string | m_RegPath |
registry path to the settings More... | |
CAlignNeedlemanWunschPanel class declaration
Definition at line 72 of file create_needleman_wunsch_panel.hpp.
anonymous enum |
Enumerator | |
---|---|
ID_CALIGNNEEDLEMANWUNSCHPANEL | |
ID_LISTCTRL2 | |
ID_TEXTCTRL | |
ID_TEXTCTRL1 | |
ID_TEXTCTRL2 | |
ID_TEXTCTRL3 | |
ID_TEXTCTRL10 | |
ID_CHOICE | |
ID_CHOICE1 |
Definition at line 121 of file create_needleman_wunsch_panel.hpp.
CAlignNeedlemanWunschPanel::CAlignNeedlemanWunschPanel | ( | ) |
Definition at line 62 of file create_needleman_wunsch_panel.cpp.
References Init().
CAlignNeedlemanWunschPanel::CAlignNeedlemanWunschPanel | ( | wxWindow * | parent, |
wxWindowID | id = ID_CALIGNNEEDLEMANWUNSCHPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Definition at line 67 of file create_needleman_wunsch_panel.cpp.
References Create(), Init(), and ncbi::grid::netcache::search::fields::size.
CAlignNeedlemanWunschPanel::~CAlignNeedlemanWunschPanel | ( | ) |
Definition at line 88 of file create_needleman_wunsch_panel.cpp.
bool CAlignNeedlemanWunschPanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = ID_CALIGNNEEDLEMANWUNSCHPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Definition at line 73 of file create_needleman_wunsch_panel.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CAlignNeedlemanWunschPanel(), and CCreateNeedlemanWunschToolManager::x_CreateParamsPanelIfNeeded().
void CAlignNeedlemanWunschPanel::CreateControls | ( | ) |
Definition at line 101 of file create_needleman_wunsch_panel.cpp.
References _, GetData(), ID_CHOICE, ID_CHOICE1, ID_LISTCTRL2, ID_TEXTCTRL, ID_TEXTCTRL1, ID_TEXTCTRL10, ID_TEXTCTRL2, ID_TEXTCTRL3, and m_ObjectList.
Referenced by Create().
wxBitmap CAlignNeedlemanWunschPanel::GetBitmapResource | ( | const wxString & | name | ) |
Definition at line 200 of file create_needleman_wunsch_panel.cpp.
|
inline |
Definition at line 105 of file create_needleman_wunsch_panel.hpp.
References m_data.
Referenced by CreateControls(), RestoreDefaults(), TransferDataFromWindow(), and CCreateNeedlemanWunschToolManager::x_CreateLoadingJob().
|
inline |
Definition at line 106 of file create_needleman_wunsch_panel.hpp.
References m_data.
wxIcon CAlignNeedlemanWunschPanel::GetIconResource | ( | const wxString & | name | ) |
Definition at line 208 of file create_needleman_wunsch_panel.cpp.
void CAlignNeedlemanWunschPanel::Init | ( | void | ) |
Definition at line 94 of file create_needleman_wunsch_panel.cpp.
References m_ObjectList, and NULL.
Referenced by CAlignNeedlemanWunschPanel().
|
virtual |
Implements CAlgoToolManagerParamsPanel.
Definition at line 236 of file create_needleman_wunsch_panel.cpp.
References CGuiRegistry::GetInstance(), CGuiRegistry::GetReadView(), kLocationSel, CwxTableListCtrl::LoadTableSettings(), m_ObjectList, m_RegPath, and CGuiRegistryUtil::MakeKey().
Referenced by CCreateNeedlemanWunschToolManager::x_CreateParamsPanelIfNeeded().
|
virtual |
override in derived classes
Restores the default options for the panel
Implements CAlgoToolManagerParamsPanel.
Definition at line 271 of file create_needleman_wunsch_panel.cpp.
References GetData(), and CNeedlemanWunschToolParams::Init().
|
virtual |
override in derived classes
Implements CAlgoToolManagerParamsPanel.
Definition at line 225 of file create_needleman_wunsch_panel.cpp.
References CGuiRegistry::GetInstance(), CGuiRegistry::GetWriteView(), kLocationSel, m_ObjectList, m_RegPath, CGuiRegistryUtil::MakeKey(), and CwxTableListCtrl::SaveTableSettings().
|
inline |
Definition at line 107 of file create_needleman_wunsch_panel.hpp.
Referenced by CCreateNeedlemanWunschToolManager::x_CreateParamsPanelIfNeeded().
void CAlignNeedlemanWunschPanel::SetObjects | ( | TConstScopedObjects * | objects | ) |
Definition at line 186 of file create_needleman_wunsch_panel.cpp.
References m_ObjectList, and CObjectListWidget::SetObjects().
Referenced by CCreateNeedlemanWunschToolManager::x_CreateParamsPanelIfNeeded().
Reimplemented from CAlgoToolManagerParamsPanel.
Definition at line 220 of file create_needleman_wunsch_panel.cpp.
References m_RegPath.
Referenced by CCreateNeedlemanWunschToolManager::x_CreateParamsPanelIfNeeded().
|
static |
Definition at line 196 of file create_needleman_wunsch_panel.cpp.
|
virtual |
Definition at line 250 of file create_needleman_wunsch_panel.cpp.
References GetData(), CObjectListWidget::GetSelection(), m_ObjectList, CNeedlemanWunschToolParams::SetObjects(), and wxT.
CNeedlemanWunschToolParams CAlignNeedlemanWunschPanel::m_data |
Definition at line 120 of file create_needleman_wunsch_panel.hpp.
CObjectListWidget* CAlignNeedlemanWunschPanel::m_ObjectList |
Definition at line 119 of file create_needleman_wunsch_panel.hpp.
Referenced by CreateControls(), Init(), LoadSettings(), SaveSettings(), SetObjects(), and TransferDataFromWindow().
|
private |
Definition at line 135 of file create_needleman_wunsch_panel.hpp.
Referenced by LoadSettings(), SaveSettings(), and SetRegistryPath().