mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04:00
Factor out text building for label view items for proper sizeHint.
This commit is contained in:
parent
0be736acf7
commit
0af434bfc1
2 changed files with 49 additions and 44 deletions
|
@ -66,6 +66,7 @@ private:
|
|||
QSize sizeForLabel( const QStringList& text ) const;
|
||||
void drawLabel( QPainter* painter, const QStringList& text, const QColor& color, const QPoint& pos );
|
||||
QModelIndexList getIndexesToDraw( const QModelIndex& parent ) const;
|
||||
QStringList buildTexts( const QModelIndex& index ) const;
|
||||
};
|
||||
|
||||
#endif // PARTITIONLABELSVIEW_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue