QtSortedCheckListItem Class Reference

#include <QtSortedCheckListItem.h>

Inheritance diagram for QtSortedCheckListItem:

Inheritance graph
QCheckListItem
[legend]
Collaboration diagram for QtSortedCheckListItem:

Collaboration graph
QCheckListItem
[legend]
List of all members.

Detailed Description

This class inherits the QCheckListItem and overrides the compare() function, so that the list can be sorted in numerical order.

Author:
Xie Fang <xiefang@stanford.edu>

Definition at line 38 of file QtSortedCheckListItem.h.

Public Types

typedef QCheckListItem::Type Type

Public Member Functions

 activate ()
virtual int compare (QListViewItem *i, int col, bool ascending) const
 enum instead)
 enum {Off, NoChange, On}
 enum {RadioButton, CheckBox, Controller, RadioButtonController=Controller, CheckBoxController}
 isOn () const
 isTristate () const
 paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align)
 paintFocus (QPainter *p, const QColorGroup &cg, const QRect &r)
 QtSortedCheckListItem (QListView *parent, const QString &text)
 rtti () const
 setOn (bool b)
 setState (ToggleState s)
 setTristate (bool b)
 state () const
 stateChange (bool)
 text () const
 turnOffChild ()
 type () const


Member Typedef Documentation

typedef QCheckListItem::Type Type

Definition at line 47 of file QtSortedCheckListItem.h.


Constructor & Destructor Documentation

QtSortedCheckListItem ( QListView parent,
const QString text 
)

Definition at line 25 of file QtSortedCheckListItem.cxx.


Member Function Documentation

int compare ( QListViewItem i,
int  col,
bool  ascending 
) const [virtual]

Definition at line 37 of file QtSortedCheckListItem.cxx.


The documentation for this class was generated from the following files:
Generated for HippoDraw Class Library by doxygen