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

Search Toolkit Book for CConversionResultPanel

#include <gui/core/open_view_manager_impl.hpp>

+ Inheritance diagram for CConversionResultPanel:
+ Collaboration diagram for CConversionResultPanel:

Public Types

enum  { ID_CCONVERSIONRESULTPANEL = 10034 , ID_ONEVIEWPEROBJECT = 10035 , ID_GROUPVIEW = 10036 }
 
- Public Types inherited from CParamsPanel
enum  { ID_CPARAMSPANEL = 10034 , ID_ONEVIEWPEROBJECT = 10035 }
 

Public Member Functions

 CConversionResultPanel ()
 
 CConversionResultPanel (wxWindow *parent, wxWindowID id=ID_CCONVERSIONRESULTPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxNO_BORDER|wxTAB_TRAVERSAL)
 
virtual bool Create (wxWindow *parent, wxWindowID id=ID_CCONVERSIONRESULTPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxNO_BORDER|wxTAB_TRAVERSAL)
 
void Init ()
 
virtual void CreateControls ()
 
void SetProjectViewFactory (IProjectViewFactory *factory)
 
void OnGroupViewClick (wxCommandEvent &event)
 
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 GetSelectedIndices (vector< int > &buf)
 
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
 
- Public Member Functions inherited from CParamsPanel
 CParamsPanel ()
 
void OnOneViewPerObjectClick (wxCommandEvent &event)
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 
virtual bool GetSelectedObjects (TConstScopedObjects &buf)
 
virtual bool IsCombineRequested () const
 

Private Attributes

IProjectViewFactorym_PVFactory
 
CObjectListWidgetSelm_ListPanel
 
CwxTableListCtrlm_GroupCtrl
 
wxCheckBox * m_GroupCheckBox
 
wxCheckBox * m_OneViewPerObjectCheckBox
 
vector< intm_Groups
 
vector< intm_GroupSize
 
vector< CSeq_id_Handlem_LocHandles
 
vector< set< CSeq_id_Handle > > m_AlnHandles
 

Additional Inherited Members

- Static Public Member Functions inherited from CParamsPanel
static bool ShowToolTips ()
 
- Protected Attributes inherited from CParamsPanel
bool m_OneViewPerObject
 
string m_RegPath
 
TObjectListMap m_ObjectMaps
 

Detailed Description

Definition at line 264 of file open_view_manager_impl.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_CCONVERSIONRESULTPANEL 
ID_ONEVIEWPEROBJECT 
ID_GROUPVIEW 

Definition at line 290 of file open_view_manager_impl.hpp.

Constructor & Destructor Documentation

◆ CConversionResultPanel() [1/2]

CConversionResultPanel::CConversionResultPanel ( )

Definition at line 234 of file open_view_manager_impl.cpp.

References Init().

◆ CConversionResultPanel() [2/2]

CConversionResultPanel::CConversionResultPanel ( wxWindow *  parent,
wxWindowID  id = ID_CCONVERSIONRESULTPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxNO_BORDER|wxTAB_TRAVERSAL 
)

Member Function Documentation

◆ Create()

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

◆ CreateControls()

void CConversionResultPanel::CreateControls ( )
virtual

◆ EnforceOneViewPerObject()

void CConversionResultPanel::EnforceOneViewPerObject ( )
virtual

Force OneViewPerObject true, and lock it.

Reimplemented from CParamsPanel.

Definition at line 626 of file open_view_manager_impl.cpp.

References CParamsPanel::EnforceOneViewPerObject(), and m_OneViewPerObjectCheckBox.

◆ GetSelectedIndices()

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

◆ GetSelection()

bool CConversionResultPanel::GetSelection ( TConstScopedObjects buf)
virtual

◆ Init()

void CConversionResultPanel::Init ( void  )

Definition at line 266 of file open_view_manager_impl.cpp.

References m_GroupCtrl, m_ListPanel, m_OneViewPerObjectCheckBox, and NULL.

Referenced by CConversionResultPanel().

◆ LoadSettings()

void CConversionResultPanel::LoadSettings ( )
virtual

◆ OnGroupViewClick()

void CConversionResultPanel::OnGroupViewClick ( wxCommandEvent &  event)

Definition at line 309 of file open_view_manager_impl.cpp.

References m_GroupCtrl, and m_ListPanel.

◆ SaveSettings()

void CConversionResultPanel::SaveSettings ( ) const
virtual

◆ SelectAll()

void CConversionResultPanel::SelectAll ( )
virtual

Reimplemented from CParamsPanel.

Definition at line 324 of file open_view_manager_impl.cpp.

References m_ListPanel, and CObjectListWidgetSel::SetDoSelectAll().

◆ SetObjects()

void CConversionResultPanel::SetObjects ( const TObjectListMap objs)
virtual

◆ SetProjectViewFactory()

void CConversionResultPanel::SetProjectViewFactory ( IProjectViewFactory factory)
inline

Definition at line 296 of file open_view_manager_impl.hpp.

References m_PVFactory.

Referenced by COpenViewManager::CreateParamsPanel().

◆ SetRegistryPath()

void CConversionResultPanel::SetRegistryPath ( const string path)
virtual

Member Data Documentation

◆ m_AlnHandles

vector< set<CSeq_id_Handle> > CConversionResultPanel::m_AlnHandles
private

Definition at line 331 of file open_view_manager_impl.hpp.

Referenced by GetSelectedIndices(), GetSelection(), and SetObjects().

◆ m_GroupCheckBox

wxCheckBox* CConversionResultPanel::m_GroupCheckBox
private

Definition at line 325 of file open_view_manager_impl.hpp.

Referenced by CreateControls(), GetSelectedIndices(), and GetSelection().

◆ m_GroupCtrl

CwxTableListCtrl* CConversionResultPanel::m_GroupCtrl
private

◆ m_Groups

vector<int> CConversionResultPanel::m_Groups
private

Definition at line 328 of file open_view_manager_impl.hpp.

Referenced by GetSelectedIndices(), GetSelection(), and SetObjects().

◆ m_GroupSize

vector<int> CConversionResultPanel::m_GroupSize
private

Definition at line 329 of file open_view_manager_impl.hpp.

Referenced by SetObjects().

◆ m_ListPanel

CObjectListWidgetSel* CConversionResultPanel::m_ListPanel
private

◆ m_LocHandles

vector<CSeq_id_Handle> CConversionResultPanel::m_LocHandles
private

Definition at line 330 of file open_view_manager_impl.hpp.

Referenced by GetSelectedIndices(), GetSelection(), and SetObjects().

◆ m_OneViewPerObjectCheckBox

wxCheckBox* CConversionResultPanel::m_OneViewPerObjectCheckBox
private

Definition at line 326 of file open_view_manager_impl.hpp.

Referenced by CreateControls(), EnforceOneViewPerObject(), and Init().

◆ m_PVFactory

IProjectViewFactory* CConversionResultPanel::m_PVFactory
private

Definition at line 322 of file open_view_manager_impl.hpp.

Referenced by Create(), and SetProjectViewFactory().


The documentation for this class was generated from the following files:
Modified on Tue May 28 05:51:40 2024 by modify_doxy.py rev. 669887