VR-Forces 4.1.1 Class Documentation
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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)