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

Sets the resize mode on a QHeaderView section once that section is actually available. More...

#include <deferredresizemodesetter.h>

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

Public Member Functions

 DeferredResizeModeSetter (QHeaderView *headerView, int section, QHeaderView::ResizeMode resizeMode)
 

Detailed Description

Sets the resize mode on a QHeaderView section once that section is actually available.

This is a workaround for QHeaderView asserting when manipulating if the corresponding section hasn't been loaded yet by the corresponding model, as well as forgetting the setting if the model reports a columnCount of 0 again inbetween.


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/