NCBI C++ ToolKit
|
Search Toolkit Book for CCitSubPanel
#include "citsub_panel.hpp"
(Private to src/gui/widgets/edit
.)
Public Member Functions | |
CCitSubPanel () | |
Constructors. More... | |
CCitSubPanel (wxWindow *parent, CSerialObject &object, wxWindowID id=10088, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) | |
bool | Create (wxWindow *parent, wxWindowID id=10088, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) |
Creation. More... | |
CRef< objects::CCit_sub > | GetCit_sub () const |
~CCitSubPanel () | |
Destructor. More... | |
void | Init () |
Initialises member variables. More... | |
void | CreateControls () |
Creates the controls and sizers. More... | |
void | OnCitsubAddStandardRemarkSelected (wxCommandEvent &event) |
wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CITSUB_ADD_STANDARD_REMARK More... | |
wxBitmap | GetBitmapResource (const wxString &name) |
Retrieves bitmap resources. More... | |
wxIcon | GetIconResource (const wxString &name) |
Retrieves icon resources. More... | |
virtual bool | TransferDataToWindow () |
virtual bool | TransferDataFromWindow () |
Static Public Member Functions | |
static bool | ShowToolTips () |
Should we show tooltips? More... | |
Public Attributes | |
wxTextCtrl * | m_Remark |
wxChoice * | m_StandardRemark |
Private Attributes | |
CSerialObject * | m_Object |
CRef< CSerialObject > | m_EditedCitSub |
wxWindow * | m_date_ctrl |
CCitSubPanel class declaration
Definition at line 77 of file citsub_panel.hpp.
CCitSubPanel::CCitSubPanel | ( | ) |
CCitSubPanel::CCitSubPanel | ( | wxWindow * | parent, |
CSerialObject & | object, | ||
wxWindowID | id = 10088 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Definition at line 92 of file citsub_panel.cpp.
References CSerialObject::Assign(), Create(), Init(), m_EditedCitSub, m_Object, CRef< C, Locker >::Reset(), and ncbi::grid::netcache::search::fields::size.
CCitSubPanel::~CCitSubPanel | ( | ) |
Destructor.
Definition at line 130 of file citsub_panel.cpp.
bool CCitSubPanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = 10088 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Creation.
Definition at line 109 of file citsub_panel.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CCitSubPanel().
void CCitSubPanel::CreateControls | ( | ) |
Creates the controls and sizers.
Definition at line 154 of file citsub_panel.cpp.
References _, ID_CITSUB_ADD_STANDARD_REMARK, ID_CITSUB_DESC, m_date_ctrl, m_Remark, m_StandardRemark, and CCit_sub_Base::SetDate().
Referenced by Create().
wxBitmap CCitSubPanel::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources.
Definition at line 242 of file citsub_panel.cpp.
Definition at line 219 of file citsub_panel.cpp.
References CSerialObject::Assign().
Referenced by CPublicationTypePanel::x_CollectDetails().
wxIcon CCitSubPanel::GetIconResource | ( | const wxString & | name | ) |
Retrieves icon resources.
Definition at line 255 of file citsub_panel.cpp.
void CCitSubPanel::Init | ( | void | ) |
Initialises member variables.
Definition at line 141 of file citsub_panel.cpp.
References m_Remark, m_StandardRemark, and NULL.
Referenced by CCitSubPanel().
void CCitSubPanel::OnCitsubAddStandardRemarkSelected | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CITSUB_ADD_STANDARD_REMARK
Definition at line 269 of file citsub_panel.cpp.
References _, m_Remark, and m_StandardRemark.
|
static |
Should we show tooltips?
Definition at line 233 of file citsub_panel.cpp.
|
virtual |
Definition at line 201 of file citsub_panel.cpp.
References m_date_ctrl.
Referenced by CPublicationTypePanel::x_CollectDetails().
|
virtual |
Definition at line 210 of file citsub_panel.cpp.
References m_date_ctrl.
|
private |
Definition at line 127 of file citsub_panel.hpp.
Referenced by CreateControls(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 126 of file citsub_panel.hpp.
Referenced by CCitSubPanel().
|
private |
Definition at line 125 of file citsub_panel.hpp.
Referenced by CCitSubPanel().
wxTextCtrl* CCitSubPanel::m_Remark |
Definition at line 121 of file citsub_panel.hpp.
Referenced by CreateControls(), Init(), and OnCitsubAddStandardRemarkSelected().
wxChoice* CCitSubPanel::m_StandardRemark |
Definition at line 122 of file citsub_panel.hpp.
Referenced by CreateControls(), Init(), and OnCitsubAddStandardRemarkSelected().