• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/libkopete

Kopete::UI::ListView::Item

Kopete::UI::ListView::Item Class Reference

#include <kopetelistviewitem.h>

Inheritance diagram for Kopete::UI::ListView::Item:

Inheritance graph
[legend]

List of all members.


Detailed Description

List-view item composed of Component items.

Supports height-for-width, tooltips and some animation effects.

Author:
Richard Smith <kde@metafoo.co.uk>

Definition at line 396 of file kopetelistviewitem.h.


Signals

void visibilityChanged (bool visibility)

Public Member Functions

 Item (Q3ListViewItem *parent, QObject *owner=0)
 Item (Q3ListView *parent, QObject *owner=0)
float opacity ()
virtual void paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align)
void relayout ()
void repaint ()
void setOpacity (float alpha)
virtual void setSearchMatch (bool match)
void setTargetVisibility (bool vis)
void setup ()
bool targetVisibility ()
int width (const QFontMetrics &fm, const Q3ListView *lv, int c) const
 ~Item ()

Static Public Member Functions

static void setEffects (bool animation, bool fading, bool folding)

Protected Member Functions

void componentAdded (Component *component)
void componentRemoved (Component *component)
void componentResized (Component *component)
void setHeight (int)

Constructor & Destructor Documentation

Kopete::UI::ListView::Item::Item ( Q3ListView *  parent,
QObject *  owner = 0 
) [explicit]

Definition at line 967 of file kopetelistviewitem.cpp.

Kopete::UI::ListView::Item::Item ( Q3ListViewItem *  parent,
QObject *  owner = 0 
) [explicit]

Definition at line 961 of file kopetelistviewitem.cpp.

Kopete::UI::ListView::Item::~Item (  ) 

Definition at line 973 of file kopetelistviewitem.cpp.


Member Function Documentation

void Kopete::UI::ListView::Item::componentAdded ( Component *  component  )  [protected, virtual]

A child item has been added to this item.

Reimplemented from Kopete::UI::ListView::ComponentBase.

Definition at line 1300 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::Item::componentRemoved ( Component *  component  )  [protected, virtual]

A child item has been removed from this item.

Reimplemented from Kopete::UI::ListView::ComponentBase.

Definition at line 1306 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::Item::componentResized ( Component *  component  )  [protected, virtual]

A child item has been resized.

Reimplemented from Kopete::UI::ListView::ComponentBase.

Definition at line 1312 of file kopetelistviewitem.cpp.

float Kopete::UI::ListView::Item::opacity (  ) 

Definition at line 1059 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::Item::paintCell ( QPainter *  p,
const QColorGroup &  cg,
int  column,
int  width,
int  align 
) [virtual]

Definition at line 1182 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::Item::relayout (  )  [virtual]

Relayout this item.

Implements Kopete::UI::ListView::ComponentBase.

Definition at line 1148 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::Item::repaint (  )  [virtual]

Repaint this item.

Implements Kopete::UI::ListView::ComponentBase.

Definition at line 1140 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::Item::setEffects ( bool  animation,
bool  fading,
bool  folding 
) [static]

Turn on and off certain visual effects for all Items.

Parameters:
animation whether changes to items should be animated.
fading whether requests to setTargetVisibility should cause fading of items.
folding whether requests to setTargetVisibility should cause folding of items.

Definition at line 978 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::Item::setHeight ( int   )  [protected]

Definition at line 1159 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::Item::setOpacity ( float  alpha  ) 

Definition at line 1064 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::Item::setSearchMatch ( bool  match  )  [virtual]

Show or hide this item in a clean way depending on whether it matches the current quick search.

Parameters:
match If true, show or hide the item as normal. If false, hide the item immediately.

Definition at line 1071 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::Item::setTargetVisibility ( bool  vis  ) 

Definition at line 1093 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::Item::setup (  ) 

Definition at line 1153 of file kopetelistviewitem.cpp.

bool Kopete::UI::ListView::Item::targetVisibility (  ) 

Definition at line 1088 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::Item::visibilityChanged ( bool  visibility  )  [signal]

int Kopete::UI::ListView::Item::width ( const QFontMetrics &  fm,
const Q3ListView *  lv,
int  c 
) const

Definition at line 1175 of file kopetelistviewitem.cpp.


The documentation for this class was generated from the following files:
  • kopetelistviewitem.h
  • kopetelistviewitem.cpp

kopete/libkopete

Skip menu "kopete/libkopete"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal