#include <QList>
#include <QLinkedList>
#include <QVector>
#include <QAbstractItemModel>
#include <QHeaderView>
#include <QPainterPath>
#include <QTimer>
#include "qxtnamespace.h"
#include "qxtpimpl.h"
#include "qxtscheduleitemdelegate.h"
Go to the source code of this file.
Classes | |
class | QxtScheduleInternalItem |
class | QxtScheduleViewPrivate |
Functions | |
bool | qxtScheduleItemLessThan (const QxtScheduleInternalItem *item1, const QxtScheduleInternalItem *item2) |
bool qxtScheduleItemLessThan | ( | const QxtScheduleInternalItem * | item1, |
const QxtScheduleInternalItem * | item2 | ||
) |
Definition at line 698 of file qxtscheduleview_p.cpp.
References QxtScheduleInternalItem::modelIndex(), and QxtScheduleInternalItem::visualStartTableOffset().
Referenced by QxtScheduleViewPrivate::findConcurrentItems().
{ if (item1->visualStartTableOffset() < item2->visualStartTableOffset()) return true; if (item1->visualStartTableOffset() == item2->visualStartTableOffset() && item1->modelIndex().row() < item2->modelIndex().row()) return true; return false; }