kopete/libkopete
#include <kopetelistviewitem.h>
Public Member Functions | |
ImageComponent (ComponentBase *parent) | |
ImageComponent (ComponentBase *parent, int minW, int minH) | |
~ImageComponent () | |
void | paint (QPainter *painter, const QPalette &pal) |
QPixmap | pixmap (void) |
virtual int | rtti () const |
void | scale (int w, int h, Qt::AspectRatioMode) |
void | setPixmap (const QPixmap &img, bool adjustSize=true) |
Public Member Functions inherited from Kopete::UI::ListView::Component | |
virtual | ~Component ()=0 |
virtual int | heightForWidth (int width) |
void | hide () |
bool | isHidden () |
bool | isShown () |
virtual void | layout (const QRect &rect) |
int | minHeight () |
int | minWidth () |
QRect | rect () |
void | relayout () |
void | repaint () |
void | setToolTipSource (ToolTipSource *source=0) |
void | show () |
std::pair< QString, QRect > | toolTip (const QPoint &relativePos) |
virtual int | widthForHeight (int height) |
Public Member Functions inherited from Kopete::UI::ListView::ComponentBase | |
ComponentBase () | |
virtual | ~ComponentBase ()=0 |
Component * | component (uint n) |
Component * | componentAt (const QPoint &pt) |
uint | components () |
Static Public Attributes | |
static int | RTTI = Rtti_ImageComponent |
Static Public Attributes inherited from Kopete::UI::ListView::Component | |
static int | RTTI = Rtti_Component |
Additional Inherited Members | |
Public Types inherited from Kopete::UI::ListView::Component | |
enum | RttiValues { Rtti_Component, Rtti_BoxComponent, Rtti_TextComponent, Rtti_ImageComponent, Rtti_DisplayNameComponent, Rtti_HSpacerComponent, Rtti_VSpacerComponent } |
Protected Member Functions inherited from Kopete::UI::ListView::Component | |
Component (ComponentBase *parent) | |
void | componentAdded (Component *component) |
void | componentRemoved (Component *component) |
bool | setMinHeight (int height) |
bool | setMinWidth (int width) |
Protected Member Functions inherited from Kopete::UI::ListView::ComponentBase | |
virtual void | clear () |
virtual void | componentResized (Component *component) |
void | updateAnimationPosition (int p, int s) |
Detailed Description
Definition at line 290 of file kopetelistviewitem.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 464 of file kopetelistviewitem.cpp.
Kopete::UI::ListView::ImageComponent::ImageComponent | ( | ComponentBase * | parent, |
int | minW, | ||
int | minH | ||
) |
Definition at line 471 of file kopetelistviewitem.cpp.
Kopete::UI::ListView::ImageComponent::~ImageComponent | ( | ) |
Definition at line 479 of file kopetelistviewitem.cpp.
Member Function Documentation
|
virtual |
Paint this item, inside the rectangle returned by rect().
The default implementation calls paint on all children.
Reimplemented from Kopete::UI::ListView::Component.
Definition at line 510 of file kopetelistviewitem.cpp.
QPixmap Kopete::UI::ListView::ImageComponent::pixmap | ( | void | ) |
Definition at line 484 of file kopetelistviewitem.cpp.
|
inlinevirtual |
Reimplemented from Kopete::UI::ListView::Component.
Definition at line 304 of file kopetelistviewitem.h.
void Kopete::UI::ListView::ImageComponent::scale | ( | int | w, |
int | h, | ||
Qt::AspectRatioMode | mode | ||
) |
Definition at line 521 of file kopetelistviewitem.cpp.
void Kopete::UI::ListView::ImageComponent::setPixmap | ( | const QPixmap & | img, |
bool | adjustSize = true |
||
) |
Definition at line 489 of file kopetelistviewitem.cpp.
Member Data Documentation
|
static |
Definition at line 303 of file kopetelistviewitem.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.