#include <costcentrechild.h>
Inherits ChildWindow.
Signals | |
void | setMdiAreaEnabled (bool) |
void | editInformationAvailable (const CostCentreModel *table, const QModelIndexList affectedRows) |
Public Member Functions | |
CostCentreChild () | |
void | setModel (CostCentreModel *model) |
virtual CostCentreModel * | model () const |
void | setCostTypeModel (CostTypeModel *costtype) |
CostTypeModel * | costTypeModel () const |
void | setProxyModel (CostCentreFilterModel *model) |
CostCentreFilterModel * | proxyModel () const |
void | newFile () |
bool | loadDocument (const QDomElement fileName) |
void | addPosition (QStringList) |
void | addCostCentre (QString name, int type) |
void | setBase (QString columnName, QString) |
void | setBase (int column, QString) |
QTableView * | tableViewWidget () const |
Protected Member Functions | |
void | closeEvent (QCloseEvent *event) |
Definition at line 17 of file costcentrechild.h.
CostCentreChild::CostCentreChild | ( | ) |
void CostCentreChild::addCostCentre | ( | QString | name, | |
int | type | |||
) |
void CostCentreChild::addPosition | ( | QStringList | items | ) |
void CostCentreChild::closeEvent | ( | QCloseEvent * | event | ) | [protected] |
Definition at line 102 of file costcentrechild.cpp.
CostTypeModel* CostCentreChild::costTypeModel | ( | ) | const [inline] |
Definition at line 31 of file costcentrechild.h.
void CostCentreChild::editInformationAvailable | ( | const CostCentreModel * | table, | |
const QModelIndexList | affectedRows | |||
) | [signal] |
bool CostCentreChild::loadDocument | ( | const QDomElement | fileName | ) |
virtual CostCentreModel* CostCentreChild::model | ( | ) | const [inline, virtual] |
Definition at line 25 of file costcentrechild.h.
void CostCentreChild::newFile | ( | ) |
CostCentreFilterModel* CostCentreChild::proxyModel | ( | ) | const [inline] |
Definition at line 37 of file costcentrechild.h.
void CostCentreChild::setBase | ( | int | column, | |
QString | base | |||
) |
void CostCentreChild::setBase | ( | QString | columnName, | |
QString | base | |||
) |
void CostCentreChild::setCostTypeModel | ( | CostTypeModel * | costtype | ) |
void CostCentreChild::setMdiAreaEnabled | ( | bool | ) | [signal] |
void CostCentreChild::setModel | ( | CostCentreModel * | model | ) |
Definition at line 22 of file costcentrechild.cpp.
void CostCentreChild::setProxyModel | ( | CostCentreFilterModel * | model | ) |
Definition at line 35 of file costcentrechild.cpp.
QTableView* CostCentreChild::tableViewWidget | ( | ) | const [inline] |
Definition at line 51 of file costcentrechild.h.