ParaView
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
pqTreeWidget Class Reference

A convenience QTreeWidget with extra features: 1. More...

#include <pqTreeWidget.h>

Inheritance diagram for pqTreeWidget:
Inheritance graph
[legend]

List of all members.

Public Slots

void allOn ()
void allOff ()

Signals

void navigatedPastEnd ()
 Fired when moveCursor takes the cursor beyond the last row.

Public Member Functions

 pqTreeWidget (QWidget *p=NULL)
 ~pqTreeWidget ()
bool event (QEvent *e)
QSize sizeHint () const
 give a hint on the size
QSize minimumSizeHint () const

Protected Slots

void doToggle (int col)
void updateCheckState ()
void invalidateLayout ()

Protected Member Functions

QPixmap pixmap (Qt::CheckState state, bool active)
virtual QModelIndex moveCursor (CursorAction cursorAction, Qt::KeyboardModifiers modifiers)
 Move the cursor in the way described by cursorAction, using the information provided by the button modifiers.
int itemCount (QTreeWidgetItem *item) const

Protected Attributes

QPixmap ** CheckPixmaps
QTimer * Timer

Detailed Description

A convenience QTreeWidget with extra features: 1.

Automatic size hints based on contents 2. A check box added in a header if items have check boxes 3. Navigation through columns of top level items on Tab. 4. Signal emitted when user navigates beyond end of the table giving an opportunity to the lister to grow the table.

Definition at line 47 of file pqTreeWidget.h.


Constructor & Destructor Documentation

pqTreeWidget::pqTreeWidget ( QWidget *  p = NULL)
pqTreeWidget::~pqTreeWidget ( )

Member Function Documentation

bool pqTreeWidget::event ( QEvent *  e)
QSize pqTreeWidget::sizeHint ( ) const

give a hint on the size

QSize pqTreeWidget::minimumSizeHint ( ) const
void pqTreeWidget::allOn ( ) [slot]
void pqTreeWidget::allOff ( ) [slot]
void pqTreeWidget::navigatedPastEnd ( ) [signal]

Fired when moveCursor takes the cursor beyond the last row.

void pqTreeWidget::doToggle ( int  col) [protected, slot]
void pqTreeWidget::updateCheckState ( ) [protected, slot]
void pqTreeWidget::invalidateLayout ( ) [protected, slot]
QPixmap pqTreeWidget::pixmap ( Qt::CheckState  state,
bool  active 
) [protected]
virtual QModelIndex pqTreeWidget::moveCursor ( CursorAction  cursorAction,
Qt::KeyboardModifiers  modifiers 
) [protected, virtual]

Move the cursor in the way described by cursorAction, using the information provided by the button modifiers.

int pqTreeWidget::itemCount ( QTreeWidgetItem *  item) const [protected]

Member Data Documentation

QPixmap** pqTreeWidget::CheckPixmaps [protected]

Definition at line 79 of file pqTreeWidget.h.

QTimer* pqTreeWidget::Timer [protected]

Definition at line 87 of file pqTreeWidget.h.


The documentation for this class was generated from the following file: