QtPass 2.0.0
Developer documentation
Loading...
Searching...
No Matches
deselectabletreeview.h File Reference

DeselectableTreeView: a QTreeView that clears its selection when empty space or an already-selected row is clicked. More...

#include <QGuiApplication>
#include <QMouseEvent>
#include <QStyleHints>
#include <QTimer>
#include <QTreeView>
Include dependency graph for deselectabletreeview.h:

Go to the source code of this file.

Classes

class  DeselectableTreeView
 A QTreeView that clears its selection, and emits emptyClicked(), when the user clicks empty space or an already-selected item. More...

Detailed Description

DeselectableTreeView: a QTreeView that clears its selection when empty space or an already-selected row is clicked.

Definition in file deselectabletreeview.h.