QStyleOptionViewItem: document 'widget' and 'locale' member
These two members were added during Qt4 times but never documented. Pick-to: 6.8 6.5 Change-Id: Ife4abfc6d8883f4c26ce5b95d5c0cfd3adcbd6bf Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io> Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch> (cherry picked from commit a90d9f4823bd6baf4cb660a942c2b1695441dbbd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
501f78855e
commit
07ad8c8444
@ -2947,6 +2947,23 @@ QStyleOptionTitleBar::QStyleOptionTitleBar(int version)
|
||||
\sa QStyle::SH_ItemView_ShowDecorationSelected, QAbstractItemView
|
||||
*/
|
||||
|
||||
/*!
|
||||
\variable QStyleOptionViewItem::locale
|
||||
\brief the locale to use for displaying text, numbers and dates.
|
||||
|
||||
This allows the style to display e.g. dates in a different locale than
|
||||
the default locale of the application.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\variable QStyleOptionViewItem::widget
|
||||
\brief the parent widget of the item
|
||||
|
||||
This member contains the parent widget (itemview) of the item to
|
||||
be able to e.g. access some properties within the QStyledItemDelegate
|
||||
methods.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\variable QStyleOptionViewItem::textElideMode
|
||||
\brief where ellipsis should be added for text that is too long to fit
|
||||
|
Loading…
x
Reference in New Issue
Block a user