Logo Search packages:      
Sourcecode: taskjuggler version File versions  Download package

QtReportElement Class Reference

#include <QtReportElement.h>

Inheritance diagram for QtReportElement:

ReportElement

List of all members.


Detailed Description

Models the basic component of an Qt report.

Author:
Chris Schlaeger <cs@kde.org>

Definition at line 32 of file QtReportElement.h.


Public Types

enum  BarLabelText { BLT_EMPTY = 0, BLT_LOAD }

Public Member Functions

void addColumn (const TableColumnInfo *c)
void addColumnFormat (const QString &id, TableColumnFormat *tcf)
void addScenario (int sc)
void clearColumns ()
void clearScenarios ()
const TableColumnInfocolumnsAt (uint idx) const
bool filterAccountList (AccountList &filteredList, AccountType at, ExpressionTree *hideExp, ExpressionTree *rollUpExp) const
bool filterResourceList (ResourceList &filteredList, const Task *t, ExpressionTree *hideExp, ExpressionTree *rollUpExp) const
bool filterTaskList (TaskList &filteredList, const Resource *r, ExpressionTree *hideExp, ExpressionTree *rollUpExp) const
virtual void genCellCompleted (TableCellInfo *)
virtual void genCellCost (TableCellInfo *)
virtual void genCellCriticalness (TableCellInfo *)
virtual void genCellDailyAccount (TableCellInfo *)
virtual void genCellDailyResource (TableCellInfo *)
virtual void genCellDailyTask (TableCellInfo *)
virtual void genCellDepends (TableCellInfo *)
virtual void genCellDuration (TableCellInfo *)
virtual void genCellEfficiency (TableCellInfo *)
virtual void genCellEffort (TableCellInfo *)
virtual void genCellEmpty (TableCellInfo *)
virtual void genCellEnd (TableCellInfo *)
virtual void genCellEndBuffer (TableCellInfo *)
virtual void genCellEndBufferStart (TableCellInfo *)
virtual void genCellFlags (TableCellInfo *)
virtual void genCellFollows (TableCellInfo *)
virtual void genCellFreeLoad (TableCellInfo *)
virtual void genCellHierarchIndex (TableCellInfo *)
virtual void genCellHierarchNo (TableCellInfo *)
virtual void genCellId (TableCellInfo *)
virtual void genCellIndex (TableCellInfo *)
virtual void genCellKotrusId (TableCellInfo *)
virtual void genCellMaxEffort (TableCellInfo *)
virtual void genCellMaxEnd (TableCellInfo *)
virtual void genCellMaxStart (TableCellInfo *)
virtual void genCellMinEffort (TableCellInfo *)
virtual void genCellMinEnd (TableCellInfo *)
virtual void genCellMinStart (TableCellInfo *)
virtual void genCellMonthlyAccount (TableCellInfo *)
virtual void genCellMonthlyResource (TableCellInfo *)
virtual void genCellMonthlyTask (TableCellInfo *)
virtual void genCellName (TableCellInfo *)
virtual void genCellNo (TableCellInfo *)
virtual void genCellPathCriticalness (TableCellInfo *)
virtual void genCellPriority (TableCellInfo *)
virtual void genCellProfit (TableCellInfo *)
virtual void genCellProjectId (TableCellInfo *)
virtual void genCellProjectIDs (TableCellInfo *)
virtual void genCellQuarterlyAccount (TableCellInfo *)
virtual void genCellQuarterlyResource (TableCellInfo *)
virtual void genCellQuarterlyTask (TableCellInfo *)
virtual void genCellRate (TableCellInfo *)
virtual void genCellReference (TableCellInfo *)
virtual void genCellResources (TableCellInfo *)
virtual void genCellResponsibilities (TableCellInfo *)
virtual void genCellResponsible (TableCellInfo *)
virtual void genCellRevenue (TableCellInfo *)
virtual void genCellScenario (TableCellInfo *)
virtual void genCellSchedule (TableCellInfo *)
virtual void genCellSequenceNo (TableCellInfo *)
virtual void genCellStart (TableCellInfo *)
virtual void genCellStartBuffer (TableCellInfo *)
virtual void genCellStartBufferEnd (TableCellInfo *)
virtual void genCellStatus (TableCellInfo *)
virtual void genCellStatusNote (TableCellInfo *)
virtual void genCellSummary (TableCellInfo *)
virtual void genCellText (TableCellInfo *)
virtual void genCellTotal (TableCellInfo *)
virtual void genCellUtilization (TableCellInfo *)
virtual void genCellWeeklyAccount (TableCellInfo *)
virtual void genCellWeeklyResource (TableCellInfo *)
virtual void genCellWeeklyTask (TableCellInfo *)
virtual void genCellYearlyAccount (TableCellInfo *)
virtual void genCellYearlyResource (TableCellInfo *)
virtual void genCellYearlyTask (TableCellInfo *)
virtual bool generate ()
virtual void genHeadCurrency (TableCellInfo *)
virtual void genHeadDaily1 (TableCellInfo *)
virtual void genHeadDaily2 (TableCellInfo *)
virtual void genHeadDefault (TableCellInfo *)
virtual void genHeadMonthly1 (TableCellInfo *)
virtual void genHeadMonthly2 (TableCellInfo *)
virtual void genHeadQuarterly1 (TableCellInfo *)
virtual void genHeadQuarterly2 (TableCellInfo *)
virtual void genHeadWeekly1 (TableCellInfo *)
virtual void genHeadWeekly2 (TableCellInfo *)
virtual void genHeadYear (TableCellInfo *)
int getAccountSorting (int level) const
const QString & getCaption () const
const TableColumnFormatgetColumnFormat (const QString &key) const
QPtrListIterator< TableColumnInfogetColumnsIterator () const
time_t getEnd () const
const QString & getHeadline () const
ExpressionTreegetHideAccount () const
ExpressionTreegetHideResource () const
ExpressionTreegetHideTask () const
const RealFormat & getNumberFormat () const
ReportgetReport () const
int getResourceSorting (int level) const
ExpressionTreegetRollUpAccount () const
ExpressionTreegetRollUpResource () const
ExpressionTreegetRollUpTask () const
int getScenario (int sc) const
uint getScenarioCount () const
const QString & getShortTimeFormat () const
bool getShowPIDs () const
time_t getStart () const
QStringList getSupportedColumnList () const
const QString & getTaskRoot () const
int getTaskSorting (int level) const
const QString getTimeFormat () const
bool isHidden (const CoreAttributes *c, ExpressionTree *et) const
bool isRolledUp (const CoreAttributes *c, ExpressionTree *et) const
bool isSupportedColumn (const QString &id) const
 QtReportElement (Report *r, const QString &df, int dl)
QString scaledDuration (double t, const RealFormat &realFormat, bool showUnit=false, bool longUnit=false) const
QString scaledLoad (double t, const RealFormat &realFormat, bool showUnit=false, bool longUnit=false) const
bool setAccountSorting (int sc, int level)
void setAccumulate (bool s)
void setBarLabels (BarLabelText blt)
void setCaption (const QString &c)
void setEnd (time_t e)
void setHeadline (const QString &hl)
void setHideAccount (ExpressionTree *et)
void setHideResource (ExpressionTree *et)
void setHideTask (ExpressionTree *et)
bool setLoadUnit (const QString &u)
void setMacros (TableLineInfo *tli)
void setRawHead (const QString &head)
void setRawTail (const QString &tail)
bool setResourceSorting (int sc, int level)
void setRollUpAccount (ExpressionTree *et)
void setRollUpResource (ExpressionTree *et)
void setRollUpTask (ExpressionTree *et)
void setShortTimeFormat (const QString &tf)
void setShowPIDs (bool s)
void setStart (time_t s)
void setTaskRoot (const QString &root)
bool setTaskSorting (int sc, int level)
void setTimeFormat (const QString &tf)
bool showAccountTree () const
bool showResourceTree () const
bool showTaskTree () const
void sortAccountList (AccountList &filteredList) const
void sortResourceList (ResourceList &filteredList) const
void sortTaskList (TaskList &filteredList) const
int taskRootLevel () const

Protected Member Functions

void addCustomAttributeColumns (const QDict< const CustomAttributeDefinition > &cad)
void errorMessage (const char *msg,...)
void puts (const QString &str)
void reportValue (double value, const QString &bgcol, bool bold)
QTextStream & s () const
QString scaledValue (double t, const RealFormat &realFormat, bool showUnit, bool longUnit, const QValueList< double > &factors) const
QString stripTaskRoot (QString taskId) const

Protected Attributes

int accountSortCriteria [CoreAttributesList::maxSortingLevel]
bool accumulate
BarLabelText barLabels
QString caption
TableColorSet colors
QDict< TableColumnFormatcolumnFormat
QPtrList< TableColumnInfocolumns
RealFormat currencyFormat
int defFileLine
QString defFileName
time_t end
QString headline
ExpressionTreehideAccount
ExpressionTreehideResource
ExpressionTreehideTask
LoadUnit loadUnit
uint maxDepthAccountList
uint maxDepthResourceList
uint maxDepthTaskList
MacroTable mt
RealFormat numberFormat
QString rawHead
QString rawTail
Reportreport
int resourceSortCriteria [CoreAttributesList::maxSortingLevel]
ExpressionTreerollUpAccount
ExpressionTreerollUpResource
ExpressionTreerollUpTask
QValueList< int > scenarios
QString shortTimeFormat
bool showPIDs
time_t start
QString taskRoot
int taskSortCriteria [CoreAttributesList::maxSortingLevel]
QString timeFormat

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

Generated by  Doxygen 1.6.0   Back to index