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

Search Toolkit Book for CAdvancedCleanupParamsPanel

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

+ Inheritance diagram for CAdvancedCleanupParamsPanel:
+ Collaboration diagram for CAdvancedCleanupParamsPanel:

Public Types

enum  {
  ID_CADVANCEDCLEANUPPARAMSPANEL = 10000 , ID_LISTCTRL2 = 10014 , ID_CHOICE = 10001 , ID_CHOICE1 = 10002 ,
  ID_CHECKBOX = 10003
}
 

Public Member Functions

 CAdvancedCleanupParamsPanel ()
 
 CAdvancedCleanupParamsPanel (wxWindow *parent, wxWindowID id=ID_CADVANCEDCLEANUPPARAMSPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CADVANCEDCLEANUPPARAMSPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
 ~CAdvancedCleanupParamsPanel ()
 
void Init ()
 
void CreateControls ()
 
void SetObjects (TConstScopedObjects *objects)
 
virtual void SetRegistryPath (const string &path)
 CAlgoToolManagerParamsPanel. More...
 
virtual void LoadSettings ()
 
virtual void SaveSettings () const
 override in derived classes More...
 
virtual bool TransferDataToWindow ()
 
virtual bool TransferDataFromWindow ()
 
CAdvancedCleanupParamsGetData ()
 
const CAdvancedCleanupParamsGetData () const
 
void SetData (const CAdvancedCleanupParams &data)
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 
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

CObjectListWidgetm_ObjectList
 
CAdvancedCleanupParams m_data
 
string m_RegPath
 

Additional Inherited Members

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

Detailed Description

CAdvancedCleanupParamsPanel class declaration

Definition at line 77 of file advanced_cleanup_params_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_CADVANCEDCLEANUPPARAMSPANEL 
ID_LISTCTRL2 
ID_CHOICE 
ID_CHOICE1 
ID_CHECKBOX 

Definition at line 128 of file advanced_cleanup_params_panel.hpp.

Constructor & Destructor Documentation

◆ CAdvancedCleanupParamsPanel() [1/2]

CAdvancedCleanupParamsPanel::CAdvancedCleanupParamsPanel ( )

Definition at line 56 of file advanced_cleanup_params_panel.cpp.

References Init().

◆ CAdvancedCleanupParamsPanel() [2/2]

CAdvancedCleanupParamsPanel::CAdvancedCleanupParamsPanel ( wxWindow *  parent,
wxWindowID  id = ID_CADVANCEDCLEANUPPARAMSPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ ~CAdvancedCleanupParamsPanel()

CAdvancedCleanupParamsPanel::~CAdvancedCleanupParamsPanel ( )

Definition at line 83 of file advanced_cleanup_params_panel.cpp.

Member Function Documentation

◆ Create()

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

◆ CreateControls()

void CAdvancedCleanupParamsPanel::CreateControls ( )

Definition at line 96 of file advanced_cleanup_params_panel.cpp.

References _, GetData(), ID_CHECKBOX, ID_CHOICE, ID_CHOICE1, ID_LISTCTRL2, m_ObjectList, and wxID_ANY.

Referenced by Create().

◆ GetBitmapResource()

wxBitmap CAdvancedCleanupParamsPanel::GetBitmapResource ( const wxString &  name)

Definition at line 152 of file advanced_cleanup_params_panel.cpp.

◆ GetData() [1/2]

CAdvancedCleanupParams& CAdvancedCleanupParamsPanel::GetData ( void  )
inline

◆ GetData() [2/2]

const CAdvancedCleanupParams& CAdvancedCleanupParamsPanel::GetData ( void  ) const
inline

Definition at line 115 of file advanced_cleanup_params_panel.hpp.

References m_data.

◆ GetIconResource()

wxIcon CAdvancedCleanupParamsPanel::GetIconResource ( const wxString &  name)

Definition at line 160 of file advanced_cleanup_params_panel.cpp.

◆ Init()

void CAdvancedCleanupParamsPanel::Init ( void  )

Definition at line 89 of file advanced_cleanup_params_panel.cpp.

References m_ObjectList, and NULL.

Referenced by CAdvancedCleanupParamsPanel().

◆ LoadSettings()

void CAdvancedCleanupParamsPanel::LoadSettings ( )
virtual

◆ RestoreDefaults()

void CAdvancedCleanupParamsPanel::RestoreDefaults ( )
virtual

override in derived classes

Restores the default options for the panel

Implements CAlgoToolManagerParamsPanel.

Definition at line 199 of file advanced_cleanup_params_panel.cpp.

References GetData(), CAdvancedCleanupParams::Init(), and TransferDataToWindow().

◆ SaveSettings()

void CAdvancedCleanupParamsPanel::SaveSettings ( ) const
virtual

◆ SetData()

void CAdvancedCleanupParamsPanel::SetData ( const CAdvancedCleanupParams data)
inline

◆ SetObjects()

void CAdvancedCleanupParamsPanel::SetObjects ( TConstScopedObjects objects)

◆ SetRegistryPath()

void CAdvancedCleanupParamsPanel::SetRegistryPath ( const string reg_path)
virtual

◆ ShowToolTips()

bool CAdvancedCleanupParamsPanel::ShowToolTips ( )
static

Definition at line 148 of file advanced_cleanup_params_panel.cpp.

◆ TransferDataFromWindow()

bool CAdvancedCleanupParamsPanel::TransferDataFromWindow ( )
virtual

◆ TransferDataToWindow()

bool CAdvancedCleanupParamsPanel::TransferDataToWindow ( )
virtual

Definition at line 205 of file advanced_cleanup_params_panel.cpp.

Referenced by RestoreDefaults().

Member Data Documentation

◆ m_data

CAdvancedCleanupParams CAdvancedCleanupParamsPanel::m_data

Definition at line 127 of file advanced_cleanup_params_panel.hpp.

Referenced by GetData(), and SetData().

◆ m_ObjectList

CObjectListWidget* CAdvancedCleanupParamsPanel::m_ObjectList

◆ m_RegPath

string CAdvancedCleanupParamsPanel::m_RegPath

Definition at line 137 of file advanced_cleanup_params_panel.hpp.

Referenced by LoadSettings(), SaveSettings(), and SetRegistryPath().


The documentation for this class was generated from the following files:
Modified on Fri Jan 05 07:22:15 2024 by modify_doxy.py rev. 669887