NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CClustalwToolPanel Class Reference

Search Toolkit Book for CClustalwToolPanel

#include "clustalw_tool_panel.hpp"
(Private to src/gui/packages/pkg_alignment.)

+ Inheritance diagram for CClustalwToolPanel:
+ Collaboration diagram for CClustalwToolPanel:

Public Types

enum  {
  ID_CCLUSTALWPANEL = 10050 , ID_PANEL = 10051 , ID_CHECKBOX12 = 10053 , ID_TEXTCTRL11 = 10052 ,
  ID_TEXTCTRL12 = 10055 , ID_BITMAPBUTTON1 = 10056
}
 

Public Member Functions

 CClustalwToolPanel ()
 
 CClustalwToolPanel (wxWindow *parent, wxWindowID id=ID_CCLUSTALWPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL, bool visible=true)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CCLUSTALWPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL, bool visible=true)
 
 ~CClustalwToolPanel ()
 
void Init ()
 
void CreateControls ()
 
virtual bool TransferDataFromWindow ()
 
void OnClustalWPathClick (wxCommandEvent &event)
 
CClustalwToolParamsGetData ()
 
const CClustalwToolParamsGetData () const
 
void SetData (const CClustalwToolParams &data)
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 
void SetObjects (map< string, TConstScopedObjects > *objects)
 
CAlgoToolManagerParamsPanel implementation
void RestoreDefaults ()
 override in derived classes More...
 
IRegSettings interface implementation
virtual void SetRegistryPath (const string &path)
 CAlgoToolManagerParamsPanel. More...
 
virtual void LoadSettings ()
 
virtual void SaveSettings () const
 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

CObjectListWidgetSelm_LocationSel
 
CClustalwToolParams m_data
 

Additional Inherited Members

- Protected Attributes inherited from CAlgoToolManagerParamsPanel
string m_RegPath
 registry path to the settings More...
 

Detailed Description

CClustalwToolPanel class declaration

Definition at line 73 of file clustalw_tool_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_CCLUSTALWPANEL 
ID_PANEL 
ID_CHECKBOX12 
ID_TEXTCTRL11 
ID_TEXTCTRL12 
ID_BITMAPBUTTON1 

Definition at line 126 of file clustalw_tool_panel.hpp.

Constructor & Destructor Documentation

◆ CClustalwToolPanel() [1/2]

CClustalwToolPanel::CClustalwToolPanel ( )

Definition at line 68 of file clustalw_tool_panel.cpp.

References Init().

◆ CClustalwToolPanel() [2/2]

CClustalwToolPanel::CClustalwToolPanel ( wxWindow *  parent,
wxWindowID  id = ID_CCLUSTALWPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL,
bool  visible = true 
)

◆ ~CClustalwToolPanel()

CClustalwToolPanel::~CClustalwToolPanel ( )

Definition at line 98 of file clustalw_tool_panel.cpp.

Member Function Documentation

◆ Create()

bool CClustalwToolPanel::Create ( wxWindow *  parent,
wxWindowID  id = ID_CCLUSTALWPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL,
bool  visible = true 
)

◆ CreateControls()

void CClustalwToolPanel::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CClustalwToolPanel::GetBitmapResource ( const wxString &  name)

Definition at line 174 of file clustalw_tool_panel.cpp.

Referenced by CreateControls().

◆ GetData() [1/2]

CClustalwToolParams& CClustalwToolPanel::GetData ( void  )
inline

◆ GetData() [2/2]

const CClustalwToolParams& CClustalwToolPanel::GetData ( void  ) const
inline

Definition at line 111 of file clustalw_tool_panel.hpp.

References m_data.

◆ GetIconResource()

wxIcon CClustalwToolPanel::GetIconResource ( const wxString &  name)

Definition at line 178 of file clustalw_tool_panel.cpp.

◆ Init()

void CClustalwToolPanel::Init ( void  )

Definition at line 104 of file clustalw_tool_panel.cpp.

References m_LocationSel, and NULL.

Referenced by CClustalwToolPanel().

◆ LoadSettings()

void CClustalwToolPanel::LoadSettings ( )
virtual

◆ OnClustalWPathClick()

void CClustalwToolPanel::OnClustalWPathClick ( wxCommandEvent &  event)

Definition at line 215 of file clustalw_tool_panel.cpp.

References _ASSERT, ID_TEXTCTRL12, and wxT.

◆ RestoreDefaults()

void CClustalwToolPanel::RestoreDefaults ( )
virtual

override in derived classes

Restores the default options for the panel

Implements CAlgoToolManagerParamsPanel.

Definition at line 234 of file clustalw_tool_panel.cpp.

References GetData(), and CClustalwToolParams::Init().

◆ SaveSettings()

void CClustalwToolPanel::SaveSettings ( ) const
virtual

override in derived classes

Implements CAlgoToolManagerParamsPanel.

Definition at line 205 of file clustalw_tool_panel.cpp.

References m_LocationSel, and CObjectListWidgetSel::SaveSettings().

◆ SetData()

void CClustalwToolPanel::SetData ( const CClustalwToolParams data)
inline

Definition at line 112 of file clustalw_tool_panel.hpp.

References m_data.

Referenced by CClustalwTool::x_CreateParamsPanelIfNeeded().

◆ SetObjects()

void CClustalwToolPanel::SetObjects ( map< string, TConstScopedObjects > *  objects)

◆ SetRegistryPath()

void CClustalwToolPanel::SetRegistryPath ( const string reg_path)
virtual

◆ ShowToolTips()

bool CClustalwToolPanel::ShowToolTips ( )
static

Definition at line 170 of file clustalw_tool_panel.cpp.

Referenced by CreateControls().

◆ TransferDataFromWindow()

bool CClustalwToolPanel::TransferDataFromWindow ( )
virtual

Member Data Documentation

◆ m_data

CClustalwToolParams CClustalwToolPanel::m_data

Definition at line 125 of file clustalw_tool_panel.hpp.

Referenced by GetData(), and SetData().

◆ m_LocationSel

CObjectListWidgetSel* CClustalwToolPanel::m_LocationSel

The documentation for this class was generated from the following files:
Modified on Wed Feb 28 07:14:45 2024 by modify_doxy.py rev. 669887