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

Search Toolkit Book for CCitSubPanel

#include "citsub_panel.hpp"
(Private to src/gui/widgets/edit.)

+ Inheritance diagram for CCitSubPanel:
+ Collaboration diagram for CCitSubPanel:

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

CSerialObjectm_Object
 
CRef< CSerialObjectm_EditedCitSub
 
wxWindow * m_date_ctrl
 

Detailed Description

CCitSubPanel class declaration

Definition at line 77 of file citsub_panel.hpp.

Constructor & Destructor Documentation

◆ CCitSubPanel() [1/2]

CCitSubPanel::CCitSubPanel ( )

Constructors.

Definition at line 87 of file citsub_panel.cpp.

References Init().

◆ CCitSubPanel() [2/2]

CCitSubPanel::CCitSubPanel ( wxWindow *  parent,
CSerialObject object,
wxWindowID  id = 10088,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ ~CCitSubPanel()

CCitSubPanel::~CCitSubPanel ( )

Destructor.

Definition at line 130 of file citsub_panel.cpp.

Member Function Documentation

◆ Create()

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

◆ CreateControls()

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

◆ GetBitmapResource()

wxBitmap CCitSubPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Definition at line 242 of file citsub_panel.cpp.

◆ GetCit_sub()

CRef< CCit_sub > CCitSubPanel::GetCit_sub ( ) const

Definition at line 219 of file citsub_panel.cpp.

References CSerialObject::Assign().

Referenced by CPublicationTypePanel::x_CollectDetails().

◆ GetIconResource()

wxIcon CCitSubPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Definition at line 255 of file citsub_panel.cpp.

◆ Init()

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

◆ OnCitsubAddStandardRemarkSelected()

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.

◆ ShowToolTips()

bool CCitSubPanel::ShowToolTips ( )
static

Should we show tooltips?

Definition at line 233 of file citsub_panel.cpp.

◆ TransferDataFromWindow()

bool CCitSubPanel::TransferDataFromWindow ( )
virtual

Definition at line 201 of file citsub_panel.cpp.

References m_date_ctrl.

Referenced by CPublicationTypePanel::x_CollectDetails().

◆ TransferDataToWindow()

bool CCitSubPanel::TransferDataToWindow ( )
virtual

Definition at line 210 of file citsub_panel.cpp.

References m_date_ctrl.

Member Data Documentation

◆ m_date_ctrl

wxWindow* CCitSubPanel::m_date_ctrl
private

Definition at line 127 of file citsub_panel.hpp.

Referenced by CreateControls(), TransferDataFromWindow(), and TransferDataToWindow().

◆ m_EditedCitSub

CRef<CSerialObject> CCitSubPanel::m_EditedCitSub
private

Definition at line 126 of file citsub_panel.hpp.

Referenced by CCitSubPanel().

◆ m_Object

CSerialObject* CCitSubPanel::m_Object
private

Definition at line 125 of file citsub_panel.hpp.

Referenced by CCitSubPanel().

◆ m_Remark

wxTextCtrl* CCitSubPanel::m_Remark

Definition at line 121 of file citsub_panel.hpp.

Referenced by CreateControls(), Init(), and OnCitsubAddStandardRemarkSelected().

◆ m_StandardRemark

wxChoice* CCitSubPanel::m_StandardRemark

Definition at line 122 of file citsub_panel.hpp.

Referenced by CreateControls(), Init(), and OnCitsubAddStandardRemarkSelected().


The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:57:25 2024 by modify_doxy.py rev. 669887