TreeModel: API for setting header tool tips

Change-Id: Ieea98d244d689778db868604d981badcd166a7b5
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Eike Ziller
2015-06-11 15:40:30 +02:00
parent aad536cdaf
commit 2cb3fe1429
2 changed files with 9 additions and 0 deletions

View File

@@ -257,6 +257,7 @@ public:
~TreeModel();
void setHeader(const QStringList &displays);
void setHeaderToolTip(const QStringList &tips);
void clear();
TreeItem *rootItem() const;
@@ -301,6 +302,7 @@ private:
TreeItem *m_root; // Owned.
QStringList m_header;
QStringList m_headerToolTip;
int m_columnCount;
};