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 49 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 71 of file monthgraphicsitems.h.
◆ downArrow()
|
inline |
Definition at line 96 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 66 of file monthgraphicsitems.h.
◆ topMargin()
|
static |
Definition at line 92 of file monthgraphicsitems.cpp.
◆ upArrow()
|
inline |
Definition at line 91 of file monthgraphicsitems.h.
◆ x()
|
inlinenodiscard |
Definition at line 76 of file monthgraphicsitems.h.
◆ y()
|
inlinenodiscard |
Definition at line 81 of file monthgraphicsitems.h.
Member Data Documentation
◆ mHeightHash
Definition at line 61 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 59 of file monthgraphicsitems.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.