MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

TBasePanel Class Reference

#include <TBasePanel.h>

Inherits wxResizeableControl.

Inherited by Graph3DFrame, PnlFunzione, and PnlGraphFrame.

Inheritance diagram for TBasePanel:

Inheritance graph
[legend]
Collaboration diagram for TBasePanel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TBasePanel (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name="panel", int codiceoggetto=-1)
 ~TBasePanel ()
void ImpostaSelezione ()
void PannelloBaseOnLD (wxMouseEvent &event)
void PannelloBaseOnRD (wxMouseEvent &event)
void PannelloBaseOnMotion (wxMouseEvent &event)
void Elimina ()
void OnKeyDown (wxKeyEvent &event)
 Key down event of WXK_DELETE deletes the window.
void ImpostaUtilita (gestione *gpannello)
void ImpostaBordi ()
wxMenu * GetPopUp ()
 Return the pop-up menu of the object.
wxTreeItemId GetTreeItemId ()
 Return the TreeItem id related to the object.
void SetTreeItemId (wxTreeItemId Id)
 Store the TreeItem id related to the object.

Public Attributes

gestionegestionepannello
int codice

Private Member Functions

void RimuoviSelezione ()
void EliminaClick (wxCommandEvent &event)

Private Attributes

wxTreeItemId TreeId
 Id of the reated tree item.
wxMenu * PopLista
 Right popup menu.
wxString descrizione

Detailed Description

Definition at line 17 of file TBasePanel.h.


Constructor & Destructor Documentation

TBasePanel::TBasePanel wxWindow *  parent,
wxWindowID  id = -1,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = 0,
const wxString &  name = "panel",
int  codiceoggetto = -1
 

Definition at line 10 of file TBasePanel.cpp.

TBasePanel::~TBasePanel  ) 
 

Definition at line 29 of file TBasePanel.cpp.

References gestionepannello, utilita::IdentSelezione, and utilita::Selezione.


Member Function Documentation

void TBasePanel::Elimina  ) 
 

Definition at line 135 of file TBasePanel.cpp.

References gestionepannello, utilita::objects, TListaW::RimuoviNodo(), utilita::Selezione, and TListaW::TrovaPosizione().

Referenced by EliminaClick(), OnKeyDown(), and PnlGraphFrame::WxdeleteClick().

void TBasePanel::EliminaClick wxCommandEvent &  event  )  [private]
 

Definition at line 47 of file TBasePanel.cpp.

References Elimina().

wxMenu * TBasePanel::GetPopUp  ) 
 

Return the pop-up menu of the object.

Returns:
the popoup menu

Definition at line 153 of file TBasePanel.cpp.

References PopLista.

wxTreeItemId TBasePanel::GetTreeItemId  ) 
 

Return the TreeItem id related to the object.

Returns:
the TreeItem id related to the object

Definition at line 162 of file TBasePanel.cpp.

References TreeId.

void TBasePanel::ImpostaBordi  ) 
 

Definition at line 95 of file TBasePanel.cpp.

References codice, gestionepannello, utilita::IdentSelezione, and utilita::Selezione.

Referenced by ImpostaSelezione(), PnlGraphFrame::OnGraphLClick(), and PnlGraphFrame::OnGraphRClick().

void TBasePanel::ImpostaSelezione  ) 
 

Definition at line 109 of file TBasePanel.cpp.

References gestionepannello, ImpostaBordi(), RimuoviSelezione(), and utilita::Selezione.

Referenced by PannelloBaseOnLD(), PannelloBaseOnRD(), and PnlFunzione::PnlFunzione().

void TBasePanel::ImpostaUtilita gestione gpannello  ) 
 

Definition at line 53 of file TBasePanel.cpp.

References gestionepannello.

Referenced by PnlFunzione::PnlFunzione().

void TBasePanel::OnKeyDown wxKeyEvent &  event  ) 
 

Key down event of WXK_DELETE deletes the window.

Reimplemented from wxResizeableControl.

Definition at line 61 of file TBasePanel.cpp.

References Elimina().

void TBasePanel::PannelloBaseOnLD wxMouseEvent &  event  ) 
 

Definition at line 126 of file TBasePanel.cpp.

References ImpostaSelezione().

void TBasePanel::PannelloBaseOnMotion wxMouseEvent &  event  ) 
 

Definition at line 37 of file TBasePanel.cpp.

References descrizione, gestionepannello, and utilita::Selezione.

void TBasePanel::PannelloBaseOnRD wxMouseEvent &  event  ) 
 

Definition at line 146 of file TBasePanel.cpp.

References ImpostaSelezione(), and PopLista.

void TBasePanel::RimuoviSelezione  )  [private]
 

Definition at line 84 of file TBasePanel.cpp.

References gestionepannello, utilita::IdentSelezione, and utilita::Selezione.

Referenced by ImpostaSelezione().

void TBasePanel::SetTreeItemId wxTreeItemId  Id  ) 
 

Store the TreeItem id related to the object.

Parameters:
id the tree item id of the object

Definition at line 157 of file TBasePanel.cpp.

References TreeId.


Member Data Documentation

int TBasePanel::codice
 

Definition at line 30 of file TBasePanel.h.

Referenced by PnlObjTree::Fill(), and ImpostaBordi().

wxString TBasePanel::descrizione [private]
 

Definition at line 60 of file TBasePanel.h.

Referenced by PannelloBaseOnMotion().

gestione* TBasePanel::gestionepannello
 

Definition at line 26 of file TBasePanel.h.

Referenced by Elimina(), ImpostaBordi(), ImpostaSelezione(), ImpostaUtilita(), PannelloBaseOnMotion(), RimuoviSelezione(), and ~TBasePanel().

wxMenu* TBasePanel::PopLista [private]
 

Right popup menu.

Definition at line 58 of file TBasePanel.h.

Referenced by GetPopUp(), and PannelloBaseOnRD().

wxTreeItemId TBasePanel::TreeId [private]
 

Id of the reated tree item.

Definition at line 55 of file TBasePanel.h.

Referenced by GetTreeItemId(), and SetTreeItemId().


The documentation for this class was generated from the following files:

 

SourceForge Logo