Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
pqTreeWidget Class Reference

a ParaView specific customization of QTreeWidget. More...

#include <pqTreeWidget.h>

Inherits QTreeWidget.

Public Slots

void allOn ()
 
void allOff ()
 

Signals

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

Public Member Functions

 pqTreeWidget (QWidget *p=nullptr)
 
 ~pqTreeWidget () override
 
bool event (QEvent *e) override
 
QSize sizeHint () const override
 give a hint on the size More...
 
QSize minimumSizeHint () const override
 
void setMaximumRowCountBeforeScrolling (vtkSMPropertyGroup *smpropertygroup)
 
void setMaximumRowCountBeforeScrolling (vtkSMProperty *smproperty)
 
void setMaximumRowCountBeforeScrolling (vtkPVXMLElement *hints)
 
void setMaximumRowCountBeforeScrolling (int val)
 
int maximumRowCountBeforeScrolling () const
 

Protected Slots

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

Protected Member Functions

QPixmap pixmap (Qt::CheckState state, bool active)
 
void wheelEvent (QWheelEvent *event) override
 Overridden to eat wheel events unless this->hasFocus(). More...
 
QModelIndex moveCursor (CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override
 Move the cursor in the way described by cursorAction, using the information provided by the button modifiers. More...
 
int itemCount (QTreeWidgetItem *item) const
 

Protected Attributes

QPixmap ** CheckPixmaps
 
QTimer * Timer
 
int MaximumRowCountBeforeScrolling
 

Detailed Description

a ParaView specific customization of QTreeWidget.

A convenience QTreeWidget with extra features:

Definition at line 29 of file pqTreeWidget.h.

Constructor & Destructor Documentation

◆ pqTreeWidget()

pqTreeWidget::pqTreeWidget ( QWidget *  p = nullptr)

◆ ~pqTreeWidget()

pqTreeWidget::~pqTreeWidget ( )
override

Member Function Documentation

◆ event()

bool pqTreeWidget::event ( QEvent *  e)
override

◆ sizeHint()

QSize pqTreeWidget::sizeHint ( ) const
override

give a hint on the size

◆ minimumSizeHint()

QSize pqTreeWidget::minimumSizeHint ( ) const
override

◆ setMaximumRowCountBeforeScrolling() [1/4]

void pqTreeWidget::setMaximumRowCountBeforeScrolling ( vtkSMPropertyGroup smpropertygroup)

◆ setMaximumRowCountBeforeScrolling() [2/4]

void pqTreeWidget::setMaximumRowCountBeforeScrolling ( vtkSMProperty smproperty)

◆ setMaximumRowCountBeforeScrolling() [3/4]

void pqTreeWidget::setMaximumRowCountBeforeScrolling ( vtkPVXMLElement hints)

◆ setMaximumRowCountBeforeScrolling() [4/4]

void pqTreeWidget::setMaximumRowCountBeforeScrolling ( int  val)
inline

Definition at line 48 of file pqTreeWidget.h.

◆ maximumRowCountBeforeScrolling()

int pqTreeWidget::maximumRowCountBeforeScrolling ( ) const
inline

Definition at line 49 of file pqTreeWidget.h.

◆ allOn

void pqTreeWidget::allOn ( )
slot

◆ allOff

void pqTreeWidget::allOff ( )
slot

◆ navigatedPastEnd

void pqTreeWidget::navigatedPastEnd ( )
signal

Fired when moveCursor takes the cursor beyond the last row.

◆ doToggle

void pqTreeWidget::doToggle ( int  col)
protectedslot

◆ updateCheckState

void pqTreeWidget::updateCheckState ( )
protectedslot

◆ invalidateLayout

void pqTreeWidget::invalidateLayout ( )
protectedslot

◆ pixmap()

QPixmap pqTreeWidget::pixmap ( Qt::CheckState  state,
bool  active 
)
protected

◆ wheelEvent()

void pqTreeWidget::wheelEvent ( QWheelEvent *  event)
overrideprotected

Overridden to eat wheel events unless this->hasFocus().

◆ moveCursor()

QModelIndex pqTreeWidget::moveCursor ( CursorAction  cursorAction,
Qt::KeyboardModifiers  modifiers 
)
overrideprotected

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

◆ itemCount()

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

Member Data Documentation

◆ CheckPixmaps

QPixmap** pqTreeWidget::CheckPixmaps
protected

Definition at line 70 of file pqTreeWidget.h.

◆ Timer

QTimer* pqTreeWidget::Timer
protected

Definition at line 84 of file pqTreeWidget.h.

◆ MaximumRowCountBeforeScrolling

int pqTreeWidget::MaximumRowCountBeforeScrolling
protected

Definition at line 87 of file pqTreeWidget.h.


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