VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
makVrv::DtDeselectableTreeView Class Reference

A tree view that allows for selecting no item. More...

Inheritance diagram for makVrv::DtDeselectableTreeView:
Inheritance graph
[legend]

Public Member Functions

 DtDeselectableTreeView (QWidget *parent=NULL)
 CTOR.

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *event)
 Handle mouse press events on the view.

Detailed Description

A tree view that allows for selecting no item.

Mouse clicking on any item in the tree will switch the selection-focus normally. Clicking white space off the tree will remove selection-focus from the current items.

Constructor & Destructor Documentation

makVrv::DtDeselectableTreeView::DtDeselectableTreeView ( QWidget *  parent = NULL)

CTOR.

Member Function Documentation

virtual void makVrv::DtDeselectableTreeView::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

Handle mouse press events on the view.

This handler identifies where the mouse clicked on the tree. If the click was on an item, the event is handled normally. If the click was not on an item, any selected item becomes un-selected.


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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)