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

Definition at line 40 of file EnhancedTreeWidget.h.

Member Function Documentation

◆ expand

void expand ( )
slot

Definition at line 85 of file EnhancedTreeWidget.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getHeight()

int getHeight ( )

Definition at line 35 of file EnhancedTreeWidget.cpp.

+ Here is the caller graph for this function:

◆ setAutoExpand

void setAutoExpand ( bool  active)
slot

Definition at line 91 of file EnhancedTreeWidget.cpp.

+ Here is the call graph for this function:

◆ setWheelTicksPerScrollTick

void setWheelTicksPerScrollTick ( int  wheelTicksPerScrollTick)
slot

Definition at line 49 of file EnhancedTreeWidget.cpp.

◆ wheelEvent()

void wheelEvent ( QWheelEvent *  event)
overrideprotected

Definition at line 54 of file EnhancedTreeWidget.cpp.

+ Here is the call graph for this function:

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