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

Search Toolkit Book for CParamsPanel

#include <gui/core/open_view_manager_impl.hpp>

+ Inheritance diagram for CParamsPanel:
+ Collaboration diagram for CParamsPanel:

Public Types

enum  { ID_CPARAMSPANEL = 10034 , ID_ONEVIEWPEROBJECT = 10035 }
 

Public Member Functions

 CParamsPanel ()
 
virtual bool Create (wxWindow *parent, wxWindowID id=ID_CPARAMSPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxNO_BORDER|wxTAB_TRAVERSAL)
 
void OnOneViewPerObjectClick (wxCommandEvent &event)
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 
virtual void SetObjects (const TObjectListMap &objs)
 add your methods here More...
 
virtual void SelectAll ()
 
virtual bool GetSelection (TConstScopedObjects &buf)
 Return the selected item. More...
 
virtual bool GetSelectedObjects (TConstScopedObjects &buf)
 
virtual bool GetSelectedIndices (vector< int > &buf)
 
virtual bool IsCombineRequested () const
 
virtual void EnforceOneViewPerObject ()
 Force OneViewPerObject true, and lock it. More...
 
IRegSettings implementation
virtual void SetRegistryPath (const string &path)
 
virtual void LoadSettings ()
 
virtual void SaveSettings () const
 

Static Public Member Functions

static bool ShowToolTips ()
 

Protected Attributes

bool m_OneViewPerObject
 
string m_RegPath
 
TObjectListMap m_ObjectMaps
 

Detailed Description

Definition at line 176 of file open_view_manager_impl.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_CPARAMSPANEL 
ID_ONEVIEWPEROBJECT 

Definition at line 206 of file open_view_manager_impl.hpp.

Constructor & Destructor Documentation

◆ CParamsPanel()

CParamsPanel::CParamsPanel ( )

Definition at line 105 of file open_view_manager_impl.cpp.

Member Function Documentation

◆ Create()

bool CParamsPanel::Create ( wxWindow *  parent,
wxWindowID  id = ID_CPARAMSPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxNO_BORDER|wxTAB_TRAVERSAL 
)
virtual

◆ EnforceOneViewPerObject()

void CParamsPanel::EnforceOneViewPerObject ( )
virtual

Force OneViewPerObject true, and lock it.

Reimplemented in CMAPanel, and CConversionResultPanel.

Definition at line 157 of file open_view_manager_impl.cpp.

References m_OneViewPerObject.

Referenced by COpenViewManager::DoTransition(), and CConversionResultPanel::EnforceOneViewPerObject().

◆ GetBitmapResource()

wxBitmap CParamsPanel::GetBitmapResource ( const wxString &  name)

Definition at line 121 of file open_view_manager_impl.cpp.

◆ GetIconResource()

wxIcon CParamsPanel::GetIconResource ( const wxString &  name)

Definition at line 131 of file open_view_manager_impl.cpp.

◆ GetSelectedIndices()

virtual bool CParamsPanel::GetSelectedIndices ( vector< int > &  buf)
inlinevirtual

Reimplemented in CConversionResultPanel.

Definition at line 228 of file open_view_manager_impl.hpp.

References buf.

Referenced by COpenViewManager::DoTransition().

◆ GetSelectedObjects()

virtual bool CParamsPanel::GetSelectedObjects ( TConstScopedObjects buf)
inlinevirtual

Definition at line 223 of file open_view_manager_impl.hpp.

References buf, and GetSelection().

Referenced by COpenViewManager::DoTransition().

◆ GetSelection()

virtual bool CParamsPanel::GetSelection ( TConstScopedObjects buf)
inlinevirtual

Return the selected item.

Reimplemented in CMAPanel, and CConversionResultPanel.

Definition at line 217 of file open_view_manager_impl.hpp.

References buf.

Referenced by GetSelectedObjects().

◆ IsCombineRequested()

bool CParamsPanel::IsCombineRequested ( ) const
virtual

Definition at line 151 of file open_view_manager_impl.cpp.

References m_OneViewPerObject.

Referenced by COpenViewManager::DoTransition().

◆ LoadSettings()

void CParamsPanel::LoadSettings ( )
virtual

◆ OnOneViewPerObjectClick()

void CParamsPanel::OnOneViewPerObjectClick ( wxCommandEvent &  event)

Definition at line 141 of file open_view_manager_impl.cpp.

◆ SaveSettings()

void CParamsPanel::SaveSettings ( ) const
virtual

◆ SelectAll()

virtual void CParamsPanel::SelectAll ( )
inlinevirtual

Reimplemented in CConversionResultPanel.

Definition at line 214 of file open_view_manager_impl.hpp.

Referenced by COpenViewManager::DoTransition().

◆ SetObjects()

void CParamsPanel::SetObjects ( const TObjectListMap objs)
virtual

add your methods here

Reimplemented in CConversionResultPanel.

Definition at line 146 of file open_view_manager_impl.cpp.

References m_ObjectMaps.

Referenced by COpenViewManager::DoTransition(), and CConversionResultPanel::SetObjects().

◆ SetRegistryPath()

void CParamsPanel::SetRegistryPath ( const string path)
virtual

◆ ShowToolTips()

bool CParamsPanel::ShowToolTips ( )
static

Definition at line 115 of file open_view_manager_impl.cpp.

Member Data Documentation

◆ m_ObjectMaps

TObjectListMap CParamsPanel::m_ObjectMaps
protected

◆ m_OneViewPerObject

bool CParamsPanel::m_OneViewPerObject
protected

◆ m_RegPath

string CParamsPanel::m_RegPath
protected

The documentation for this class was generated from the following files:
Modified on Mon May 27 04:37:17 2024 by modify_doxy.py rev. 669887