libkonq
KonqFileTip Class Reference
#include <konq_filetip.h>
Inheritance diagram for KonqFileTip:

Detailed Description
Definition at line 39 of file konq_filetip.h.
Public Member Functions | |
virtual bool | eventFilter (QObject *, QEvent *e) |
KonqFileTip (QScrollArea *parent) | |
void | setItem (const KFileItem &item, const QRect &rect=QRect(), const QPixmap *pixmap=0) |
void | setOptions (bool on, bool preview, int num) |
void | setPreview (bool on) |
~KonqFileTip () | |
Protected Member Functions | |
virtual void | paintEvent (QPaintEvent *ev) |
virtual void | resizeEvent (QResizeEvent *) |
Constructor & Destructor Documentation
KonqFileTip::KonqFileTip | ( | QScrollArea * | parent | ) |
Definition at line 47 of file konq_filetip.cc.
KonqFileTip::~KonqFileTip | ( | ) |
Definition at line 78 of file konq_filetip.cc.
Member Function Documentation
Definition at line 293 of file konq_filetip.cc.
void KonqFileTip::paintEvent | ( | QPaintEvent * | ev | ) | [protected, virtual] |
Definition at line 191 of file konq_filetip.cc.
void KonqFileTip::resizeEvent | ( | QResizeEvent * | event | ) | [protected, virtual] |
Definition at line 287 of file konq_filetip.cc.
void KonqFileTip::setItem | ( | const KFileItem & | item, | |
const QRect & | rect = QRect() , |
|||
const QPixmap * | pixmap = 0 | |||
) |
Set the item from which to get the tip information.
- Parameters:
-
item the item from which to get the tip information rect the rectangle around which the tip will be shown pixmap the pixmap to be shown. If 0, no pixmap is shown
Definition at line 102 of file konq_filetip.cc.
void KonqFileTip::setOptions | ( | bool | on, | |
bool | preview, | |||
int | num | |||
) |
- Parameters:
-
on show tooltip at all
- Parameters:
-
preview include file preview in tooltip num the number of tooltip texts to get from KFileItem
Definition at line 95 of file konq_filetip.cc.
void KonqFileTip::setPreview | ( | bool | on | ) |
Definition at line 86 of file konq_filetip.cc.
The documentation for this class was generated from the following files: