Logo Search packages:      
Sourcecode: qtodo version File versions  Download package

QCalMonthLookup Class Reference

#include <qcalmonthlookup.h>

Inheritance diagram for QCalMonthLookup:


List of all members.

Detailed Description

Lookup widget for dates.

Stephan Stapel, <stephan.stapel@web.de>

Definition at line 50 of file qcalmonthlookup.h.


void appointmentClicked (unsigned int appointmentId)
void appointmentDoubleClicked (unsigned int appointmentId)
void beginBaseDragging (const QDateTime &downDate)
void calendarContextMenu (const QPoint &pos, unsigned int appId)
void calendarDoubleClicked (const QDateTime &clickDate)
void dateChanged (const QDateTime &newDate)
void endBaseDragging (const QDateTime &downDate, const QDateTime &upDate)
void initialDateChanged (const QDate &)

Public Member Functions

bool appsRounded () const
bool baseDraggingEnabled () const
virtual QDate getDate ()
bool navigationVisible () const
 QCalMonthLookup (QWidget *parent=0, const char *name=0, WFlags f=0)
void setAppsRounded (bool isRounded=true)
void setBaseDraggingEnabled (bool isEnabled=true)
virtual void setDate (const QDate &newDate)
void setNavigationVisible (bool isVisible=true)
void setShowCursor (bool showIt=true)
bool showCursor () const
virtual ~QCalMonthLookup ()
selection functions
void clearSelection ()
void deselectItem (unsigned int thisId, bool doDeselect=true)
QValueList< unsigned int > getSelection () const
bool isSelected (unsigned int thisId) const
void selectItem (unsigned int thisId, bool doSelect=true)
color scheme functions, used in the
calendar implementation classes

virtual QColor getAppTitleColor () const
virtual QColor getBgColor () const
virtual QColor getCaptionBgColor () const
virtual QColor getCurrentDayBgColor () const
virtual QColor getDragColor () const
virtual QColor getSundayColor () const

Protected Member Functions

virtual void mouseDoubleClickEvent (QMouseEvent *thisEvent)
virtual void mousePressEvent (QMouseEvent *thisEvent)
virtual void onBackwardClicked ()
virtual void onForwardClicked ()
virtual void paintEvent (QPaintEvent *thisEvent)
virtual void resizeEvent (QResizeEvent *thisEvent)

Protected Attributes

QDate m_currDate
QValueList< unsigned int > m_rgSelections
navigation buttons
QPushButton * m_pBackButton
QPushButton * m_pForwButton

Private Slots

void todayClicked ()
void yearBackwardClicked ()
void yearForwardClicked ()

Private Attributes

QColor m_lookupColor
QPushButton * m_pTodayButton
QPushButton * m_pYearBackwardButton
QPushButton * m_pYearForwardButton
QMap< unsigned int, QDate > m_rgDayMappings
common metrics
float m_dCaptionHeight

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index