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

Search Toolkit Book for CCDSExceptionPanel

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

+ Inheritance diagram for CCDSExceptionPanel:
+ Collaboration diagram for CCDSExceptionPanel:

Public Types

enum  { ID_CCDSEXCEPTIONPANEL = 10103 , ID_SCROLLEDWINDOW4 = 10102 }
 Control identifiers. More...
 

Public Member Functions

 CCDSExceptionPanel ()
 Constructors. More...
 
 CCDSExceptionPanel (wxWindow *parent, objects::CSeq_feat &feat, objects::CScope &scope, wxWindowID id=ID_CCDSEXCEPTIONPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CCDSEXCEPTIONPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CCDSExceptionPanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
virtual bool TransferDataToWindow ()
 
virtual bool TransferDataFromWindow ()
 
void SetExceptions (objects::CCdregion &cds)
 
virtual void OnChildChange (wxWindow *wnd)
 
void OnDelete (wxHyperlinkEvent &event)
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
- Public Member Functions inherited from CQualListItemPanel
virtual void NotifyParentOfChange ()
 
virtual void GetDimensions (int *width, int *height)
 

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips? More...
 
- Static Public Member Functions inherited from CQualListItemPanel
static void RemoveRepresentedQuals (objects::CSeq_feat &feat, const string &qual_name)
 

Public Attributes

wxBoxSizer * m_LabelSizer
 
wxScrolledWindow * m_ScrolledWindow
 
wxFlexGridSizer * m_Sizer
 

Private Member Functions

void x_AddRow (CRef< objects::CCode_break > code_break)
 
int x_FindRow (wxWindow *wnd, wxSizerItemList &itemList)
 

Private Attributes

objects::CScope * m_Scope
 
CRef< objects::CSeq_feat > m_EditedFeat
 

Additional Inherited Members

- Protected Member Functions inherited from CQualListItemPanel
virtual void x_AdjustForControl (CQualListItemPanel *panel, wxHyperlinkCtrl *itemHyperlinkCtrl)
 
- Protected Attributes inherited from CQualListItemPanel
int m_TotalHeight
 
int m_TotalWidth
 
int m_ScrollRate
 
int m_MinHeight
 
int m_MinWidth
 
int m_NumRows
 
bool m_AllowUpdates
 

Detailed Description

CCDSExceptionPanel class declaration

Definition at line 77 of file cds_exception_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Control identifiers.

Enumerator
ID_CCDSEXCEPTIONPANEL 
ID_SCROLLEDWINDOW4 

Definition at line 134 of file cds_exception_panel.hpp.

Constructor & Destructor Documentation

◆ CCDSExceptionPanel() [1/2]

CCDSExceptionPanel::CCDSExceptionPanel ( )

Constructors.

CCDSExceptionPanel type definition

CCDSExceptionPanel event table definition

CCDSExceptionPanel constructors

Definition at line 70 of file cds_exception_panel.cpp.

References Init().

◆ CCDSExceptionPanel() [2/2]

CCDSExceptionPanel::CCDSExceptionPanel ( wxWindow *  parent,
objects::CSeq_feat &  feat,
objects::CScope &  scope,
wxWindowID  id = ID_CCDSEXCEPTIONPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ ~CCDSExceptionPanel()

CCDSExceptionPanel::~CCDSExceptionPanel ( )

Destructor.

CCDSExceptionPanel destructor

Definition at line 112 of file cds_exception_panel.cpp.

Member Function Documentation

◆ Create()

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

Creation.

CCDSExceptionPanel creator

Definition at line 92 of file cds_exception_panel.cpp.

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

◆ CreateControls()

void CCDSExceptionPanel::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CCDSExceptionPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 361 of file cds_exception_panel.cpp.

◆ GetIconResource()

wxIcon CCDSExceptionPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 374 of file cds_exception_panel.cpp.

◆ Init()

void CCDSExceptionPanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 123 of file cds_exception_panel.cpp.

References m_LabelSizer, m_ScrolledWindow, m_Sizer, and NULL.

◆ OnChildChange()

void CCDSExceptionPanel::OnChildChange ( wxWindow *  wnd)
virtual

◆ OnDelete()

void CCDSExceptionPanel::OnDelete ( wxHyperlinkEvent &  event)

◆ SetExceptions()

void CCDSExceptionPanel::SetExceptions ( objects::CCdregion &  cds)

◆ ShowToolTips()

bool CCDSExceptionPanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 352 of file cds_exception_panel.cpp.

◆ TransferDataFromWindow()

bool CCDSExceptionPanel::TransferDataFromWindow ( )
virtual

◆ TransferDataToWindow()

bool CCDSExceptionPanel::TransferDataToWindow ( )
virtual

◆ x_AddRow()

void CCDSExceptionPanel::x_AddRow ( CRef< objects::CCode_break >  code_break)
private

◆ x_FindRow()

int CCDSExceptionPanel::x_FindRow ( wxWindow *  wnd,
wxSizerItemList &  itemList 
)
private

Definition at line 383 of file cds_exception_panel.cpp.

References NULL.

Referenced by OnDelete().

Member Data Documentation

◆ m_EditedFeat

CRef<objects::CSeq_feat> CCDSExceptionPanel::m_EditedFeat
private

◆ m_LabelSizer

wxBoxSizer* CCDSExceptionPanel::m_LabelSizer

Definition at line 130 of file cds_exception_panel.hpp.

Referenced by CreateControls(), and Init().

◆ m_Scope

objects::CScope* CCDSExceptionPanel::m_Scope
private

Definition at line 140 of file cds_exception_panel.hpp.

Referenced by x_AddRow().

◆ m_ScrolledWindow

wxScrolledWindow* CCDSExceptionPanel::m_ScrolledWindow

Definition at line 131 of file cds_exception_panel.hpp.

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

◆ m_Sizer

wxFlexGridSizer* CCDSExceptionPanel::m_Sizer

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