kaddressbook
KABEntryPainter Class Reference
List of all members.Detailed Description
Definition at line 36 of file kabentrypainter.h.
Public Member Functions | |
KABEntryPainter () | |
~KABEntryPainter () | |
bool | printAddressee (const KABC::Addressee &addr, const QRect &window, QPainter *p, int top=0, bool fake=false, QRect *rect=0) |
void | setForegroundColor (const QColor &color=Qt::black) |
void | setBackgroundColor (const QColor &color=Qt::black) |
void | setHeaderColor (const QColor &color=Qt::white) |
void | setHeaderFont (const QFont &font=QFont("Helvetica", 12, QFont::Normal, true)) |
void | setHeadLineFont (const QFont &font=QFont("Helvetica", 12, QFont::Normal, true)) |
void | setBodyFont (const QFont &font=QFont("Helvetica", 12, QFont::Normal, true)) |
void | setFixedFont (const QFont &font=QFont("Courier", 12, QFont::Normal, true)) |
void | setCommentFont (const QFont &font=QFont("Helvetica", 10, QFont::Normal, true)) |
void | setUseHeaderColor (bool value=true) |
void | setShowAddresses (bool value=true) |
void | setShowEmails (bool value=true) |
void | setShowPhones (bool value=true) |
void | setShowURLs (bool value=true) |
int | hitsEmail (const QPoint &p) |
int | hitsPhone (const QPoint &p) |
int | hitsTalk (const QPoint &p) |
int | hitsURL (const QPoint &p) |
Member Function Documentation
|
Returns the index of the rectangle if the point p is inside of one of the email addresses. The index is the position of the email address in the emails list. If it does not point at one of the email addresses, -1 is returned. Definition at line 116 of file kabentrypainter.cpp. |
|
Returns the index of the rectangle if the point p is inside of one of the telephone numbers. See hitsEmail Definition at line 126 of file kabentrypainter.cpp. |
|
Returns the index of the rectangle if the point p is inside of one of the telephone numbers. See hitsEmail Definition at line 131 of file kabentrypainter.cpp. |
|
Returns the index of the rectangle if the point p is inside of one of the telephone numbers. See hitsEmail Definition at line 121 of file kabentrypainter.cpp. |
|
Paint one entry using the given painter. May not only be used on printer objects but on any suitable QPaintDevice. The function does not paint a background, just the contents of the addressee.
Definition at line 151 of file kabentrypainter.cpp. |
The documentation for this class was generated from the following files: