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

Search Toolkit Book for CWigParamsPanel

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

+ Inheritance diagram for CWigParamsPanel:
+ Collaboration diagram for CWigParamsPanel:

Public Member Functions

 CWigParamsPanel ()
 Constructors. More...
 
 CWigParamsPanel (wxWindow *parent, wxWindowID id=10052, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=10052, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CWigParamsPanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
virtual bool TransferDataToWindow ()
 Transfer data to the window. More...
 
virtual bool TransferDataFromWindow ()
 Transfer data from the window. More...
 
CWigLoadParamsGetData ()
 Data access. More...
 
const CWigLoadParamsGetData () const
 
void SetData (const CWigLoadParams &data)
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips? More...
 

Public Attributes

CAssemblySelPanelm_AssemblyPanel
 
CWigLoadParams m_data
 The data edited by this window. More...
 

Detailed Description

CWigParamsPanel class declaration

Definition at line 70 of file wig_params_panel.hpp.

Constructor & Destructor Documentation

◆ CWigParamsPanel() [1/2]

CWigParamsPanel::CWigParamsPanel ( )

Constructors.

CWigParamsPanel type definition

CWigParamsPanel event table definition

CWigParamsPanel constructors

Definition at line 70 of file wig_params_panel.cpp.

References Init().

◆ CWigParamsPanel() [2/2]

CWigParamsPanel::CWigParamsPanel ( wxWindow *  parent,
wxWindowID  id = 10052,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

Definition at line 75 of file wig_params_panel.cpp.

References Create(), Init(), and ncbi::grid::netcache::search::fields::size.

◆ ~CWigParamsPanel()

CWigParamsPanel::~CWigParamsPanel ( )

Destructor.

CWigParamsPanel destructor

Definition at line 107 of file wig_params_panel.cpp.

Member Function Documentation

◆ Create()

bool CWigParamsPanel::Create ( wxWindow *  parent,
wxWindowID  id = 10052,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

Creation.

CWigParamsPanel creator

Definition at line 86 of file wig_params_panel.cpp.

References CreateControls(), and ncbi::grid::netcache::search::fields::size.

Referenced by CWigParamsPanel().

◆ CreateControls()

void CWigParamsPanel::CreateControls ( )

Creates the controls and sizers.

Definition at line 135 of file wig_params_panel.cpp.

References _, _T, GetData(), ID_PANEL10, ID_SPINCTRL1, m_AssemblyPanel, and wxID_ANY.

Referenced by Create().

◆ GetBitmapResource()

wxBitmap CWigParamsPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 178 of file wig_params_panel.cpp.

◆ GetData() [1/2]

CWigLoadParams& CWigParamsPanel::GetData ( void  )
inline

Data access.

Definition at line 105 of file wig_params_panel.hpp.

References m_data.

Referenced by CreateControls(), CWigLoadManager::DoTransition(), TransferDataFromWindow(), and TransferDataToWindow().

◆ GetData() [2/2]

const CWigLoadParams& CWigParamsPanel::GetData ( void  ) const
inline

Definition at line 106 of file wig_params_panel.hpp.

References m_data.

◆ GetIconResource()

wxIcon CWigParamsPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 191 of file wig_params_panel.cpp.

◆ Init()

void CWigParamsPanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 118 of file wig_params_panel.cpp.

References m_AssemblyPanel, and NULL.

Referenced by CWigParamsPanel().

◆ SetData()

void CWigParamsPanel::SetData ( const CWigLoadParams data)
inline

Definition at line 107 of file wig_params_panel.hpp.

References data, and m_data.

Referenced by CWigLoadManager::x_GetParamsPanel().

◆ ShowToolTips()

bool CWigParamsPanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 169 of file wig_params_panel.cpp.

◆ TransferDataFromWindow()

bool CWigParamsPanel::TransferDataFromWindow ( )
virtual

Transfer data from the window.

Transfer data from the window

Definition at line 218 of file wig_params_panel.cpp.

References CAssemblySelPanel::GetData(), GetData(), m_AssemblyPanel, and CWigLoadParams::SetMapAssembly().

Referenced by CWigLoadManager::DoTransition().

◆ TransferDataToWindow()

bool CWigParamsPanel::TransferDataToWindow ( )
virtual

Transfer data to the window.

Transfer data to the window

Definition at line 204 of file wig_params_panel.cpp.

References GetData(), m_AssemblyPanel, and CAssemblySelPanel::SetData().

Referenced by CWigLoadManager::x_GetParamsPanel().

Member Data Documentation

◆ m_AssemblyPanel

CAssemblySelPanel* CWigParamsPanel::m_AssemblyPanel

◆ m_data

CWigLoadParams CWigParamsPanel::m_data

The data edited by this window.

Definition at line 122 of file wig_params_panel.hpp.

Referenced by GetData(), and SetData().


The documentation for this class was generated from the following files:
Modified on Wed Jun 19 17:01:15 2024 by modify_doxy.py rev. 669887