summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qheaderview_p.h
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-04-17 12:33:00 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-04-17 12:35:00 (GMT)
commitcd8ff7d5879c3f2a9738c6416aced6d2efb7d9d9 (patch)
tree411034ad4d9d9e3080626cedec7c2ccbcf79dca2 /src/gui/itemviews/qheaderview_p.h
parent0b67aaab0235289c90407a4994e7b23b5b865252 (diff)
downloadQt-cd8ff7d5879c3f2a9738c6416aced6d2efb7d9d9.zip
Qt-cd8ff7d5879c3f2a9738c6416aced6d2efb7d9d9.tar.gz
Qt-cd8ff7d5879c3f2a9738c6416aced6d2efb7d9d9.tar.bz2
Display error with QTableView with custom default row height
QHeaderView can sometimes display holes when using default row height Task-number: 248050 Reviewed-by: ogoffart
Diffstat (limited to 'src/gui/itemviews/qheaderview_p.h')
-rw-r--r--src/gui/itemviews/qheaderview_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/itemviews/qheaderview_p.h b/src/gui/itemviews/qheaderview_p.h
index fbba69a..2889f08 100644
--- a/src/gui/itemviews/qheaderview_p.h
+++ b/src/gui/itemviews/qheaderview_p.h
@@ -90,7 +90,6 @@ public:
highlightSelected(false),
stretchLastSection(false),
cascadingResizing(false),
- forceInitializing(false),
stretchSections(0),
contentsSections(0),
minimumSectionSize(-1),
@@ -275,7 +274,6 @@ public:
bool highlightSelected;
bool stretchLastSection;
bool cascadingResizing;
- bool forceInitializing;
int stretchSections;
int contentsSections;
int defaultSectionSize;
@@ -310,6 +308,7 @@ public:
void createSectionSpan(int start, int end, int size, QHeaderView::ResizeMode mode);
void removeSectionsFromSpans(int start, int end);
void resizeSectionSpan(int visualIndex, int oldSize, int newSize);
+ void setDefaultSectionSize(int size);
inline int headerSectionCount() const { // for debugging
int count = 0;