EventViews::MonthCell
#include <monthgraphicsitems.h>
Public Member Functions | |
MonthCell (int id, QDate date, QGraphicsScene *scene) | |
void | addMonthItem (MonthItem *manager, int height) |
QDate | date () const |
ScrollIndicator * | downArrow () const |
int | firstFreeSpace () |
bool | hasEventBelow (int height) |
int | id () const |
ScrollIndicator * | upArrow () const |
int | x () const |
int | y () const |
Static Public Member Functions | |
static int | topMargin () |
Public Attributes | |
QHash< int, MonthItem * > | mHeightHash |
QList< MonthItem * > | mMonthItemList |
Detailed Description
Keeps information about a month cell.
Definition at line 46 of file monthgraphicsitems.h.
Constructor & Destructor Documentation
◆ MonthCell()
MonthCell::MonthCell | ( | int | id, |
QDate | date, | ||
QGraphicsScene * | scene ) |
Definition at line 58 of file monthgraphicsitems.cpp.
◆ ~MonthCell()
MonthCell::~MonthCell | ( | ) |
Definition at line 69 of file monthgraphicsitems.cpp.
Member Function Documentation
◆ addMonthItem()
void MonthCell::addMonthItem | ( | MonthItem * | manager, |
int | height ) |
Definition at line 97 of file monthgraphicsitems.cpp.
◆ date()
|
inlinenodiscard |
Definition at line 68 of file monthgraphicsitems.h.
◆ downArrow()
|
inline |
Definition at line 93 of file monthgraphicsitems.h.
◆ firstFreeSpace()
|
nodiscard |
Definition at line 102 of file monthgraphicsitems.cpp.
◆ hasEventBelow()
bool MonthCell::hasEventBelow | ( | int | height | ) |
Definition at line 77 of file monthgraphicsitems.cpp.
◆ id()
|
inlinenodiscard |
Definition at line 63 of file monthgraphicsitems.h.
◆ topMargin()
|
static |
Definition at line 92 of file monthgraphicsitems.cpp.
◆ upArrow()
|
inline |
Definition at line 88 of file monthgraphicsitems.h.
◆ x()
|
inlinenodiscard |
Definition at line 73 of file monthgraphicsitems.h.
◆ y()
|
inlinenodiscard |
Definition at line 78 of file monthgraphicsitems.h.
Member Data Documentation
◆ mHeightHash
Definition at line 58 of file monthgraphicsitems.h.
◆ mMonthItemList
This is used to get the height of the minimum height (vertical position) in the month cells.
Definition at line 56 of file monthgraphicsitems.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:12:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.