YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
CustomTreeWidget Class Reference

A custom QTreeWidget. More...

#include </home/runner/work/yarp-documentation/yarp-documentation/yarp/src/guis/yarpmanager/src-manager/customtreewidget.h>

+ Inheritance diagram for CustomTreeWidget:

Public Member Functions

 CustomTreeWidget (QWidget *parent=0)
 
void setContextMenu (QMenu *)
 Sets a context menu to the tree.
 

Protected Member Functions

void mousePressEvent (QMouseEvent *e) override
 the mouse press event
 

Detailed Description

A custom QTreeWidget.

This class is an override of the original QTreeWidget expanding some functionalities.

Definition at line 46 of file customtreewidget.h.

Constructor & Destructor Documentation

◆ CustomTreeWidget()

CustomTreeWidget::CustomTreeWidget ( QWidget *  parent = 0)
explicit

Definition at line 9 of file customtreewidget.cpp.

Member Function Documentation

◆ mousePressEvent()

void CustomTreeWidget::mousePressEvent ( QMouseEvent *  e)
overrideprotected

the mouse press event

Parameters
ethe event

Definition at line 24 of file customtreewidget.cpp.

◆ setContextMenu()

void CustomTreeWidget::setContextMenu ( QMenu *  menu)

Sets a context menu to the tree.

Parameters
menuthe context menu

Definition at line 60 of file customtreewidget.cpp.


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