GammaRay  2.4.0
Public Member Functions | List of all members
GammaRay::DeferredTreeViewConfiguration Class Reference

A utility helper to configure views for remote content. More...

#include <deferredtreeviewconfiguration.h>

Inheritance diagram for GammaRay::DeferredTreeViewConfiguration:
Inheritance graph
[legend]

Public Member Functions

 DeferredTreeViewConfiguration (QTreeView *view, bool expandNewContent=true, bool selectNewContent=true, QObject *parent=0)
 
void hideColumn (int column)
 

Detailed Description

A utility helper to configure views for remote content.

When expandNewContent is set to true, the tree view will stay expanded when new content is added to the model.

When selectNewContent is set to true, the tree view will select new content, if no selection is already present.

Note
The tree view's model and selectionModel must be set beforehand and not be changed afterwards!

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

Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
http://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
http://www.kdab.com/kdab-products/gammaray/