VR-Forces Developer's Guide
 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. 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.

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

Public Member Functions

 DtDeselectableTreeView (QWidget *parent=NULL)
 

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *event)
 

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 Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)