kdgantt2
#include <kdganttdatetimegrid_p.h>
Public Member Functions | |
Private () | |
~Private () | |
QDateTime | chartXtoDateTime (qreal x) const |
qreal | dateTimeToChartX (const QDateTime &dt) const |
void | getAutomaticFormatters (DateTimeScaleFormatter **lower, DateTimeScaleFormatter **upper) |
void | paintVerticalDayLines (QPainter *painter, const QRectF &sceneRect, const QRectF &exposedRect, QWidget *widget) |
void | paintVerticalHourLines (QPainter *painter, const QRectF &sceneRect, const QRectF &exposedRect, QWidget *widget) |
void | paintVerticalUserDefinedLines (QPainter *painter, const QRectF &sceneRect, const QRectF &exposedRect, const DateTimeScaleFormatter *formatter, QWidget *widget) |
int | tabHeight (const QString &txt, QWidget *widget=0) const |
Public Attributes | |
DateTimeScaleFormatter | day_lower |
DateTimeScaleFormatter | day_upper |
qreal | dayWidth |
QDateTime | endDateTime |
QSet< Qt::DayOfWeek > | freeDays |
DateTimeScaleFormatter | hour_lower |
DateTimeScaleFormatter | hour_upper |
DateTimeScaleFormatter * | lower |
DateTimeScaleFormatter | minute_lower |
DateTimeScaleFormatter | minute_upper |
DateTimeScaleFormatter | month_lower |
DateTimeScaleFormatter | month_upper |
QBrush | noInformationBrush |
bool | rowSeparators |
Scale | scale |
QDateTime | startDateTime |
DateTimeScaleFormatter * | upper |
DateTimeScaleFormatter | week_lower |
DateTimeScaleFormatter | week_upper |
Qt::DayOfWeek | weekStart |
DateTimeScaleFormatter | year_lower |
DateTimeScaleFormatter | year_upper |
Public Attributes inherited from KDGantt::AbstractGrid::Private | |
QPointer< QAbstractItemModel > | model |
QPersistentModelIndex | root |
Detailed Description
Definition at line 55 of file kdganttdatetimegrid_p.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 57 of file kdganttdatetimegrid_p.h.
|
inline |
Definition at line 81 of file kdganttdatetimegrid_p.h.
Member Function Documentation
QDateTime DateTimeGrid::Private::chartXtoDateTime | ( | qreal | x | ) | const |
Definition at line 77 of file kdganttdatetimegrid.cpp.
qreal DateTimeGrid::Private::dateTimeToChartX | ( | const QDateTime & | dt | ) | const |
Definition at line 67 of file kdganttdatetimegrid.cpp.
void DateTimeGrid::Private::getAutomaticFormatters | ( | DateTimeScaleFormatter ** | lower, |
DateTimeScaleFormatter ** | upper | ||
) |
Definition at line 721 of file kdganttdatetimegrid.cpp.
void DateTimeGrid::Private::paintVerticalDayLines | ( | QPainter * | painter, |
const QRectF & | sceneRect, | ||
const QRectF & | exposedRect, | ||
QWidget * | widget | ||
) |
Definition at line 564 of file kdganttdatetimegrid.cpp.
void DateTimeGrid::Private::paintVerticalHourLines | ( | QPainter * | painter, |
const QRectF & | sceneRect, | ||
const QRectF & | exposedRect, | ||
QWidget * | widget | ||
) |
Definition at line 592 of file kdganttdatetimegrid.cpp.
void DateTimeGrid::Private::paintVerticalUserDefinedLines | ( | QPainter * | painter, |
const QRectF & | sceneRect, | ||
const QRectF & | exposedRect, | ||
const DateTimeScaleFormatter * | formatter, | ||
QWidget * | widget | ||
) |
Definition at line 620 of file kdganttdatetimegrid.cpp.
int DateTimeGrid::Private::tabHeight | ( | const QString & | txt, |
QWidget * | widget = 0 |
||
) | const |
Definition at line 709 of file kdganttdatetimegrid.cpp.
Member Data Documentation
DateTimeScaleFormatter KDGantt::DateTimeGrid::Private::day_lower |
Definition at line 127 of file kdganttdatetimegrid_p.h.
DateTimeScaleFormatter KDGantt::DateTimeGrid::Private::day_upper |
Definition at line 126 of file kdganttdatetimegrid_p.h.
qreal KDGantt::DateTimeGrid::Private::dayWidth |
Definition at line 110 of file kdganttdatetimegrid_p.h.
QDateTime KDGantt::DateTimeGrid::Private::endDateTime |
Definition at line 109 of file kdganttdatetimegrid_p.h.
QSet<Qt::DayOfWeek> KDGantt::DateTimeGrid::Private::freeDays |
Definition at line 113 of file kdganttdatetimegrid_p.h.
DateTimeScaleFormatter KDGantt::DateTimeGrid::Private::hour_lower |
Definition at line 129 of file kdganttdatetimegrid_p.h.
DateTimeScaleFormatter KDGantt::DateTimeGrid::Private::hour_upper |
Definition at line 128 of file kdganttdatetimegrid_p.h.
DateTimeScaleFormatter* KDGantt::DateTimeGrid::Private::lower |
Definition at line 118 of file kdganttdatetimegrid_p.h.
DateTimeScaleFormatter KDGantt::DateTimeGrid::Private::minute_lower |
Definition at line 131 of file kdganttdatetimegrid_p.h.
DateTimeScaleFormatter KDGantt::DateTimeGrid::Private::minute_upper |
Definition at line 130 of file kdganttdatetimegrid_p.h.
DateTimeScaleFormatter KDGantt::DateTimeGrid::Private::month_lower |
Definition at line 123 of file kdganttdatetimegrid_p.h.
DateTimeScaleFormatter KDGantt::DateTimeGrid::Private::month_upper |
Definition at line 122 of file kdganttdatetimegrid_p.h.
QBrush KDGantt::DateTimeGrid::Private::noInformationBrush |
Definition at line 115 of file kdganttdatetimegrid_p.h.
bool KDGantt::DateTimeGrid::Private::rowSeparators |
Definition at line 114 of file kdganttdatetimegrid_p.h.
Scale KDGantt::DateTimeGrid::Private::scale |
Definition at line 111 of file kdganttdatetimegrid_p.h.
QDateTime KDGantt::DateTimeGrid::Private::startDateTime |
Definition at line 108 of file kdganttdatetimegrid_p.h.
DateTimeScaleFormatter* KDGantt::DateTimeGrid::Private::upper |
Definition at line 117 of file kdganttdatetimegrid_p.h.
DateTimeScaleFormatter KDGantt::DateTimeGrid::Private::week_lower |
Definition at line 125 of file kdganttdatetimegrid_p.h.
DateTimeScaleFormatter KDGantt::DateTimeGrid::Private::week_upper |
Definition at line 124 of file kdganttdatetimegrid_p.h.
Qt::DayOfWeek KDGantt::DateTimeGrid::Private::weekStart |
Definition at line 112 of file kdganttdatetimegrid_p.h.
DateTimeScaleFormatter KDGantt::DateTimeGrid::Private::year_lower |
Definition at line 121 of file kdganttdatetimegrid_p.h.
DateTimeScaleFormatter KDGantt::DateTimeGrid::Private::year_upper |
Definition at line 120 of file kdganttdatetimegrid_p.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.