Improve documentation for opaque resize in QSplitter
This also fixes the documentation for QStyle::SH_Splitter_OpaqueResize Change-Id: If8afb52ae300e9735a8bc6b065327f17d67f4323 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
parent
c0b265662e
commit
5dd4f18cef
@ -1971,8 +1971,8 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment,
|
||||
|
||||
\value SH_Widget_Animate Deprecated. Use \l{SH_Widget_Animation_Duration} instead.
|
||||
|
||||
\value SH_Splitter_OpaqueResize Determines if resizing is opaque
|
||||
This enum value has been introduced in Qt 5.2
|
||||
\value SH_Splitter_OpaqueResize Determines if widgets are resized dynamically (opaquely) while
|
||||
interactively moving the splitter. This enum value was introduced in Qt 5.2.
|
||||
|
||||
\value SH_TabBar_ChangeCurrentDelay Determines the delay before the current
|
||||
tab is changed while dragging over the tabbar, in milliseconds. This
|
||||
|
@ -161,11 +161,10 @@ Qt::Orientation QSplitterHandle::orientation() const
|
||||
|
||||
|
||||
/*!
|
||||
Returns \c true if widgets are resized dynamically (opaquely), otherwise
|
||||
returns \c false. This value is controlled by the QSplitter.
|
||||
Returns \c true if widgets are resized dynamically (opaquely) while interactively moving the
|
||||
splitter. Otherwise returns \c false. This value is controlled by the QSplitter.
|
||||
|
||||
\sa QSplitter::opaqueResize()
|
||||
|
||||
*/
|
||||
bool QSplitterHandle::opaqueResize() const
|
||||
{
|
||||
@ -1483,7 +1482,8 @@ int QSplitter::closestLegalPosition(int pos, int index)
|
||||
|
||||
/*!
|
||||
\property QSplitter::opaqueResize
|
||||
\brief whether resizing is opaque
|
||||
Returns \c true if widgets are resized dynamically (opaquely) while interactively moving the
|
||||
splitter. Otherwise returns \c false.
|
||||
|
||||
The default resize behavior is style dependent (determined by the
|
||||
SH_Splitter_OpaqueResize style hint). However, you can override it
|
||||
|
Loading…
Reference in New Issue
Block a user