FactDev  0.1
Gui::Widgets::RateWidget Class Reference

Class for display Rate. More...

#include <ratewidget.h>

Inheritance diagram for Gui::Widgets::RateWidget:

Public Slots

void setDailyRate ()
 setDailyRate Set a new value for the daily rate More...
 
void setHourlyRate ()
 setHourlyRate Set a new value for the hourly rate More...
 

Public Member Functions

 RateWidget (QWidget *parent=0)
 RateWidget::RateWidget Construct a rate widget. More...
 
void initRate ()
 RateWidget::initRate Initialize the rate.
 
void setWidgetDailyRateValue (double value)
 RateWidget::setWidgetDailyRateValue Modify the value of the daily rate spin box component. More...
 
double getDailyRate ()
 RateWidget::getDailyRate Get the daily rate. More...
 
double getHourlyRate ()
 RateWidget::getHourlyRate Get the hourly rate. More...
 
void setWidgetHourlyRateValue (double value)
 RateWidget::setWidgetHourlyRateValue Modify the value of the hourly rate spin box component. More...
 
void updateConversionRate ()
 updateConversionRate Update daily rate or hourly rate
 

Detailed Description

Class for display Rate.

Author
Florent Berbie

Constructor & Destructor Documentation

Gui::Widgets::RateWidget::RateWidget ( QWidget *  parent = 0)
explicit

RateWidget::RateWidget Construct a rate widget.

Parameters
parentThe QWidget parent

Member Function Documentation

double Gui::Widgets::RateWidget::getDailyRate ( )

RateWidget::getDailyRate Get the daily rate.

Returns
The daily rate
double Gui::Widgets::RateWidget::getHourlyRate ( )

RateWidget::getHourlyRate Get the hourly rate.

Returns
The hourly rate
void Gui::Widgets::RateWidget::setDailyRate ( )
slot

setDailyRate Set a new value for the daily rate

Parameters
dailyRateThe new daily rate
void Gui::Widgets::RateWidget::setHourlyRate ( )
slot

setHourlyRate Set a new value for the hourly rate

Parameters
hourlyRateThe new hourly rate
void Gui::Widgets::RateWidget::setWidgetDailyRateValue ( double  value)

RateWidget::setWidgetDailyRateValue Modify the value of the daily rate spin box component.

Parameters
valueNew Value
void Gui::Widgets::RateWidget::setWidgetHourlyRateValue ( double  value)

RateWidget::setWidgetHourlyRateValue Modify the value of the hourly rate spin box component.

Parameters
valueNew value

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