SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::gui::qt::PieWidget Class Reference

#include <PieWidget.h>

Inheritance diagram for sofa::gui::qt::PieWidget:

Static Public Attributes

static std::vector< defaulttype::Vec< 3, int > > colorArray
 

Protected Attributes

std::vector< dataTimedata
 
unsigned int selection
 
double totalTime
 
int sizePie
 

Public Member Functions

 PieWidget (QWidget *parent)
 
void paintEvent (QPaintEvent *)
 
void setChart (std::vector< dataTime > &value, unsigned int s)
 
void clear ()
 

Static Public Member Functions

static defaulttype::Vec< 3, intgetColor (int i)
 

Attribute details

std::vector< defaulttype::Vec< 3, int > > sofa::gui::qt::PieWidget::colorArray
static
std::vector< dataTime > sofa::gui::qt::PieWidget::data
protected
unsigned int sofa::gui::qt::PieWidget::selection
protected
int sofa::gui::qt::PieWidget::sizePie
protected
double sofa::gui::qt::PieWidget::totalTime
protected

Constructor details

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

Function details

void sofa::gui::qt::PieWidget::clear ( )
defaulttype::Vec< 3, int > sofa::gui::qt::PieWidget::getColor ( int  i)
static
void sofa::gui::qt::PieWidget::paintEvent ( QPaintEvent *  )
void sofa::gui::qt::PieWidget::setChart ( std::vector< dataTime > &  value,
unsigned int  s 
)