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

Search Toolkit Book for CRemarksAndSerialNumberPanel

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

+ Inheritance diagram for CRemarksAndSerialNumberPanel:
+ Collaboration diagram for CRemarksAndSerialNumberPanel:

Public Types

enum  { ID_REMARKSANDSERIALNUMBER = 10075 , ID_REMARK = 10076 , ID_TEXTCTRL4 = 10010 , ID_BUTTON = 10012 }
 Control identifiers. More...
 

Public Member Functions

 CRemarksAndSerialNumberPanel ()
 Constructors. More...
 
 CRemarksAndSerialNumberPanel (wxWindow *parent, CSerialObject &object, wxWindowID id=ID_REMARKSANDSERIALNUMBER, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_REMARKSANDSERIALNUMBER, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CRemarksAndSerialNumberPanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
void OnButtonClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON 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_Comment
 
wxBoxSizer * m_DOISizer
 
wxTextCtrl * m_DOI
 

Private Attributes

CSerialObjectm_Object
 
CRef< objects::CScope > m_Scope
 

Detailed Description

CRemarksAndSerialNumberPanel class declaration

Definition at line 76 of file remarksandserialnumber_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Control identifiers.

Enumerator
ID_REMARKSANDSERIALNUMBER 
ID_REMARK 
ID_TEXTCTRL4 
ID_BUTTON 

Definition at line 126 of file remarksandserialnumber_panel.hpp.

Constructor & Destructor Documentation

◆ CRemarksAndSerialNumberPanel() [1/2]

CRemarksAndSerialNumberPanel::CRemarksAndSerialNumberPanel ( )

Constructors.

Definition at line 91 of file remarksandserialnumber_panel.cpp.

References Init().

◆ CRemarksAndSerialNumberPanel() [2/2]

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

◆ ~CRemarksAndSerialNumberPanel()

CRemarksAndSerialNumberPanel::~CRemarksAndSerialNumberPanel ( )

Destructor.

Definition at line 131 of file remarksandserialnumber_panel.cpp.

Member Function Documentation

◆ Create()

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

◆ CreateControls()

void CRemarksAndSerialNumberPanel::CreateControls ( )

Creates the controls and sizers.

Definition at line 156 of file remarksandserialnumber_panel.cpp.

References _, ID_REMARK, ID_TEXTCTRL4, m_Comment, m_DOI, and m_DOISizer.

Referenced by Create().

◆ GetBitmapResource()

wxBitmap CRemarksAndSerialNumberPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Definition at line 282 of file remarksandserialnumber_panel.cpp.

◆ GetIconResource()

wxIcon CRemarksAndSerialNumberPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Definition at line 295 of file remarksandserialnumber_panel.cpp.

◆ Init()

void CRemarksAndSerialNumberPanel::Init ( void  )

Initialises member variables.

Definition at line 142 of file remarksandserialnumber_panel.cpp.

References m_Comment, m_DOI, m_DOISizer, and NULL.

Referenced by CRemarksAndSerialNumberPanel().

◆ OnButtonClick()

void CRemarksAndSerialNumberPanel::OnButtonClick ( wxCommandEvent &  event)

◆ ShowToolTips()

bool CRemarksAndSerialNumberPanel::ShowToolTips ( )
static

Should we show tooltips?

Definition at line 273 of file remarksandserialnumber_panel.cpp.

◆ TransferDataFromWindow()

bool CRemarksAndSerialNumberPanel::TransferDataFromWindow ( )
virtual

◆ TransferDataToWindow()

bool CRemarksAndSerialNumberPanel::TransferDataToWindow ( )
virtual

Member Data Documentation

◆ m_Comment

wxTextCtrl* CRemarksAndSerialNumberPanel::m_Comment

◆ m_DOI

wxTextCtrl* CRemarksAndSerialNumberPanel::m_DOI

◆ m_DOISizer

wxBoxSizer* CRemarksAndSerialNumberPanel::m_DOISizer

Definition at line 123 of file remarksandserialnumber_panel.hpp.

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

◆ m_Object

CSerialObject* CRemarksAndSerialNumberPanel::m_Object
private

◆ m_Scope

CRef<objects::CScope> CRemarksAndSerialNumberPanel::m_Scope
private

Definition at line 135 of file remarksandserialnumber_panel.hpp.


The documentation for this class was generated from the following files:
Modified on Sun Mar 03 03:12:37 2024 by modify_doxy.py rev. 669887