Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pqFavoritesTreeWidget Class Reference

pqFavoritesTreeWidget is a custom widget used to display Favorites. More...

#include <pqFavoritesTreeWidget.h>

Inherits QTreeWidget.

Public Member Functions

 pqFavoritesTreeWidget (QWidget *p=nullptr)
 
bool isDropOnItem ()
 

Protected Member Functions

void dragEnterEvent (QDragEnterEvent *event) override
 Reimplemented to store unfolded dragged items. More...
 
void dropEvent (QDropEvent *event) override
 Reimplemented to keep unfolded items that were unfolded. More...
 

Protected Attributes

QSet< QTreeWidgetItem * > UnfoldedDraggedCategories
 

Detailed Description

pqFavoritesTreeWidget is a custom widget used to display Favorites.

It extands a QTreeWidget.

Definition at line 20 of file pqFavoritesTreeWidget.h.

Constructor & Destructor Documentation

◆ pqFavoritesTreeWidget()

pqFavoritesTreeWidget::pqFavoritesTreeWidget ( QWidget *  p = nullptr)

Member Function Documentation

◆ isDropOnItem()

bool pqFavoritesTreeWidget::isDropOnItem ( )
inline

Definition at line 28 of file pqFavoritesTreeWidget.h.

◆ dragEnterEvent()

void pqFavoritesTreeWidget::dragEnterEvent ( QDragEnterEvent *  event)
overrideprotected

Reimplemented to store unfolded dragged items.

◆ dropEvent()

void pqFavoritesTreeWidget::dropEvent ( QDropEvent *  event)
overrideprotected

Reimplemented to keep unfolded items that were unfolded.

Member Data Documentation

◆ UnfoldedDraggedCategories

QSet<QTreeWidgetItem*> pqFavoritesTreeWidget::UnfoldedDraggedCategories
protected

Definition at line 41 of file pqFavoritesTreeWidget.h.


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