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

Search Toolkit Book for CSelectAssemblyDialog

#include <gui/widgets/loaders/select_assembly_dialog.hpp>

+ Inheritance diagram for CSelectAssemblyDialog:
+ Collaboration diagram for CSelectAssemblyDialog:

Public Member Functions

 CSelectAssemblyDialog ()
 
 CSelectAssemblyDialog (wxWindow *parent, wxWindowID id=10096, const wxString &caption=_("Select Assembly"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxWANTS_CHARS|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=10096, const wxString &caption=_("Select Assembly"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxWANTS_CHARS|wxTAB_TRAVERSAL)
 
 ~CSelectAssemblyDialog ()
 
void Init ()
 
void CreateControls ()
 
virtual bool TransferDataFromWindow ()
 
void OnInitDialog (wxInitDialogEvent &event)
 wxEVT_INIT_DIALOG event handler for ID_CSELECTASSEMBLYDIALOG More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
void SetAssmSearchTerm (const string &str)
 Set assembly query search term. More...
 
string GetAssmSearchTerm () const
 Get assembly query search term. More...
 
string GetSelectedAssembly (string &name, string &description) const
 Get selected assemblies, if any. More...
 
void SetRegistryPath (const string &path)
 
- Public Member Functions inherited from CDialog
 CDialog ()
 
virtual void InitDialog ()
 
virtual void EndModal (int retCode)
 
virtual void LoadSettings ()
 
virtual void SaveSettings () const
 

Static Public Member Functions

static bool ShowToolTips ()
 

Public Attributes

CAssemblyListPanelm_AssemblyPanel
 

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...
 

Additional Inherited Members

- Protected Attributes inherited from CDialog
string m_RegPath
 

Detailed Description

Definition at line 76 of file select_assembly_dialog.hpp.

Constructor & Destructor Documentation

◆ CSelectAssemblyDialog() [1/2]

CSelectAssemblyDialog::CSelectAssemblyDialog ( )

Definition at line 66 of file select_assembly_dialog.cpp.

References Init().

◆ CSelectAssemblyDialog() [2/2]

CSelectAssemblyDialog::CSelectAssemblyDialog ( wxWindow *  parent,
wxWindowID  id = 10096,
const wxString &  caption = _("Select Assembly"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxWANTS_CHARS|wxTAB_TRAVERSAL 
)

◆ ~CSelectAssemblyDialog()

CSelectAssemblyDialog::~CSelectAssemblyDialog ( )

Definition at line 94 of file select_assembly_dialog.cpp.

Member Function Documentation

◆ Create()

bool CSelectAssemblyDialog::Create ( wxWindow *  parent,
wxWindowID  id = 10096,
const wxString &  caption = _("Select Assembly"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxWANTS_CHARS|wxTAB_TRAVERSAL 
)

◆ CreateControls()

void CSelectAssemblyDialog::CreateControls ( )

◆ GetAssmSearchTerm()

string CSelectAssemblyDialog::GetAssmSearchTerm ( ) const

Get assembly query search term.

Definition at line 173 of file select_assembly_dialog.cpp.

References CAssemblyListPanel::GetSearchTerm(), and m_AssemblyPanel.

Referenced by CAssemblySelPanel::OnSelectAssemBtnClick().

◆ GetBitmapResource()

wxBitmap CSelectAssemblyDialog::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Definition at line 141 of file select_assembly_dialog.cpp.

◆ GetIconResource()

wxIcon CSelectAssemblyDialog::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Definition at line 149 of file select_assembly_dialog.cpp.

◆ GetSelectedAssembly()

string CSelectAssemblyDialog::GetSelectedAssembly ( string name,
string description 
) const

◆ Init()

void CSelectAssemblyDialog::Init ( void  )

Definition at line 100 of file select_assembly_dialog.cpp.

References m_AssemblyPanel, and NULL.

Referenced by CSelectAssemblyDialog().

◆ OnInitDialog()

void CSelectAssemblyDialog::OnInitDialog ( wxInitDialogEvent &  event)

wxEVT_INIT_DIALOG event handler for ID_CSELECTASSEMBLYDIALOG

Definition at line 158 of file select_assembly_dialog.cpp.

◆ SetAssmSearchTerm()

void CSelectAssemblyDialog::SetAssmSearchTerm ( const string str)

Set assembly query search term.

Definition at line 168 of file select_assembly_dialog.cpp.

References m_AssemblyPanel, CAssemblyListPanel::SetSearchTerm(), and str().

Referenced by CAssemblySelPanel::OnSelectAssemBtnClick().

◆ SetRegistryPath()

void CSelectAssemblyDialog::SetRegistryPath ( const string path)
virtual

◆ ShowToolTips()

bool CSelectAssemblyDialog::ShowToolTips ( )
static

Definition at line 137 of file select_assembly_dialog.cpp.

◆ TransferDataFromWindow()

bool CSelectAssemblyDialog::TransferDataFromWindow ( )
virtual

◆ x_LoadSettings()

void CSelectAssemblyDialog::x_LoadSettings ( const CRegistryReadView )
protectedvirtual

override these functions in derived classes

Reimplemented from CDialog.

Definition at line 206 of file select_assembly_dialog.cpp.

References CAssemblyListPanel::LoadSettings(), and m_AssemblyPanel.

◆ x_SaveSettings()

void CSelectAssemblyDialog::x_SaveSettings ( CRegistryWriteView  view) const
protectedvirtual

Reimplemented from CDialog.

Definition at line 201 of file select_assembly_dialog.cpp.

References m_AssemblyPanel, and CAssemblyListPanel::SaveSettings().

Member Data Documentation

◆ m_AssemblyPanel

CAssemblyListPanel* CSelectAssemblyDialog::m_AssemblyPanel

The documentation for this class was generated from the following files:
Modified on Wed Sep 04 14:59:59 2024 by modify_doxy.py rev. 669887