SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::gui::qt::WindowVisitor Class Reference

#include <WindowVisitor.h>

Inheritance diagram for sofa::gui::qt::WindowVisitor:

Public Attributes

QWidgetstatsWidget
 

Protected Attributes

std::vector< dataTimecomponentsTime
 
std::vector< dataTimevisitorsTime
 
std::vector< dataTimecomponentsTimeTotal
 
std::vector< dataTimevisitorsTimeTotal
 
std::vector< dataTimecomponentsTimeMax
 
std::vector< dataTimevisitorsTimeMax
 
QVisitorControlPanelcontrolPanel
 
ChartsWidgetchartsComponent
 
ChartsWidgetchartsVisitor
 
QComboBox * typeOfCharts
 

Static Protected Attributes

static QPixmap * icons [OTHER+1]
 

Public Member Functions

 WindowVisitor (QWidget *parent)
 
void collapseNode (QTreeWidgetItem *item)
 
void expandNode (QTreeWidgetItem *item)
 
void setCharts (std::vector< dataTime > &latestC, std::vector< dataTime > &maxTC, std::vector< dataTime > &totalC, std::vector< dataTime > &latestV, std::vector< dataTime > &maxTV, std::vector< dataTime > &totalV)
 

Protected Member Functions

bool setFocusOn (QTreeWidgetItem *item, QString text)
 

Signals

void WindowVisitorClosed (bool)
 

Public Slots

void setCurrentCharts (int)
 
void rightClick (const QPoint &point)
 
void collapseNode ()
 
void expandNode ()
 
void focusOn (QString focus)
 
static componentType getComponentType (std::string name)
 
static QPixmap * getPixmap (componentType t)
 
void closeEvent (QCloseEvent *)
 
void clearGraph ()
 

Attribute details

ChartsWidget* sofa::gui::qt::WindowVisitor::chartsComponent
protected
ChartsWidget* sofa::gui::qt::WindowVisitor::chartsVisitor
protected
std::vector< dataTime > sofa::gui::qt::WindowVisitor::componentsTime
protected
std::vector< dataTime > sofa::gui::qt::WindowVisitor::componentsTimeMax
protected
std::vector< dataTime > sofa::gui::qt::WindowVisitor::componentsTimeTotal
protected
QVisitorControlPanel* sofa::gui::qt::WindowVisitor::controlPanel
protected
QPixmap * sofa::gui::qt::WindowVisitor::icons
staticprotected
QWidget* sofa::gui::qt::WindowVisitor::statsWidget
QComboBox* sofa::gui::qt::WindowVisitor::typeOfCharts
protected
std::vector< dataTime > sofa::gui::qt::WindowVisitor::visitorsTime
protected
std::vector< dataTime > sofa::gui::qt::WindowVisitor::visitorsTimeMax
protected
std::vector< dataTime > sofa::gui::qt::WindowVisitor::visitorsTimeTotal
protected

Constructor details

sofa::gui::qt::WindowVisitor::WindowVisitor ( QWidget parent)

Function details

void sofa::gui::qt::WindowVisitor::clearGraph ( )
inlineslot
void sofa::gui::qt::WindowVisitor::closeEvent ( QCloseEvent *  )
inlineslot
void sofa::gui::qt::WindowVisitor::collapseNode ( QTreeWidgetItem *  item)
void sofa::gui::qt::WindowVisitor::collapseNode ( )
slot
void sofa::gui::qt::WindowVisitor::expandNode ( QTreeWidgetItem *  item)
void sofa::gui::qt::WindowVisitor::expandNode ( )
slot
void sofa::gui::qt::WindowVisitor::focusOn ( QString  focus)
slot
static componentType sofa::gui::qt::WindowVisitor::getComponentType ( std::string  name)
inlinestaticslot
static QPixmap* sofa::gui::qt::WindowVisitor::getPixmap ( componentType  t)
inlinestaticslot
void sofa::gui::qt::WindowVisitor::rightClick ( const QPoint &  point)
slot
void sofa::gui::qt::WindowVisitor::setCharts ( std::vector< dataTime > &  latestC,
std::vector< dataTime > &  maxTC,
std::vector< dataTime > &  totalC,
std::vector< dataTime > &  latestV,
std::vector< dataTime > &  maxTV,
std::vector< dataTime > &  totalV 
)
void sofa::gui::qt::WindowVisitor::setCurrentCharts ( int  type)
slot
bool sofa::gui::qt::WindowVisitor::setFocusOn ( QTreeWidgetItem *  item,
QString  text 
)
protected
void sofa::gui::qt::WindowVisitor::WindowVisitorClosed ( bool  )
signal

Enum details

Enumerator
NODE 
COMMENT 
COMPONENT 
VECTOR 
OTHER