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

Search Toolkit Book for CDialog

CDialog. More...

#include <gui/widgets/wx/dialog.hpp>

+ Inheritance diagram for CDialog:
+ Collaboration diagram for CDialog:

Public Member Functions

 CDialog ()
 
virtual void InitDialog ()
 
virtual void EndModal (int retCode)
 
IRegSettings interface
virtual void SetRegistryPath (const string &path)
 
virtual void LoadSettings ()
 
virtual void SaveSettings () const
 

Protected Member Functions

virtual void x_LoadSettings (const CRegistryReadView &)
 override these functions in derived classes More...
 
virtual void x_SaveSettings (CRegistryWriteView) const
 
void x_CorrectDisplay (wxRect &rc)
 move to the parent display More...
 

Protected Attributes

string m_RegPath
 

Detailed Description

CDialog.

Definition at line 46 of file dialog.hpp.

Constructor & Destructor Documentation

◆ CDialog()

CDialog::CDialog ( )

Definition at line 43 of file dialog.cpp.

References entries.

Member Function Documentation

◆ EndModal()

void CDialog::EndModal ( int  retCode)
virtual

◆ InitDialog()

void CDialog::InitDialog ( )
virtual

Reimplemented in COpenDlg.

Definition at line 134 of file dialog.cpp.

References LoadSettings().

◆ LoadSettings()

void CDialog::LoadSettings ( )
virtual

◆ SaveSettings()

void CDialog::SaveSettings ( ) const
virtual

◆ SetRegistryPath()

void CDialog::SetRegistryPath ( const string path)
virtual

Reimplemented in CSelectAssemblyDialog, CRunToolDlg, COpenViewDlg, and COpenDlg.

Definition at line 59 of file dialog.cpp.

References m_RegPath.

Referenced by CAddSequences::apply(), CUpdateSeq_Dlg::CreateControls(), PT::CProject::DoProperties(), PT::CProjectItem::DoProperties(), CwxTableListCtrl::ExportTableControlToCSV(), CEditMacroDlg::Init(), CVarResolverDlg::Init(), CAddQuickLaunchDlg::Init(), CPagerMessageDlg::Init(), CDeleteFromBioseq_setDlg::Init(), LoadFileForSubmission(), CSubPrep_panel::OnAddSequenceBtnClick(), CBLASTSearchOptionsPanel::OnBrowseDatabases(), CPhyloTreeWidget::OnExportSelection(), CGridWidget::OnExportToCSV(), CSubmitBlockDlg::OnImportBtnClick(), CCDSTranslationPanel::OnImportCdsProteinHyperlinkClicked(), COrganismInfoPanel::OnImportSrcTable(), CTblEditDlg::OnImportTableClick(), SrcEditDialog::OnLoadqualsClick(), CTextPanel::OnOptionsClick(), CAlnMultiWidget::OnSettings(), CTaskTablePanel::OnShowDetailsDialog(), CWindowManager::OnShowWindowsDlg(), CLocalFileRestorer::ReadObjectFromFile(), CHistogramGlyph::RunSettingsDialog(), s_EditFolder(), COpenDlg::SetRegistryPath(), CRunToolDlg::SetRegistryPath(), CFeaturePanel::ShowConfigureTracksDlg(), CEditingBtnsPanel::TableReader(), CSequenceEditingEventHandler::TableReader(), CSequenceEditingEventHandler::TableReaderClipboard(), CEditingBtnsPanel::TableReaderFromClipboard(), CImportFeatTable::x_DoImportFeaturesFromFile(), CProjectTask::x_DoSaveUserSelected(), CTextPanel::x_SelectFlatFileSequence(), CUpdateMultiSeq_Dlg::x_SetUp(), CMappingObjectLoader::x_ShowMappingDlg(), CSelectProjectOptions::x_ShowSelectProjectDialog(), and CGraphOverlay::x_UpdateTrackSettings().

◆ x_CorrectDisplay()

void CDialog::x_CorrectDisplay ( wxRect &  rc)
protected

move to the parent display

Definition at line 78 of file dialog.cpp.

References CorrectWindowRect(), CGuiRegistry::GetBool(), CGuiRegistry::GetInstance(), and round().

Referenced by LoadSettings().

◆ x_LoadSettings()

virtual void CDialog::x_LoadSettings ( const CRegistryReadView )
inlineprotectedvirtual

◆ x_SaveSettings()

virtual void CDialog::x_SaveSettings ( CRegistryWriteView  ) const
inlineprotectedvirtual

Member Data Documentation

◆ m_RegPath

string CDialog::m_RegPath
protected

The documentation for this class was generated from the following files:
Modified on Fri Apr 12 17:16:50 2024 by modify_doxy.py rev. 669887