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

Search Toolkit Book for CAuthorAffiliationPanel

#include <gui/widgets/edit/author_affiliation_panel.hpp>

+ Inheritance diagram for CAuthorAffiliationPanel:
+ Collaboration diagram for CAuthorAffiliationPanel:

Public Types

enum  {
  ID_CAUTHORAFFILIATIONPANEL = 10002 , ID_AUTH_AFFIL_INST = 10003 , ID_AUTH_AFFIL_DEPT = 10004 , ID_AUTH_AFFIL_ADDRESS = 10005 ,
  ID_AUTH_AFFIL_CITY = 10006 , ID_AUTH_AFFIL_STATE = 10007 , ID_AUTH_AFFIL_CODE = 10008 , ID_AUTH_AFFIL_COUNTRY = 10009
}
 Control identifiers. More...
 

Public Member Functions

 CAuthorAffiliationPanel ()
 Constructors. More...
 
 CAuthorAffiliationPanel (wxWindow *parent, const objects::CAffil &affil, wxWindowID id=ID_CAUTHORAFFILIATIONPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CAUTHORAFFILIATIONPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CAuthorAffiliationPanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
virtual bool TransferDataToWindow ()
 
virtual bool TransferDataFromWindow ()
 
void SetAffil (CRef< objects::CAffil > affil)
 
CRef< objects::CAffil > GetAffil ()
 
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

wxTextCtrl * m_AffilCtrl
 
wxTextCtrl * m_DepartmentCtrl
 
wxTextCtrl * m_StreetCtrl
 
wxTextCtrl * m_CityCtrl
 
wxTextCtrl * m_SubCtrl
 
wxTextCtrl * m_ZipCtrl
 
wxTextCtrl * m_CountryCtrl
 

Private Attributes

CRef< objects::CAffil > m_Affil
 

Detailed Description

CAuthorAffiliationPanel class declaration

Definition at line 83 of file author_affiliation_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Control identifiers.

Enumerator
ID_CAUTHORAFFILIATIONPANEL 
ID_AUTH_AFFIL_INST 
ID_AUTH_AFFIL_DEPT 
ID_AUTH_AFFIL_ADDRESS 
ID_AUTH_AFFIL_CITY 
ID_AUTH_AFFIL_STATE 
ID_AUTH_AFFIL_CODE 
ID_AUTH_AFFIL_COUNTRY 

Definition at line 135 of file author_affiliation_panel.hpp.

Constructor & Destructor Documentation

◆ CAuthorAffiliationPanel() [1/2]

CAuthorAffiliationPanel::CAuthorAffiliationPanel ( )

Constructors.

Definition at line 77 of file author_affiliation_panel.cpp.

References Init().

◆ CAuthorAffiliationPanel() [2/2]

CAuthorAffiliationPanel::CAuthorAffiliationPanel ( wxWindow *  parent,
const objects::CAffil &  affil,
wxWindowID  id = ID_CAUTHORAFFILIATIONPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ ~CAuthorAffiliationPanel()

CAuthorAffiliationPanel::~CAuthorAffiliationPanel ( )

Destructor.

Definition at line 117 of file author_affiliation_panel.cpp.

Member Function Documentation

◆ Create()

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

Creation.

Definition at line 96 of file author_affiliation_panel.cpp.

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

◆ CreateControls()

void CAuthorAffiliationPanel::CreateControls ( )

◆ GetAffil()

CRef< CAffil > CAuthorAffiliationPanel::GetAffil ( )

◆ GetBitmapResource()

wxBitmap CAuthorAffiliationPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Definition at line 334 of file author_affiliation_panel.cpp.

◆ GetIconResource()

wxIcon CAuthorAffiliationPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Definition at line 347 of file author_affiliation_panel.cpp.

◆ Init()

void CAuthorAffiliationPanel::Init ( void  )

Initialises member variables.

Definition at line 128 of file author_affiliation_panel.cpp.

References m_AffilCtrl, m_CityCtrl, m_CountryCtrl, m_DepartmentCtrl, m_StreetCtrl, m_SubCtrl, m_ZipCtrl, and NULL.

◆ SetAffil()

void CAuthorAffiliationPanel::SetAffil ( CRef< objects::CAffil >  affil)

◆ ShowToolTips()

bool CAuthorAffiliationPanel::ShowToolTips ( )
static

Should we show tooltips?

Definition at line 325 of file author_affiliation_panel.cpp.

◆ TransferDataFromWindow()

bool CAuthorAffiliationPanel::TransferDataFromWindow ( )
virtual

◆ TransferDataToWindow()

bool CAuthorAffiliationPanel::TransferDataToWindow ( )
virtual

Member Data Documentation

◆ m_Affil

CRef<objects::CAffil> CAuthorAffiliationPanel::m_Affil
private

◆ m_AffilCtrl

wxTextCtrl* CAuthorAffiliationPanel::m_AffilCtrl

◆ m_CityCtrl

wxTextCtrl* CAuthorAffiliationPanel::m_CityCtrl

◆ m_CountryCtrl

wxTextCtrl* CAuthorAffiliationPanel::m_CountryCtrl

◆ m_DepartmentCtrl

wxTextCtrl* CAuthorAffiliationPanel::m_DepartmentCtrl

◆ m_StreetCtrl

wxTextCtrl* CAuthorAffiliationPanel::m_StreetCtrl

◆ m_SubCtrl

wxTextCtrl* CAuthorAffiliationPanel::m_SubCtrl

◆ m_ZipCtrl

wxTextCtrl* CAuthorAffiliationPanel::m_ZipCtrl

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