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 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()

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

Definition at line 68 of file monthgraphicsitems.h.

◆ downArrow()

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

Definition at line 93 of file monthgraphicsitems.h.

◆ firstFreeSpace()

int MonthCell::firstFreeSpace ( )

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
inline

Definition at line 63 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 88 of file monthgraphicsitems.h.

◆ x()

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

Definition at line 73 of file monthgraphicsitems.h.

◆ y()

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

Definition at line 78 of file monthgraphicsitems.h.

Member Data Documentation

◆ mHeightHash

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

Definition at line 58 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 56 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 Tue Mar 26 2024 11:12:29 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.