#include "kdganttdatetimegrid.h"
#include "kdganttdatetimegrid_p.h"
#include "kdganttabstractrowcontroller.h"
#include <QApplication>
#include <QDateTime>
#include <QPainter>
#include <QStyle>
#include <QStyleOptionHeader>
#include <QWidget>
#include <QDebug>
#include <QList>
#include <cassert>
#include <QStandardItemModel>
#include "unittest/test.h"
#include "moc_kdganttdatetimegrid.cpp"
Go to the source code of this file.
Defines | |
#define | d d_func() |
Functions | |
KDAB_SCOPED_UNITTEST_SIMPLE (KDGantt, DateTimeGrid,"test") | |
QDebug | operator<< (QDebug dbg, KDGantt::DateTimeScaleFormatter::Range range) |
#define d d_func() |
Definition at line 88 of file kdganttdatetimegrid.cpp.
Referenced by KDGantt::DateTimeScaleFormatter::alignment(), KDGantt::DateTimeGrid::computeRect(), KDGantt::DateTimeScaleFormatter::currentRangeBegin(), KDGantt::DateTimeGrid::dateTimeRange(), KDGantt::DateTimeGrid::dayWidth(), KDGantt::DateTimeGrid::drawBackground(), KDGantt::DateTimeGrid::drawForeground(), KDGantt::DateTimeScaleFormatter::format(), KDGantt::DateTimeGrid::freeDays(), KDGantt::DateTimeGrid::freeDaysBrush(), KDGantt::DateTimeGrid::mapFromChart(), KDGantt::DateTimeGrid::mapFromDateTime(), KDGantt::DateTimeGrid::mapToChart(), KDGantt::DateTimeGrid::mapToDateTime(), KDGantt::DateTimeScaleFormatter::nextRangeBegin(), KDGantt::DateTimeGrid::noInformationBrush(), KDGantt::DateTimeGrid::paintDayScaleHeader(), KDGantt::DateTimeGrid::paintGrid(), KDGantt::DateTimeGrid::paintHeader(), KDGantt::DateTimeGrid::paintHourScaleHeader(), KDGantt::DateTimeGrid::paintMonthScaleHeader(), KDGantt::DateTimeGrid::paintUserDefinedHeader(), KDGantt::DateTimeGrid::paintWeekScaleHeader(), KDGantt::DateTimeScaleFormatter::range(), KDGantt::DateTimeGrid::rowSeparators(), KDGantt::DateTimeGrid::scale(), KDGantt::DateTimeGrid::setDayWidth(), KDGantt::DateTimeGrid::setFreeDays(), KDGantt::DateTimeGrid::setFreeDaysBrush(), KDGantt::DateTimeGrid::setNoInformationBrush(), KDGantt::DateTimeGrid::setRowSeparators(), KDGantt::DateTimeGrid::setScale(), KDGantt::DateTimeGrid::setStartDateTime(), KDGantt::DateTimeGrid::setUserDefinedLowerScale(), KDGantt::DateTimeGrid::setUserDefinedUpperScale(), KDGantt::DateTimeGrid::setWeekStart(), KDGantt::DateTimeGrid::startDateTime(), KDGantt::DateTimeScaleFormatter::text(), KDGantt::DateTimeGrid::userDefinedLowerScale(), KDGantt::DateTimeGrid::userDefinedUpperScale(), and KDGantt::DateTimeGrid::weekStart().
KDAB_SCOPED_UNITTEST_SIMPLE | ( | KDGantt | , | |
DateTimeGrid | , | |||
"test" | ||||
) |
Definition at line 1284 of file kdganttdatetimegrid.cpp.
References assertEqual, assertFalse, assertTrue, KDGantt::AbstractGrid::isSatisfiedConstraint(), KDGantt::Span::length(), KDGantt::DateTimeGrid::mapFromChart(), KDGantt::DateTimeGrid::mapFromDateTime(), KDGantt::DateTimeGrid::mapToChart(), KDGantt::DateTimeGrid::mapToDateTime(), KDGantt::Span::setEnd(), KDGantt::AbstractGrid::setModel(), KDGantt::DateTimeGrid::setStartDateTime(), and KDGantt::Span::start().
QDebug operator<< | ( | QDebug | dbg, | |
KDGantt::DateTimeScaleFormatter::Range | range | |||
) |
Definition at line 41 of file kdganttdatetimegrid.cpp.
References KDGantt::DateTimeScaleFormatter::Day, KDGantt::DateTimeScaleFormatter::Hour, KDGantt::DateTimeScaleFormatter::Minute, KDGantt::DateTimeScaleFormatter::Month, KDGantt::DateTimeScaleFormatter::Second, KDGantt::DateTimeScaleFormatter::Week, and KDGantt::DateTimeScaleFormatter::Year.