KABDetailedView Class Reference
This class implements the detailed view. More...
#include <look_details.h>
Inheritance diagram for KABDetailedView:

Public Types | |
enum | BackgroundStyle { None, Tiled, Bordered } |
Public Slots | |
void | slotBorderedBGSelected (int index) |
void | slotTiledBGSelected (int index) |
Public Methods | |
KABDetailedView (QWidget *parent=0, const char *name=0) | |
virtual | ~KABDetailedView () |
void | setAddressee (const KABC::Addressee &) |
void | setReadOnly (bool) |
void | restoreSettings (KConfig *) |
Protected Methods | |
void | paintEvent (QPaintEvent *) |
void | mousePressEvent (QMouseEvent *) |
void | mouseMoveEvent (QMouseEvent *) |
bool | getBackground (QString path, QPixmap &image) |
Detailed Description
This class implements the detailed view.Currently, there is no possibility to change the entry in this view.
Definition at line 47 of file look_details.h.
Member Enumeration Documentation
|
Enum to select how the background is drawn.
Definition at line 55 of file look_details.h. Referenced by setAddressee(). |
Constructor & Destructor Documentation
|
The constructor.
Definition at line 46 of file look_details.cpp. References QFont::family(), QFont::pixelSize(), and QFont::pointSize(). |
|
The virtual destructor.
Definition at line 104 of file look_details.cpp. |
Member Function Documentation
|
Set the addressee.
Reimplemented from KABBasicLook. Definition at line 274 of file look_details.cpp. References QDir::absPath(), KABBasicLook::addressee(), BackgroundStyle, getBackground(), QString::isEmpty(), QPixmap::resize(), KABBasicLook::setAddressee(), QDir::setPath(), and QString::toInt(). |
|
Overloaded from KABBasicLook.
Reimplemented from KABBasicLook. Definition at line 349 of file look_details.cpp. References KABBasicLook::setReadOnly(). |
|
Overloaded from KABBasicLook.
Reimplemented from KABBasicLook. Definition at line 355 of file look_details.cpp. References QFont::family(), getBackground(), QFont::pixelSize(), and QFont::pointSize(). |
|
A method to retrieve a background image according to the path stored in the entry. It is either loaded from backgrounds, that acts as a cache, or from the file and added to
Definition at line 110 of file look_details.cpp. References QMap< QString, QPixmap >::end(), QMap< QString, QPixmap >::find(), and QPixmap::load(). Referenced by restoreSettings(), and setAddressee(). |
The documentation for this class was generated from the following files: