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

Search Toolkit Book for CSuspectCompoundConstraintPanel

#include <gui/packages/pkg_sequence_edit/suspect_product_rules_constraint_panel.hpp>

+ Inheritance diagram for CSuspectCompoundConstraintPanel:
+ Collaboration diagram for CSuspectCompoundConstraintPanel:

Public Member Functions

 CSuspectCompoundConstraintPanel ()
 
 CSuspectCompoundConstraintPanel (wxWindow *parent, 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)
 
 ~CSuspectCompoundConstraintPanel ()
 
void Init ()
 
void CreateControls ()
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 
void ClearValues (void)
 
void OnAddConstraint (wxCommandEvent &event)
 
void OnRemoveConstraint (wxCommandEvent &event)
 
void OnEditConstraint (wxCommandEvent &event)
 
void AddConstraint (pair< string, CRef< objects::CConstraint_choice > > item, int id)
 
void SetConstraints (const objects::CConstraint_choice_set &constraints)
 
bool IsSetConstraints ()
 
CRef< objects::CConstraint_choice_set > GetConstraints ()
 

Static Public Member Functions

static bool ShowToolTips ()
 

Private Attributes

wxCheckListBox * m_CheckListBox
 
map< string, CRef< objects::CConstraint_choice > > m_label_to_constraint
 

Detailed Description

Definition at line 70 of file suspect_product_rules_constraint_panel.hpp.

Constructor & Destructor Documentation

◆ CSuspectCompoundConstraintPanel() [1/2]

CSuspectCompoundConstraintPanel::CSuspectCompoundConstraintPanel ( )

CSuspectCompoundConstraintPanel event table definition

CSuspectCompoundConstraintPanel constructors

Definition at line 73 of file suspect_product_rules_constraint_panel.cpp.

References Init().

◆ CSuspectCompoundConstraintPanel() [2/2]

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

◆ ~CSuspectCompoundConstraintPanel()

CSuspectCompoundConstraintPanel::~CSuspectCompoundConstraintPanel ( )

Member Function Documentation

◆ AddConstraint()

void CSuspectCompoundConstraintPanel::AddConstraint ( pair< string, CRef< objects::CConstraint_choice > >  item,
int  id 
)

◆ ClearValues()

void CSuspectCompoundConstraintPanel::ClearValues ( void  )

◆ Create()

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

◆ CreateControls()

void CSuspectCompoundConstraintPanel::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CSuspectCompoundConstraintPanel::GetBitmapResource ( const wxString &  name)

Get bitmap resources

Definition at line 173 of file suspect_product_rules_constraint_panel.cpp.

◆ GetConstraints()

CRef< objects::CConstraint_choice_set > CSuspectCompoundConstraintPanel::GetConstraints ( )

◆ GetIconResource()

wxIcon CSuspectCompoundConstraintPanel::GetIconResource ( const wxString &  name)

Get icon resources

Definition at line 186 of file suspect_product_rules_constraint_panel.cpp.

◆ Init()

void CSuspectCompoundConstraintPanel::Init ( void  )

Member initialisation

Definition at line 120 of file suspect_product_rules_constraint_panel.cpp.

References m_CheckListBox, and NULL.

Referenced by CSuspectCompoundConstraintPanel().

◆ IsSetConstraints()

bool CSuspectCompoundConstraintPanel::IsSetConstraints ( )

◆ OnAddConstraint()

void CSuspectCompoundConstraintPanel::OnAddConstraint ( wxCommandEvent &  event)

Definition at line 196 of file suspect_product_rules_constraint_panel.cpp.

◆ OnEditConstraint()

void CSuspectCompoundConstraintPanel::OnEditConstraint ( wxCommandEvent &  event)

◆ OnRemoveConstraint()

void CSuspectCompoundConstraintPanel::OnRemoveConstraint ( wxCommandEvent &  event)

◆ SetConstraints()

void CSuspectCompoundConstraintPanel::SetConstraints ( const objects::CConstraint_choice_set &  constraints)

◆ ShowToolTips()

bool CSuspectCompoundConstraintPanel::ShowToolTips ( )
static

Should we show tooltips?

Definition at line 164 of file suspect_product_rules_constraint_panel.cpp.

Member Data Documentation

◆ m_CheckListBox

wxCheckListBox* CSuspectCompoundConstraintPanel::m_CheckListBox
private

◆ m_label_to_constraint

map<string, CRef<objects::CConstraint_choice> > CSuspectCompoundConstraintPanel::m_label_to_constraint
private

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