kopete/libkopete
#include <kopetelistviewitem.h>
Public Member Functions | |
DisplayNameComponent (ComponentBase *parent) | |
~DisplayNameComponent () | |
void | layout (const QRect &rect) |
void | redraw () |
virtual int | rtti () const |
void | setColor (const QColor &color) |
void | setDefaultColor () |
void | setFont (const QFont &font) |
void | setText (const QString &text) |
QString | text () |
Public Member Functions inherited from Kopete::UI::ListView::BoxComponent | |
BoxComponent (ComponentBase *parent, Direction dir=Horizontal) | |
~BoxComponent () | |
virtual int | heightForWidth (int width) |
virtual int | widthForHeight (int height) |
Public Member Functions inherited from Kopete::UI::ListView::Component | |
virtual | ~Component ()=0 |
void | hide () |
bool | isHidden () |
bool | isShown () |
int | minHeight () |
int | minWidth () |
virtual void | paint (QPainter *painter, const QPalette &pal) |
QRect | rect () |
void | relayout () |
void | repaint () |
void | setToolTipSource (ToolTipSource *source=0) |
void | show () |
std::pair< QString, QRect > | toolTip (const QPoint &relativePos) |
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_DisplayNameComponent |
Static Public Attributes inherited from Kopete::UI::ListView::BoxComponent | |
static int | RTTI = Rtti_BoxComponent |
Static Public Attributes inherited from Kopete::UI::ListView::Component | |
static int | RTTI = Rtti_Component |
Additional Inherited Members | |
Public Types inherited from Kopete::UI::ListView::BoxComponent | |
enum | Direction { Horizontal, Vertical } |
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::BoxComponent | |
void | componentAdded (Component *component) |
void | componentRemoved (Component *component) |
void | componentResized (Component *component) |
Protected Member Functions inherited from Kopete::UI::ListView::Component | |
Component (ComponentBase *parent) | |
bool | setMinHeight (int height) |
bool | setMinWidth (int width) |
Protected Member Functions inherited from Kopete::UI::ListView::ComponentBase | |
virtual void | clear () |
void | updateAnimationPosition (int p, int s) |
Detailed Description
Definition at line 339 of file kopetelistviewitem.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Definition at line 638 of file kopetelistviewitem.cpp.
Kopete::UI::ListView::DisplayNameComponent::~DisplayNameComponent | ( | ) |
Dtor.
Definition at line 645 of file kopetelistviewitem.cpp.
Member Function Documentation
|
virtual |
Set the size and position of this item relative to the list view item.
Should only be called by the containing item.
- Parameters
-
rect the new rectangle this component will paint in, relative to the painter passed to the paint() function by the parent item.
Reimplemented from Kopete::UI::ListView::BoxComponent.
Definition at line 650 of file kopetelistviewitem.cpp.
void Kopete::UI::ListView::DisplayNameComponent::redraw | ( | ) |
reparse again for emoticon (call this when emoticon theme change)
Definition at line 704 of file kopetelistviewitem.cpp.
|
inlinevirtual |
Reimplemented from Kopete::UI::ListView::BoxComponent.
Definition at line 359 of file kopetelistviewitem.h.
void Kopete::UI::ListView::DisplayNameComponent::setColor | ( | const QColor & | color | ) |
Definition at line 752 of file kopetelistviewitem.cpp.
void Kopete::UI::ListView::DisplayNameComponent::setDefaultColor | ( | ) |
Definition at line 759 of file kopetelistviewitem.cpp.
void Kopete::UI::ListView::DisplayNameComponent::setFont | ( | const QFont & | font | ) |
Definition at line 744 of file kopetelistviewitem.cpp.
void Kopete::UI::ListView::DisplayNameComponent::setText | ( | const QString & | text | ) |
Definition at line 695 of file kopetelistviewitem.cpp.
QString Kopete::UI::ListView::DisplayNameComponent::text | ( | ) |
Definition at line 766 of file kopetelistviewitem.cpp.
Member Data Documentation
|
static |
Definition at line 358 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.