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

Search Toolkit Book for CProjectSelectorDlg

#include <gui/core/project_selector_dlg.hpp>

+ Inheritance diagram for CProjectSelectorDlg:
+ Collaboration diagram for CProjectSelectorDlg:

Public Types

enum  { ID_CPROJECTSELECTORDLG = 10011 , ID_COBJECTLISTWIDGET = 10000 , ID_PANEL1 = 10013 }
 

Public Member Functions

 CProjectSelectorDlg ()
 
 CProjectSelectorDlg (wxWindow *parent, wxWindowID id=ID_CPROJECTSELECTORDLG, const wxString &caption=_("Project Selector Dialog"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CPROJECTSELECTORDLG, const wxString &caption=_("Project Selector Dialog"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
 ~CProjectSelectorDlg ()
 
void Init ()
 
void CreateControls ()
 
bool TransferDataToWindow ()
 
bool TransferDataFromWindow ()
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 
void SetProjectService (CProjectService *prj_srv)
 
void SetObjects (TConstScopedObjects &objects)
 
void GetParams (SProjectSelectorParams &params) const
 
- Public Member Functions inherited from CDialog
 CDialog ()
 
virtual void InitDialog ()
 
virtual void EndModal (int retCode)
 
virtual void SetRegistryPath (const string &path)
 
virtual void LoadSettings ()
 
virtual void SaveSettings () const
 

Static Public Member Functions

static bool ShowToolTips ()
 

Public Attributes

wxBoxSizer * m_Sizer
 
CObjectListWidgetm_List
 
CProjectSelectorPanelm_ProjectSelPanel
 

Protected Member Functions

virtual void x_LoadSettings (const CRegistryReadView &view)
 override these functions in derived classes More...
 
virtual void x_SaveSettings (CRegistryWriteView view) const
 
- Protected Member Functions inherited from CDialog
void x_CorrectDisplay (wxRect &rc)
 move to the parent display More...
 

Protected Attributes

CProjectServicem_ProjectService
 
TConstScopedObjectsm_Objects
 
SProjectSelectorParams m_Params
 
- Protected Attributes inherited from CDialog
string m_RegPath
 

Detailed Description

Definition at line 66 of file project_selector_dlg.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_CPROJECTSELECTORDLG 
ID_COBJECTLISTWIDGET 
ID_PANEL1 

Definition at line 104 of file project_selector_dlg.hpp.

Constructor & Destructor Documentation

◆ CProjectSelectorDlg() [1/2]

CProjectSelectorDlg::CProjectSelectorDlg ( )

Definition at line 64 of file project_selector_dlg.cpp.

References Init().

◆ CProjectSelectorDlg() [2/2]

CProjectSelectorDlg::CProjectSelectorDlg ( wxWindow *  parent,
wxWindowID  id = ID_CPROJECTSELECTORDLG,
const wxString &  caption = _("Project Selector Dialog"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ ~CProjectSelectorDlg()

CProjectSelectorDlg::~CProjectSelectorDlg ( )

Definition at line 95 of file project_selector_dlg.cpp.

Member Function Documentation

◆ Create()

bool CProjectSelectorDlg::Create ( wxWindow *  parent,
wxWindowID  id = ID_CPROJECTSELECTORDLG,
const wxString &  caption = _("Project Selector Dialog"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ CreateControls()

void CProjectSelectorDlg::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CProjectSelectorDlg::GetBitmapResource ( const wxString &  name)

Definition at line 186 of file project_selector_dlg.cpp.

◆ GetIconResource()

wxIcon CProjectSelectorDlg::GetIconResource ( const wxString &  name)

Definition at line 196 of file project_selector_dlg.cpp.

◆ GetParams()

void CProjectSelectorDlg::GetParams ( SProjectSelectorParams params) const

◆ Init()

void CProjectSelectorDlg::Init ( void  )

Definition at line 102 of file project_selector_dlg.cpp.

References m_List, m_ProjectSelPanel, m_Sizer, and NULL.

Referenced by CProjectSelectorDlg().

◆ SetObjects()

void CProjectSelectorDlg::SetObjects ( TConstScopedObjects objects)

◆ SetProjectService()

void CProjectSelectorDlg::SetProjectService ( CProjectService prj_srv)

◆ ShowToolTips()

bool CProjectSelectorDlg::ShowToolTips ( )
static

Definition at line 180 of file project_selector_dlg.cpp.

◆ TransferDataFromWindow()

bool CProjectSelectorDlg::TransferDataFromWindow ( )

◆ TransferDataToWindow()

bool CProjectSelectorDlg::TransferDataToWindow ( )

◆ x_LoadSettings()

void CProjectSelectorDlg::x_LoadSettings ( const CRegistryReadView )
protectedvirtual

override these functions in derived classes

Reimplemented from CDialog.

Definition at line 239 of file project_selector_dlg.cpp.

References CRegistryReadView::GetReadView(), kTableTag, CwxTableListCtrl::LoadTableSettings(), and m_List.

◆ x_SaveSettings()

void CProjectSelectorDlg::x_SaveSettings ( CRegistryWriteView  view) const
protectedvirtual

Member Data Documentation

◆ m_List

CObjectListWidget* CProjectSelectorDlg::m_List

◆ m_Objects

TConstScopedObjects* CProjectSelectorDlg::m_Objects
protected

Definition at line 124 of file project_selector_dlg.hpp.

Referenced by SetObjects(), and TransferDataToWindow().

◆ m_Params

SProjectSelectorParams CProjectSelectorDlg::m_Params
protected

Definition at line 125 of file project_selector_dlg.hpp.

Referenced by CreateControls(), SetObjects(), and TransferDataToWindow().

◆ m_ProjectSelPanel

CProjectSelectorPanel* CProjectSelectorDlg::m_ProjectSelPanel

◆ m_ProjectService

CProjectService* CProjectSelectorDlg::m_ProjectService
protected

Definition at line 123 of file project_selector_dlg.hpp.

Referenced by SetProjectService(), and TransferDataToWindow().

◆ m_Sizer

wxBoxSizer* CProjectSelectorDlg::m_Sizer

Definition at line 101 of file project_selector_dlg.hpp.

Referenced by CreateControls(), and Init().


The documentation for this class was generated from the following files:
Modified on Tue May 21 10:59:39 2024 by modify_doxy.py rev. 669887