korganizer
DynamicTip Class Reference
#include <kodaymatrix.h>
Detailed Description
small helper class to dynamically show tooltips inside the day matrix.This class asks the day matrix object for a appropriate label which is in our special case the name of the holiday or null if this day is no holiday.
Definition at line 55 of file kodaymatrix.h.
Public Member Functions | |
DynamicTip (QWidget *parent) | |
Protected Member Functions | |
void | maybeTip (const QPoint &pos) |
Constructor & Destructor Documentation
DynamicTip::DynamicTip | ( | QWidget * | parent | ) |
Constructor that expects a KODayMatrix object as parent.
- Parameters:
-
parent the parent KODayMatrix control.
Definition at line 66 of file kodaymatrix.cpp.
Member Function Documentation
void DynamicTip::maybeTip | ( | const QPoint & | pos | ) | [protected] |
Qt's callback to ask the object to provide an approrpiate text for the tooltip to be shown.
- Parameters:
-
pos coordinates of the mouse.
Definition at line 73 of file kodaymatrix.cpp.
The documentation for this class was generated from the following files: