| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
It was not properly merged in master because of conflicts, and
we have now a public API for this
Added QEXPECT_FAIL and opened QTBUG-17325
|
| |
|
|
|
|
|
|
|
| |
This change adds the lineHeight and lineHeightMode properties.
Task-number: QTBUG-14296
Reviewed-by: Martin Jones
|
|
|
|
|
|
|
|
|
| |
The Text and TextInput items should now automatically flip the
alignment of right-to-left text. Autotests also added to ensure the
text is on the correct side (added for TextInput also).
Task-number: QTBUG-15880
Reviewed-by: Martin Jones
|
|
|
|
|
|
|
|
|
| |
Fixed MaximumLineCount not truncating when wrapMode was not set.
Visual autotests were added to test various possible options for
maximumLineCount.
Task-number: QTBUG-12305
Reviewed-by: Michael Brasser
|
|
|
|
|
|
|
|
| |
Overridden as readonly for elements that have an inherent implicit size
such as Text, TextEdit, TextInput, positioners, Loader.
Task-number: QTBUG-14957
Reviewed-by: Michael Brasser
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
When animating pointSize avoid generating a huge number of fonts with
slightly different point sizes.
Task-number: QTBUG-13960
Reviewed-by: Aaron Kennedy
|
| |
| |
| |
| | |
Reviewed-by: Trust Me
|
| |
| |
| |
| |
| |
| |
| |
| | |
The lineCount property should return the number of lines contained
in textEdit. Also corrected minor documentation in Text
Task-number: QTBUG-12305
Reviewed-by: Michael Brasser
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
LineCount should return the number of lines currently being displayed.
Setting maximumLineCount limits the number of lines that will be shown
Truncated will return true if the text has been elided normally, or if
the lines have been limited due to maximumLineCount.
Task-number: QTBUG-12305
Reviewed-by: Michael Brasser
|
|/
|
|
|
| |
Task-number: QTBUG-13242
Reviewed-by: Michael Brasser
|
|
|
|
|
| |
Task-number: QTBUG-15623
Reviewed-by: Yann Bodson
|
|
|
|
| |
Reviewed-by: Michael Brasser
|
|
|
|
|
|
| |
Also add some visual tests for multi-line text elememts.
Task-number: QTBUG-15018
|
|
|
|
|
| |
Task-number: QTBUG-14865
Reviewed-by: Michael Brasser
|
|
|
|
|
| |
Task-number: QTBUG-14915
Reviewed-by: Michael Brasser
|
|
|
|
| |
Task-number: QTBUG-14841
|
|
|
|
|
|
| |
Also fixes a doc typo. Includes test.
Task-number: QTBUG-14469
|
|
|
|
|
| |
Task-number: QTBUG-14795
Reviewed-by: Michael Brasser
|
|
|
|
|
| |
Task-number: QTBUG-14469
Reviewed-by: Aaron Kennedy
|
|
|
|
|
| |
Task-number: QTBUG-14463
Reviewed-by: Aaron Kennedy
|
|
|
|
| |
Task-number: QTBUG-14374
|
|
|
|
| |
Task-number: QTBUG-14050
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
QML cannot use QStaticText directly as it doesn't support caching a
QTextLayout. QDeclarativeTextLayout is basically a copy of QStaticText
that adds this support.
Currently this feature is disabled by default (enable with
QML_DISABLE_IMAGE_CACHE=1) while we double check the perf consequences
of this change.
Task-number: QTBUG-14050
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Calling prepareGeometryChange in a paint event is a bad idea and was
causing jerky scrolling. There is no longer any need for the removed
code since we don't use imgCache.size() to determine boundingRect()
anymore.
Task-number: QTBUG-13453
Reviewed-by: Joona Petrell
|
| | |
|
|/
|
|
|
|
|
| |
QML signal handler.
Reviewed by: David Boddie
Tasks:QTBUG-13243, QTBUG-11779
|
| |
|
|
|
|
| |
Task-number: QTBUG-13142
|
|
|
|
|
| |
Task-number:
Reviewed-by: Aaron Kennedy
|
|
|
|
| |
...and a set of functional group pages.
|
|
|
|
|
|
|
|
| |
The boundingRect depended upon the image cache which may not become
valid until after boundingRect is called.
Task-number: QTBUG-12291
Reviewed-by: Michael Brasser
|
|
|
|
|
|
|
| |
... and percentage is useless.
Task-number: QTBUG-12282
Reviewed-by: Warwick Allison
|
|
|
|
|
|
|
| |
We need to create our cached image in boundingRect() if it doesn't
already exist, to prevents painting errors.
Reviewed-by: Warwick Allison
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Text in QML is always painted into a pixmap, and with sub-pixel
antialiasing enabled this produced incorrect results. This patch is a
temporary fix until QTBUG-12252 and/or QTBUG-7747 can be properly
addressed in a patch release. In the worst case, if using QML and
QPainters are being constructed in a non-GUI thread, this patch could
potentially turn off sub-pixel antialiasing for them.
Task-number: QTBUG-11002
Reviewed-by: Aaron Kennedy
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
|
|
|
|
| |
Task: QTBUG-12201
Reviewed-by: Michael Brasser
|
|
|
|
|
|
| |
updateSize() shouldn't trigger another updateSize().
Reviewed-by: Martin Jones
|
|
|
|
|
|
|
|
|
|
|
|
| |
This may mean that the cursor is to the right of the width, so components should
cater for that with a margin if they are boxed / clipped.
TextInput used to try to account for right bearing (and left bearing incorrectly since
it added it on the right). This is removed. Potentially this means that for some fonts
the text repaints incorrectly on the left or right, but if that is the case Text and TextEdit
already had such a problem (undetected), and all will need fixing.
Task-number: QTBUG-11983
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The QDeclarativePixmapCache was both slow, and very trickey to use correctly.
Many QML elements did not correctly cancel outstanding requests, which leads
to pixmaps leaking indefinately. Other elements, such as Text, were
subject to race conditions that meant they may never actually load all their
images.
QDeclarativePixmap is a single class than encapsulates the action of
fetching a pixmap, as well as the pixmap itself and the responsibility of
canceling outstanding requests. Rather than relying on Qt's pixmap cache
that doesn't cache all the information QML needs, QDeclarativePixmap
implements its own cache, that correctly degrades over time (unlike
QPixmapCache that can stop expiring items in some conditions).
Reviewed-by: Warwick Allison
|
|\ |
|
| |
| |
| |
| | |
Task-number: QTBUG-11754
|
|/
|
|
|
|
|
| |
Text.style is the correct property, and this has never been available
in TextInput or TextEdit.
Task-number: QTBUG-11828
|
|
|
|
|
|
| |
Various clipping and refresh bugs.
Task-number: QTBUG-11492
|
| |
|
|
|
|
| |
docs more consistent
|
| |
|
| |
|