• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Widgets Library
 

KDevelop Widgets Library

Public Member Functions | Protected Attributes | List of all members
FancyListViewItem Class Reference

#include <fancylistviewitem.h>

Inherits TDEListViewItem.

Public Member Functions

 FancyListViewItem (TextPaintStyleStore &styles, TQListView *parent, const TQString &label1, const TQString &label2="")
 
 FancyListViewItem (TextPaintStyleStore &styles, TQListViewItem *parent, const TQString &label1, const TQString &label2="")
 
virtual void paintCell (TQPainter *painter, const TQColorGroup &cg, int column, int width, int align)
 
virtual int width (const TQFontMetrics &fm, const TQListView *lv, int column)
 
virtual void setText (int column, const TQString &text)
 
virtual TQString text (int column) const
 
void clear ()
 
TextPaintItem & item (int column=0)
 
void setItem (int column, TextPaintItem item)
 

Protected Attributes

TextPaintStyleStore & m_styles
 

Detailed Description

does not support multiple column, a "column" represents a part of the real first column TDEListViewItem is only needed for the background-color

Definition at line 124 of file fancylistviewitem.h.

Member Function Documentation

◆ paintCell()

void FancyListViewItem::paintCell ( TQPainter *  painter,
const TQColorGroup &  cg,
int  column,
int  width,
int  align 
)
virtual

this is a modified version of the original TQListViewItem::paintCell from the qt source multiline is not supported!

currently only the first background-color is used

use the nice kde background-color

Definition at line 68 of file fancylistviewitem.cpp.


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

KDevelop Widgets Library

Skip menu "KDevelop Widgets Library"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDevelop Widgets Library

Skip menu "KDevelop Widgets Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Widgets Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.