| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This could cause animations to start running that could not later be
stopped.
Change-Id: I320f50121f3566619f08181664d049b02e2848e5
Reviewed-by: Martin Jones
|
|
|
|
|
|
|
| |
Missed in 1bcddaaf318fc37c71c5191913f3487c49444ec6
Change-Id: I4f71e5fb2b0e67a6e64ee64ae03b9d9cfc7a244f
Task-number: QTBUG-17361
|
|
|
|
|
|
|
|
|
| |
The outermost Flickable handles pressDelay for all descendents, rather
than having it cascade up and replayed multiple times.
Change-Id: Id294862469f3ce56b0940fbbb0e041d4c9f64f28
Task-number: QTBUG-17361
Reviewed-by: Michael Brasser
|
|
|
|
|
|
|
|
|
|
|
| |
Animations register to be started when the component is finalized,
but in the case of a binding, the registration doesn't happen until
we are already working with a copy of the finalization list. With this
patch, we no longer work with a copy, but with the actual list.
Change-Id: If460c250d2403590907e9ac854d277db68ba8b2a
Task-number: QTBUG-14042
Reviewed-by: Aaron Kennedy
|
|
|
|
|
|
|
|
| |
Only display a cursor if both the item and its scene have focus.
Change-Id: I0c91ab4d533cd7d773ffc2489633e12c0d399ad9
Task-number: QTBUG-17365
Reviewed-by: Martin Jones
|
|
|
|
|
|
|
|
|
| |
This brings TextInput in line with QLineEdit. The fix for TextEdit
applies equally to QTextEdit.
Change-Id: I5c47e5c8e951ee53cb1fe45d9c302050cd19deef
Task-number: QTBUG-15705
Reviewed-by: axis
|
|
|
|
|
| |
A leaked window from a previous test held focus meaning events weren't
being delivered to the expected widget. Delete the offending widget.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Placing a MouseArea in a Flickable (or PinchArea, or PathView) allows
the Flickable to steal mouse events when it detects a flick/drag event.
In some cases this is not desireable and MouseArea should be able to
retain its grab. Added a 'preventStealing' property to prevent
an ancestor item from stealing the MouseArea's grab.
Change-Id: I6277fbb76919b2b35d4e32a247b38a90e305dbdf
Task-number: QTBUG-17285
Reviewed-by: Joona Petrell
|
|
|
|
|
|
|
|
|
|
|
| |
XmlListModel uses a worker thread to process XML query, however the
worker thread doesn't use it's own event loop. So after processing the
query, the worker thread just blocks on a wait condition and then blocks
all posted system events.
Change-Id: Icdd9ddd1f3f26fd632726f7200c2a81b0877d2d1
Task-number:QTBUG-17008
Reviewed-by:Martin Jones
|
|
|
|
|
|
|
| |
Micro focus is only updated on X11, QWS and Symbian platforms.
Change-Id: Id02655cba79429e91022593ff0d1d6b8068c84ec
Reviewed-by: Martin Jones
|
|
|
|
|
| |
Task-number: QTBUG-17444
Reviewed-by: Aaron Kennedy
|
|
|
|
|
|
|
|
|
|
| |
The micro focus rect changes both when the regular cursor position
and the pre-edit cursor positions change. Ensure updateMicroFocus
is called TextInput in both cases.
Change-Id: I6822a710b841e106ce2462f74fea398250596913
Task-number: QTBUG-17396
Reviewed-by: Martin Jones
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create a sub-scope of the global scope chain, rather than a completely new scope
chain. Leaks are difficult to autotest, but an autotest for
QScriptDeclarativeClass::pushCleanContext() was added to ensure its behavior doesn't
regress. To reproduce the leak (prior to this change) use:
while (true) {
QScriptDeclarativeClass::pushCleanContext(&engine);
engine.popContext();
}
Change-Id: I41ac61ea1664da569eb329c8276f2a0bb6d2f1f7
Task-number: QTBUG-17166
Reviewed-by: Martin Jones
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The not installed error will be issued if, after loading plugins and considering
the contents of qmldir, there are no elements in the particular minor version.
For example, if a plugin/qmldir provides the following types (either from C++ or
as QML files specified in the qmldir file):
Foo 1.1
Bar 1.3
importing versions 1.0, 1.2, or 1.4 will fail with the not installed error.
Change-Id: I8566fda6918cb48936144e67a1ce75add0f160d8
Task-number: QTBUG-17324
Reviewed-by: Martin Jones
|
|
|
|
|
|
|
|
|
|
|
|
| |
Was causing assert failure on windows if the 'c:' was lower case,
since it was being added to the import path database with a lower
case and thus later lookups with an upper case 'c:' would fail.
This change fixes the check for whether the path refers to a
local path or not.
Task-number: QTBUG-16885
Change-Id: I0a2a2f705443ed453fb2b13f8599e035c2bd2877
Reviewed-by: Martin Jones
|
|
|
|
|
|
| |
Task-number: QTBUG-17183
Change-Id: I709cca0bdce247ca9250c4f334654e2ff57b0b32
Reviewed-by: Aaron Kennedy
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PathView got confused because it queried the model when removing
items due to the rootIndex change. This caused new items to be added
since the model->count() was not zero (it was the count for the new
rootIndex). Calculate the PathView modelCount similarly to the other
views (rather than querying the model) and correctly handle the
modelCount being set to zero.
Change-Id: I9e4fb27c14aa8c77ad37ff01d95c123f909db20d
Task-number: QTBUG-16366
Reviewed-by: Bea Lam
|
|
|
|
|
|
|
|
|
|
| |
Set keepMouseGrabs to true when the selectByMouse property is enabled
to prevent flickable from stealing the mouse grab and interrupting
a selection.
Change-Id: I08e11265ab9c55d239fd09aceef4fdb8e74aba9d
Task-number: QTBUG-16956
Reviewed-by: Martin Jones
|
|
|
|
|
|
|
| |
Added tests for remote imports and fixed/improved examples and
text in the docs.
Change-Id: I8f411a0287c4d50ec3cebe5567d803689cd5b1c7
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
tests/auto/declarative/qdeclarativemoduleplugin/qdeclarativemoduleplugin.pro
Change-Id: I8da521f05ebc266d91caa582852155b571d5cc63
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some refectoring while fixing QTBUG-13687 resulted in the private
setOffset() method being called rather than the public. The
public version was responsible for updating currentIndex.
Change-Id: Iac9c7a19d6fa64550b9498e77b8983512e199370
Task-number: QTBUG-17319
Reviewed-by: Michael Brasser
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
master.
- MultiplyHeight becomes ProportionalHeight
- PixelHeight becomes FixedHeight
Change-Id: I2a1ebc6ff9db7e62f513919f19773f985b08f8d7
Reviewed-by: Michael Brasser
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QML supports versioned types in modules. There's a version major and a
version minor.
This makes it possible to have a module com.organisation.fancycomponents
with version 1.0, and later you could ship a new module
com.organisation.fancycomponents which contains a more recent version 1.1
or 2.0 AND also the old versions to keep old code running.
This is good.
The problem is that this is difficult with certain QA procedures. It's
hard to verify that a new module is indeed 100% compatible with the
previous versions.
The change extends the import mechanism by adding optional versioning to
the component patch.
With the patch, you can add a new module
com.organisation.fancycomponents.2.0 which will be loaded when the
QML file specifies "import com.organisation.fancycomponents 2.0".
The patch works as follows: if you try to load
com.organisation.fancycomponents in version 2.0, the engine first
looks for com/organisation/fancycomponents.2.0, then for
com/organisation/fancycomponents.2 then for
com.organisation/fancycomponents.
Reviewed-by: Aaron Kennedy
Task-number: QTBUG-16455
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Update the scroll position on text input events and ensure the end of
the pre-edit text is visible, unless that hides the cursor in which
case display as much as possible while still displaying the cursor
and a preceding pre-edit character.
Change-Id: Iec6f82b00333f7c9ea21fe536c8f11be0f8de710
Task-number: QTBUG-16999
Reviewed-by: Martin Jones
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the section property changes and the existing section delegate is
reused the section property in the delegate must be updated.
Change-Id: I6c3dcdb697e80e1ab5162a179da52e0a0f41144c
Task-number: QTBUG-17068
Reviewed-by: Bea Lam
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
The bug was caused by the fact that the itemsInserted()
implementation in ListView and GridView returned early for cases
where (model->count() <= 1) and so did not call onAdd() unlike for
other cases. This change also fixes some incorrect values in the
header() and footer() unit tests for ListView and GridView.
Change-Id: I24f5c86afcd62c26e17b0932f257f4767a287b8e
Task-number: QTBUG-15642
Reviewed-by: Martin Jones
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Otherwise, itemAt() returns invalid values at the time that
modelChanged() is emitted.
Task-number: QTBUG-17156
Reviewed-by: Martin Jones
|
| |
| |
| |
| |
| | |
Task-number: QTBUG-16520
Reviewed-by: Michael Brasser
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Neither would open a software input panel or allow text entry while
read only, but on Symbian at least the text input mode indicator was
still displayed giving the appearance of being able to enter text.
Task-number: QT-4497
Reviewed-by: Damian Jansen
|
|/
|
|
| |
Task-number: QTBUG-16683
|
|
|
|
|
|
| |
I know not why...
Reviewed-by: Aaron Kennedy
|
|
|
|
|
|
|
|
| |
Vertical scrolling should only affect vertical movement, and horizontal
scrolling should only affect horizontal movement.
Task-number: QTBUG-7369
Reviewed-by: Martin Jones
|
|
|
|
|
|
|
|
| |
Also ensure that the view is repositioned if the change of header
results in the view being out of bounds.
Task-number: QTBUG-16522
Reviewed-by: Michael Brasser
|
|\ |
|
| |
| |
| |
| |
| | |
Task-number: QTBUG-17114
Reviewed-by: Bea Lam
|
|/
|
|
|
| |
Task-number: QTBUG-16959
Reviewed-by: Martin Jones
|
|
|
|
|
|
|
|
| |
Almost always failed on Mac and could fail on other systems due to
QDeclarativePinchEvent::m_accepted not being initialized.
Task-number: QTBUG-15491
Reviewed-by: Bea Lam
|
|
|
|
|
|
|
|
|
|
|
| |
Adds an option to do per word selection when selectByMouse is true.
Also changes the selection behavior so that the first word selected
remains selected when the direction of the selection changes which
is more consistent with other implementations including the existing
per word selection in QTextEdit.
Task-number: QTBUG-16283
Reviewed-by: Martin Jones
|
|
|
|
|
| |
Task-number: QTBUG-15489
Reviewed-by: Bea Lam
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Using QDeclarativeProperty::write() works for grouped properties but
stops functions values from being passed in, and using
QScriptValue::setProperty() on the object being created allows functions
to be passed in but doesn't work for grouped properties. This fix
walks down the tree for grouped properties to find the property that
should be set so that functions can be set for grouped property values.
Reviewed-by: Aaron Kennedy
|
| |
|
|
|
|
|
|
|
|
|
| |
The QScriptValue overload for Component::CreateObject() should be able
to set group properties. This change also allows for property
binding from Javascript to continue to function.
Task-number: QTBUG-13087
Reviewed-by: Bea Lam
|
| |
|
| |
|