NCBI C++ ToolKit
|
Search Toolkit Book for CWigParamsPanel
#include <gui/widgets/loaders/wig_params_panel.hpp>
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... | |
CWigLoadParams & | GetData () |
Data access. More... | |
const CWigLoadParams & | GetData () 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 | |
CAssemblySelPanel * | m_AssemblyPanel |
CWigLoadParams | m_data |
The data edited by this window. More... | |
CWigParamsPanel class declaration
Definition at line 70 of file wig_params_panel.hpp.
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::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 | ( | ) |
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().
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().
wxBitmap CWigParamsPanel::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources.
Get bitmap resources
Definition at line 178 of file wig_params_panel.cpp.
|
inline |
Data access.
Definition at line 105 of file wig_params_panel.hpp.
References m_data.
Referenced by CreateControls(), CWigLoadManager::DoTransition(), TransferDataFromWindow(), and TransferDataToWindow().
|
inline |
Definition at line 106 of file wig_params_panel.hpp.
References m_data.
wxIcon CWigParamsPanel::GetIconResource | ( | const wxString & | name | ) |
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().
|
inline |
Definition at line 107 of file wig_params_panel.hpp.
Referenced by CWigLoadManager::x_GetParamsPanel().
|
static |
Should we show tooltips?
Should we show tooltips?
Definition at line 169 of file wig_params_panel.cpp.
|
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().
|
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().
CAssemblySelPanel* CWigParamsPanel::m_AssemblyPanel |
Definition at line 120 of file wig_params_panel.hpp.
Referenced by CreateControls(), Init(), TransferDataFromWindow(), and TransferDataToWindow().
CWigLoadParams CWigParamsPanel::m_data |
The data edited by this window.
Definition at line 122 of file wig_params_panel.hpp.