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

Search Toolkit Book for CProteinPropertiesPanel

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

+ Inheritance diagram for CProteinPropertiesPanel:
+ Collaboration diagram for CProteinPropertiesPanel:

Public Member Functions

 CProteinPropertiesPanel ()
 Constructors. More...
 
 CProteinPropertiesPanel (wxWindow *parent, CSerialObject &object, objects::CSeq_feat *edited_protein, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CProteinPropertiesPanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
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...
 

Private Attributes

CSerialObjectm_Object
 
objects::CSeq_feat * m_edited_protein
 

Detailed Description

CProteinPropertiesPanel class declaration

Definition at line 75 of file protein_properties.hpp.

Constructor & Destructor Documentation

◆ CProteinPropertiesPanel() [1/2]

CProteinPropertiesPanel::CProteinPropertiesPanel ( )

Constructors.

CProteinPropertiesPanel type definition

CProteinPropertiesPanel event table definition

CProteinPropertiesPanel constructors

Definition at line 75 of file protein_properties.cpp.

References Init().

◆ CProteinPropertiesPanel() [2/2]

CProteinPropertiesPanel::CProteinPropertiesPanel ( wxWindow *  parent,
CSerialObject object,
objects::CSeq_feat *  edited_protein,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL 
)

◆ ~CProteinPropertiesPanel()

CProteinPropertiesPanel::~CProteinPropertiesPanel ( )

Destructor.

CProteinPropertiesPanel destructor

Definition at line 113 of file protein_properties.cpp.

Member Function Documentation

◆ Create()

bool CProteinPropertiesPanel::Create ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL 
)

Creation.

Commentpanel creator

Definition at line 93 of file protein_properties.cpp.

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

Referenced by CProteinPropertiesPanel().

◆ CreateControls()

void CProteinPropertiesPanel::CreateControls ( )

Creates the controls and sizers.

Control creation for Commentpanel

Definition at line 135 of file protein_properties.cpp.

References _, m_edited_protein, m_Object, and wxID_ANY.

Referenced by Create().

◆ GetBitmapResource()

wxBitmap CProteinPropertiesPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 184 of file protein_properties.cpp.

◆ GetIconResource()

wxIcon CProteinPropertiesPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 197 of file protein_properties.cpp.

◆ Init()

void CProteinPropertiesPanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 124 of file protein_properties.cpp.

Referenced by CProteinPropertiesPanel().

◆ ShowToolTips()

bool CProteinPropertiesPanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 175 of file protein_properties.cpp.

Member Data Documentation

◆ m_edited_protein

objects::CSeq_feat* CProteinPropertiesPanel::m_edited_protein
private

Definition at line 118 of file protein_properties.hpp.

Referenced by CreateControls().

◆ m_Object

CSerialObject* CProteinPropertiesPanel::m_Object
private

Definition at line 117 of file protein_properties.hpp.

Referenced by CreateControls().


The documentation for this class was generated from the following files:
Modified on Thu Mar 28 17:06:15 2024 by modify_doxy.py rev. 669887