Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/mymoney/mymoneyreport.h
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Line(s) | 60 | public: | |||
---|---|---|---|---|---|
67 | */ | 67 | */ | ||
68 | static QString toString(Type type); | 68 | static QString toString(Type type); | ||
69 | static const QStringList kText; | 69 | static const QStringList kText; | ||
70 | }; | 70 | }; | ||
71 | 71 | | |||
72 | class Report { | 72 | class Report { | ||
73 | public: | 73 | public: | ||
74 | enum Type { NoReport = 0, PivotTable, QueryTable, InfoTable }; | 74 | enum Type { NoReport = 0, PivotTable, QueryTable, InfoTable }; | ||
75 | /** | ||||
76 | * Return report type as string. | ||||
77 | * | ||||
78 | * @param type report type to get string for | ||||
79 | * @return report type converted to string | ||||
80 | */ | ||||
75 | static QString toString(Type type); | 81 | static QString toString(Type type); | ||
76 | static const Type kTypeArray[]; | 82 | static const Type kTypeArray[]; | ||
77 | }; | 83 | }; | ||
78 | 84 | | |||
79 | class Column { | 85 | class Column { | ||
80 | public: | 86 | public: | ||
81 | enum Type { NoColumns = 0, Days = 1, Months = 1, BiMonths = 2, Quarters = 3, Weeks = 7, Years = 12 }; | 87 | enum Type { NoColumns = 0, Days = 1, Months = 1, BiMonths = 2, Quarters = 3, Weeks = 7, Years = 12 }; | ||
82 | static const QStringList kTypeText; | 88 | static const QStringList kTypeText; | ||
▲ Show 20 Lines • Show All 424 Lines • ▼ Show 20 Line(s) | 105 | public: | |||
507 | virtual bool hasReferenceTo(const QString& id) const; | 513 | virtual bool hasReferenceTo(const QString& id) const; | ||
508 | 514 | | |||
509 | /** | 515 | /** | ||
510 | * This method allows to modify the default lineWidth for graphs. | 516 | * This method allows to modify the default lineWidth for graphs. | ||
511 | * The default is 2. | 517 | * The default is 2. | ||
512 | */ | 518 | */ | ||
513 | static void setLineWidth(int width); | 519 | static void setLineWidth(int width); | ||
514 | 520 | | |||
515 | /** | | |||
516 | * Return report type as string. | | |||
517 | * | | |||
518 | * @param type report type to get string for | | |||
519 | * @return report type converted to string | | |||
520 | */ | | |||
521 | static QString toString(MyMoneyReport::Report::Type type); | | |||
522 | | ||||
523 | private: | 521 | private: | ||
524 | /** | 522 | /** | ||
525 | * The user-assigned name of the report | 523 | * The user-assigned name of the report | ||
526 | */ | 524 | */ | ||
527 | QString m_name; | 525 | QString m_name; | ||
528 | /** | 526 | /** | ||
529 | * The user-assigned comment for the report, in case they want to make | 527 | * The user-assigned comment for the report, in case they want to make | ||
530 | * additional notes for themselves about the report. | 528 | * additional notes for themselves about the report. | ||
▲ Show 20 Lines • Show All 197 Lines • Show Last 20 Lines |