FactDev  0.1
Gui::Widgets::ContributoriesWidget Class Reference

The ContributoriesWidget class Widget of Contributories. More...

#include <contributorieswidget.h>

Inheritance diagram for Gui::Widgets::ContributoriesWidget:

Public Slots

void add (void)
 ContributoriesWidget::add Add a new empty contributory.
 
void remove (void)
 ContributoriesWidget::remove Remove the current contributory.
 
void addProject (QPair< Project *, Rate > *p=0)
 ContributoriesWidget::addProject Add a Projet and it rate p More...
 
void removeProject (void)
 ContributoriesWidget::removeProject Remove the current Project.
 
void changeProject (void)
 ContributoriesWidget::changeProject Change the current Project.
 
void editing (void)
 ContributoriesWidget::editing Remove the current Project in the combobox not used.
 
void updateUi (void)
 ContributoriesWidget::updateUi Update the User Interface.
 
void updatePrice (void)
 ContributoriesWidget::updatePrice Update total price.
 

Signals

void contributoryChanged ()
 ContributoriesWidget::contributoryChanged Signal that a contributory has changed.
 

Public Member Functions

 ContributoriesWidget (QSharedPointer< Customer > c, QWidget *parent=0)
 ContributoriesWidget::ContributoriesWidget Construct a ContributoriesWidget. More...
 
ContributoriesListgetContributories () const
 ContributoriesWidget::getContributories Get contributories List. More...
 
int count ()
 ContributoriesWidget::count Numbers of contributories. More...
 
void add (ContributoriesList &list)
 ContributoriesWidget::add Add contributorieslist list in the model. More...
 
void responsiveProjectsTable ()
 ContributoriesList::responsiveProjectsTable Update UI to do responsive projects table.
 
void responsiveContributoriesTable (QTableView *view)
 ContributoriesList::responsiveContributoriesTable Update the contributories table view to do responsive. More...
 

Detailed Description

The ContributoriesWidget class Widget of Contributories.

Constructor & Destructor Documentation

Gui::Widgets::ContributoriesWidget::ContributoriesWidget ( QSharedPointer< Customer c,
QWidget *  parent = 0 
)
explicit

ContributoriesWidget::ContributoriesWidget Construct a ContributoriesWidget.

Parameters
cCustomer
parentWidget parent

Member Function Documentation

void Gui::Widgets::ContributoriesWidget::add ( ContributoriesList list)

ContributoriesWidget::add Add contributorieslist list in the model.

Parameters
listthe ContributoriesList
void Gui::Widgets::ContributoriesWidget::addProject ( QPair< Project *, Rate > *  p = 0)
slot

ContributoriesWidget::addProject Add a Projet and it rate p

Parameters
pRate linked to Project
int Gui::Widgets::ContributoriesWidget::count ( )

ContributoriesWidget::count Numbers of contributories.

Returns
Numbers of contributories
ContributoriesList * Gui::Widgets::ContributoriesWidget::getContributories ( ) const

ContributoriesWidget::getContributories Get contributories List.

Returns
ContributoriesList
void Gui::Widgets::ContributoriesWidget::responsiveContributoriesTable ( QTableView *  view)

ContributoriesList::responsiveContributoriesTable Update the contributories table view to do responsive.

Parameters
viewSpecific contributories table

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