EnhancedTreeWidget Class Reference

The EnhancedTreeWidget is a QTreeWidget with some extra functionalities. More...

#include <ArmarXGui/libraries/ArmarXGuiBase/widgets/EnhancedTreeWidget.h>

+ Inheritance diagram for EnhancedTreeWidget:

Public Slots

void expand ()
 
void setAutoExpand (bool active)
 
void setWheelTicksPerScrollTick (int wheelTicksPerScrollTick)
 

Public Member Functions

int getHeight ()
 

Protected Member Functions

void wheelEvent (QWheelEvent *event) override
 

Detailed Description

The EnhancedTreeWidget is a QTreeWidget with some extra functionalities.

This TreeWidget:

  • has working pixel wise scrolling
  • can expand its size to the size of its content (currently visible widgets)
  • can be set to auto expadn its size to its content

Member Function Documentation

◆ expand

void expand ( )
slot

◆ getHeight()

int getHeight ( )

◆ setAutoExpand

void setAutoExpand ( bool active)
slot

◆ setWheelTicksPerScrollTick

void setWheelTicksPerScrollTick ( int wheelTicksPerScrollTick)
slot

◆ wheelEvent()

void wheelEvent ( QWheelEvent * event)
overrideprotected

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