Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Opie::Ui::OCheckListItem Class Reference

#include </home/clem/local/src/opie/libopie2/opieui/olistview.h>

List of all members.

Public Member Functions

 OCheckListItem (QCheckListItem *parent, const QString &text, Type=Controller)
 OCheckListItem (QListViewItem *parent, const QString &text, Type=Controller)
 OCheckListItem (QListView *parent, const QString &text, Type=Controller)
 OCheckListItem (QListViewItem *parent, const QString &text, const QPixmap &)
 OCheckListItem (QListView *parent, const QString &text, const QPixmap &)
 ~OCheckListItem ()
const QColor & backgroundColor ()
bool isAlternate ()
void paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int alignment)
void init ()

Private Attributes

bool m_known
bool m_odd


Constructor & Destructor Documentation

Opie::Ui::OCheckListItem::OCheckListItem QCheckListItem *  parent,
const QString text,
Type  = Controller
 

Definition at line 484 of file olistview.cpp.

References init().

Opie::Ui::OCheckListItem::OCheckListItem QListViewItem *  parent,
const QString text,
Type  = Controller
 

Definition at line 491 of file olistview.cpp.

References init().

Opie::Ui::OCheckListItem::OCheckListItem QListView *  parent,
const QString text,
Type  = Controller
 

Definition at line 498 of file olistview.cpp.

References init().

Opie::Ui::OCheckListItem::OCheckListItem QListViewItem *  parent,
const QString text,
const QPixmap & 
 

Definition at line 505 of file olistview.cpp.

References init().

Opie::Ui::OCheckListItem::OCheckListItem QListView *  parent,
const QString text,
const QPixmap & 
 

Definition at line 512 of file olistview.cpp.

References init().

Opie::Ui::OCheckListItem::~OCheckListItem  ) 
 

Definition at line 519 of file olistview.cpp.


Member Function Documentation

const QColor & Opie::Ui::OCheckListItem::backgroundColor  ) 
 

Returns:
the background color of the list item.

Definition at line 529 of file olistview.cpp.

References isAlternate().

Referenced by paintCell().

void Opie::Ui::OCheckListItem::init  ) 
 

Perform object initialization.

Definition at line 523 of file olistview.cpp.

References m_known.

Referenced by OCheckListItem().

bool Opie::Ui::OCheckListItem::isAlternate  ) 
 

Returns:
true, if the item is at an odd position and thus have to be painted with the alternate background color.

Definition at line 536 of file olistview.cpp.

References Opie::Ui::OListView::alternateBackground(), m_known, and m_odd.

Referenced by backgroundColor(), and paintCell().

void Opie::Ui::OCheckListItem::paintCell QPainter *  p,
const QColorGroup &  cg,
int  column,
int  width,
int  alignment
 

Note:
: Reimplemented for internal purposes - the API is not affected

Definition at line 580 of file olistview.cpp.

References backgroundColor(), height, and isAlternate().


Member Data Documentation

bool Opie::Ui::OCheckListItem::m_known [private]
 

Definition at line 311 of file olistview.h.

Referenced by init(), and isAlternate().

bool Opie::Ui::OCheckListItem::m_odd [private]
 

Definition at line 312 of file olistview.h.

Referenced by isAlternate().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:01:57 2005 for OPIE by  doxygen 1.4.2