kopete/libkopete
kopetelistviewitem.cpp
Go to the documentation of this file.
812 ContactComponent::ContactComponent( ComponentBase *parent, Kopete::Contact *contact, int iconSize) : ImageComponent( parent ) , d( new Private )
1076 kDebug(14000) << " match: " << match << ", vis timer active: " << d->visibilityTimer.isActive()
1118 d->visibilityLevel = targetVisibility() ? Private::visibilityStepsTotal : Private::visibilityFoldSteps - 1;
1199 // any text we render is done by the Components, not by this class, so make sure we've nothing to write
1225 QStyleOption opt( lv->sortColumn(), 0 ); // ### hack; in 3.1, add a property in QListView and QHeader
virtual ~ComponentBase()=0
Definition: kopetelistviewitem.cpp:57
void visibilityChanged(bool visibility)
void setOpacity(float alpha)
Definition: kopetelistviewitem.cpp:1061
void updateAnimationPosition(int p, int s)
Definition: kopetelistviewitem.cpp:120
void componentAdded(Component *component)
A child item has been added to this item.
Definition: kopetelistviewitem.cpp:438
Component(ComponentBase *parent)
Definition: kopetelistviewitem.cpp:155
void layout(const QRect &rect)
Set the size and position of this item relative to the list view item.
Definition: kopetelistviewitem.cpp:650
ImageComponent(ComponentBase *parent)
Definition: kopetelistviewitem.cpp:464
Component * componentAt(const QPoint &pt)
Definition: kopetelistviewitem.cpp:74
BoxComponent(ComponentBase *parent, Direction dir=Horizontal)
Definition: kopetelistviewitem.cpp:291
virtual int widthForHeight(int height)
Returns the width this component desires for a given height.
Definition: kopetelistviewitem.cpp:212
static void setEffects(bool animation, bool fading, bool folding)
Turn on and off certain visual effects for all Items.
Definition: kopetelistviewitem.cpp:975
void setColor(const QColor &color)
Definition: kopetelistviewitem.cpp:752
Kopete::Contact * contact()
Definition: kopetelistviewitem.cpp:828
void componentRemoved(Component *component)
A child item has been removed from this item.
Definition: kopetelistviewitem.cpp:444
static QList< KEmoticonsTheme::Token > tokenize(const QString &message, KEmoticonsTheme::ParseMode mode=KEmoticonsTheme::DefaultParse)
Definition: kopeteemoticons.cpp:46
void componentResized(Component *component)
A child item has been resized.
Definition: kopetelistviewitem.cpp:450
This class represents a rectangular subsection of a ListItem.
Definition: kopetelistviewitem.h:103
void setDefaultColor()
Definition: kopetelistviewitem.cpp:610
virtual void setSearchMatch(bool match, bool searching)
Show or hide this item in a clean way depending on whether it matches the current quick search...
Definition: kopetelistviewitem.cpp:1068
int width(const QFontMetrics &fm, const Q3ListView *lv, int c) const
Definition: kopetelistviewitem.cpp:1172
TextComponent(ComponentBase *parent, const QFont &font=QFont(), const QString &text=QString())
Definition: kopetelistviewitem.cpp:538
~ContactComponent()
Definition: kopetelistviewitem.cpp:819
virtual std::pair< QString, QRect > toolTip(const QPoint &relativePos)
Get the tool tip string and rectangle for a tip request at position relativePos relative to this item...
Definition: kopetelistviewitem.cpp:111
ComponentBase()
Definition: kopetelistviewitem.cpp:52
std::pair< QString, QRect > toolTip(const QPoint &relativePos)
Get the tool tip string and rectangle for a tip request at position relativePos relative to this item...
Definition: kopetelistviewitem.cpp:834
virtual void paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int align)
Definition: kopetelistviewitem.cpp:1179
HSpacerComponent(ComponentBase *parent)
Definition: kopetelistviewitem.cpp:773
void setPixmap(const QPixmap &img, bool adjustSize=true)
Definition: kopetelistviewitem.cpp:489
virtual int heightForWidth(int width)
Returns the height this component desires for a given width.
Definition: kopetelistviewitem.cpp:213
void scale(int w, int h, Qt::AspectRatioMode)
Definition: kopetelistviewitem.cpp:521
void redraw()
reparse again for emoticon (call this when emoticon theme change)
Definition: kopetelistviewitem.cpp:704
void componentResized(Component *component)
A child item has been resized.
Definition: kopetelistviewitem.cpp:1309
virtual ~Component()=0
Definition: kopetelistviewitem.cpp:164
void paint(QPainter *painter, const QPalette &pal)
Paint this item, inside the rectangle returned by rect().
Definition: kopetelistviewitem.cpp:616
void componentAdded(Component *component)
A child item has been added to this item.
Definition: kopetelistviewitem.cpp:1297
int widthForHeight(int)
Returns the width this component desires for a given height.
Definition: kopetelistviewitem.cpp:782
virtual void paint(QPainter *painter, const QPalette &pal)
Paint this item, inside the rectangle returned by rect().
Definition: kopetelistviewitem.cpp:247
void updatePixmap()
Definition: kopetelistviewitem.cpp:824
void setToolTipSource(ToolTipSource *source=0)
Set a tool tip source for this item.
Definition: kopetelistviewitem.cpp:191
int heightForWidth(int)
Returns the height this component desires for a given width.
Definition: kopetelistviewitem.cpp:798
virtual void componentRemoved(Component *component)
A child item has been removed from this item.
Definition: kopetelistviewitem.cpp:93
void setColor(const QColor &color)
Definition: kopetelistviewitem.cpp:603
bool setMinHeight(int height)
Change the minimum height, in pixels, this component requires in order to be at all useful...
Definition: kopetelistviewitem.cpp:223
bool targetVisibility()
Definition: kopetelistviewitem.cpp:1085
void setDefaultColor()
Definition: kopetelistviewitem.cpp:759
Component * component(uint n)
Definition: kopetelistviewitem.cpp:66
virtual void componentResized(Component *component)
A child item has been resized.
Definition: kopetelistviewitem.cpp:107
void paint(QPainter *painter, const QPalette &pal)
Paint this item, inside the rectangle returned by rect().
Definition: kopetelistviewitem.cpp:510
Definition: kopetecontact.h:58
virtual void componentAdded(Component *component)
A child item has been added to this item.
Definition: kopetelistviewitem.cpp:88
bool setMinWidth(int width)
Change the minimum width, in pixels, this component requires in order to be at all useful...
Definition: kopetelistviewitem.cpp:215
virtual void layout(const QRect &rect)
Set the size and position of this item relative to the list view item.
Definition: kopetelistviewitem.cpp:232
void setTargetVisibility(bool vis)
Definition: kopetelistviewitem.cpp:1090
virtual int widthForHeight(int height)
Returns the width this component desires for a given height.
Definition: kopetelistviewitem.cpp:303
int minWidth()
Returns the smallest this component can become horizontally while still being useful.
Definition: kopetelistviewitem.cpp:210
QPixmap pixmap(void)
Definition: kopetelistviewitem.cpp:484
void componentRemoved(Component *component)
A child item has been removed from this item.
Definition: kopetelistviewitem.cpp:1303
static QPoint operator+(const QPoint &pt, const QSize &sz)
Definition: kopetelistviewitem.cpp:500
void setFont(const QFont &font)
Definition: kopetelistviewitem.cpp:744
void layout(const QRect &rect)
Set the size and position of this item relative to the list view item.
Definition: kopetelistviewitem.cpp:375
Item(Q3ListView *parent, QObject *owner=0)
Definition: kopetelistviewitem.cpp:964
void setText(const QString &text)
Definition: kopetelistviewitem.cpp:695
void componentRemoved(Component *component)
A child item has been removed from this item.
Definition: kopetelistviewitem.cpp:274
void setText(const QString &text)
Definition: kopetelistviewitem.cpp:557
VSpacerComponent(ComponentBase *parent)
Definition: kopetelistviewitem.cpp:789
void setFont(const QFont &font)
Definition: kopetelistviewitem.cpp:570
uint components()
Definition: kopetelistviewitem.cpp:64
virtual int heightForWidth(int width)
Returns the height this component desires for a given width.
Definition: kopetelistviewitem.cpp:321
int widthForHeight(int)
Returns the width this component desires for a given height.
Definition: kopetelistviewitem.cpp:589
ContactComponent(ComponentBase *parent, Kopete::Contact *contact, int iconSize)
Definition: kopetelistviewitem.cpp:812
~ImageComponent()
Definition: kopetelistviewitem.cpp:479
~TextComponent()
Definition: kopetelistviewitem.cpp:547
QString text()
Definition: kopetelistviewitem.cpp:766
int minHeight()
Returns the smallest this component can become vertically while still being useful.
Definition: kopetelistviewitem.cpp:211
~BoxComponent()
Definition: kopetelistviewitem.cpp:298
std::pair< QString, QRect > toolTip(const QPoint &relativePos)
Get the tool tip string and rectangle for a tip request at position relativePos relative to this item...
Definition: kopetelistviewitem.cpp:196
void componentAdded(Component *component)
A child item has been added to this item.
Definition: kopetelistviewitem.cpp:268
SpacerComponent(ComponentBase *parent, int w, int h)
Definition: kopetelistviewitem.cpp:841
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.