EventViews::MonthCell

Search for usage in LXR

#include <monthgraphicsitems.h>

Public Member Functions

 MonthCell (int id, QDate date, QGraphicsScene *scene)
 
void addMonthItem (MonthItem *manager, int height)
 
QDate date () const
 
ScrollIndicatordownArrow () const
 
int firstFreeSpace ()
 
bool hasEventBelow (int height)
 
int id () const
 
ScrollIndicatorupArrow () 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()

QDate EventViews::MonthCell::date ( ) const
inlinenodiscard

Definition at line 71 of file monthgraphicsitems.h.

◆ downArrow()

ScrollIndicator * EventViews::MonthCell::downArrow ( ) const
inline

Definition at line 96 of file monthgraphicsitems.h.

◆ firstFreeSpace()

int MonthCell::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()

int EventViews::MonthCell::id ( ) const
inlinenodiscard

Definition at line 66 of file monthgraphicsitems.h.

◆ topMargin()

int MonthCell::topMargin ( )
static

Definition at line 92 of file monthgraphicsitems.cpp.

◆ upArrow()

ScrollIndicator * EventViews::MonthCell::upArrow ( ) const
inline

Definition at line 91 of file monthgraphicsitems.h.

◆ x()

int EventViews::MonthCell::x ( ) const
inlinenodiscard

Definition at line 76 of file monthgraphicsitems.h.

◆ y()

int EventViews::MonthCell::y ( ) const
inlinenodiscard

Definition at line 81 of file monthgraphicsitems.h.

Member Data Documentation

◆ mHeightHash

QHash<int, MonthItem *> EventViews::MonthCell::mHeightHash

Definition at line 61 of file monthgraphicsitems.h.

◆ mMonthItemList

QList<MonthItem *> EventViews::MonthCell::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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:05:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.