| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a popup is brought up by a press event for a menu
inside the menubar it should not handle the relative
next release event if it falls outside the popup.
Before forwarding the release event we first check if a
previous press event was seen, if not we simply discard
the event.
Task-number: QTBUG-47295
Task-number: QTBUG-45117
Change-Id: I632fab0a3abfdfc9872f85f99f9d7f50d41526cc
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| | |
| |
| |
| |
| | |
Change-Id: I662eea96b72043d06fe94707e77a9ead5a951e3d
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-49359
Task-number: QTBUG-49360
Change-Id: I96ec6d46de189ec396ef26c0d059c65360da4ec0
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| | |
| |
| |
| |
| |
| | |
Task-number: QTBUG-49353
Change-Id: I285f058f7df9cceb9d9c52bd822cd3ad772627fc
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| |\|
| |
| |
| | |
Change-Id: I5d230ebc7c3646fce983cb21892cc3ce42854256
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We were relying on model.get() to somehow reevaluate after we'd updated
properties of model items, which somehow worked until
4876ea6a18ccdfd72014582aa5d50ab9f6b6ec9e.
The correct approach is to do the same thing as we do for
styleData.index: rely on the model properties that are exposed to the
delegate, which do get updated.
Change-Id: I529ab7dcc142187fc185b11658dc5e1496b6d6db
Task-number: QTBUG-48839
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previoulsy we manually positioned the table header over the table
contents, which required some manual tweakings. Since 5.4, ListView
support overlay headers that we can use them to clean our code in
BasicTableView.
There is, however, a small issue on Mac where the vertical scrollbar
(specially in non-transient mode) is displayed below the table header.
Since the header can't span beyond the ListView boundaries, we need
to account for the vertical scrollbar width in the ListView's content
width.
This patch also updates the Desktop style to set the transientScrollBars
property and some small tweaks to the Base style.
Change-Id: I4433d0703328f23eadb0ae4563fbef5bba0168db
Task-number: QTBUG-34344
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| | |\
| | |
| | |
| | | |
Change-Id: I7177ee6f1dc74d7f0d2ac9a3aedcc8d7a00cee41
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ComboBox checks selected text like a boolean value. This check is
unnecessary and prevents from item with empty text could be selected.
[ChangeLog][ComboBox] ComboBox is now able to select
items with empty text.
Task-number: QTBUG-42127
Change-Id: Ifaa0598d17c85cee099c88f4e03092137ba17c70
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Floating point doesn't quite reliably satisfy certain standard
identities of arithmetic ...
Task-number: QTBUG-42358
Change-Id: I7417feedbfc1fd6f59510e0ee6d07d98ff7ddc46
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Extending the Tumblers setCurrentIndexAt method with timeinterval, which
is set to the animation so while it changes it can move slower then
default.
Task-number: QTBUG-48680
Change-Id: Ic8e76c604bad928ae7b11cfbea76c11d5d295f80
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| |\| |
| | |
| | |
| | | |
Change-Id: I27600aa69f6c236229f80f7d4a278f5ab9640f6b
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add qtgraphicaleffects as a dependency to sync.profile.
Change-Id: I8f0d0be2f05aeb193ecdd296d7eeedb6cc90fac5
Task-number: QTBUG-46393
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
|
| | |\|
| | |
| | |
| | | |
Change-Id: Ie26c941c33fdd8baab49dc13b84d02e2b83af5e1
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
By default, it’s not possible to tab into certain controls.
Change-Id: Ia0941e5016926f65ab58a7391d6271d15b0c5248
Task-number: QTBUG-46393
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When a menu popup gets closed it usually needs to be destroyed right away
since we don't recycle its contents. There is an exception, however, and
it's when he user triggers a menu item.
In this case, we need to proceed in three steps. First, we hide the menu
popup, then we emit the triggered signal, and when that one returns, the
menu contents can be disposed. If we did all in a single step, we may end
up with a crash since we don't support deleting a QtQuick item while it's
running a signal handler. Delayed deletions don't work either in the case
when the triggered handler ends up running the event loop.
Task-number: QTBUG-45182
Task-number: QTBUG-47682
Task-number: QTBUG-48382
Change-Id: Ic39717e09f38df602f641250cd81cf4931863db6
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| | | |\
| | | |
| | | |
| | | | |
Change-Id: I6a887182dbed50c8028bd2dbed71e48d5226fac8
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Otherwise users can trigger shortcuts even when buttons are disabled.
Change-Id: If97c6a3c3df574a4271c53cf7bcfd8fdb1a059d6
Task-number: QTBUG-48144
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| | | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This leads to serious memory/OpenGL context leaks on
Windows. No such thing has been noticed on Linux which
may hint to differences in the backend.
Task-number: QTBUG-47682
Change-Id: I274ed98db348ffe2c78707f2c92b812f272c2723
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| |\| |
| | |
| | |
| | | |
Change-Id: Id85e82801b77faf9a32177838025696aab64f002
|
| | |\|
| | |
| | |
| | | |
Change-Id: Ie81aa6abe8a4acbd201e4938f0cb693a8b3aa567
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also, print extra information when the test is about to fail
since it has proven to be a bit flaky lately.
Change-Id: I4042cb99eb2b3fcb3677de63cd425d0ade4bdc34
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: I7041fbe141f9f95be3e6d5c6a9f0abf543877194
Task-number: QTBUG-44185
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
QTBUG-44664 is fixed now.
Change-Id: I0645d4522f093057606b53228e99c1d20668f2d2
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
The keyword no longer has a meaning for the new CI.
Change-Id: Ia9b92873afde00d2d0a352856f4a531f419b6e85
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
|
| | | |
| | |
| | |
| | |
| | | |
Change-Id: Ia11c855802fb816b2bb4c1620f7bd1385d32ca0e
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The menubar test case is broken. It doesn't follow the One Definition Rule of C++
and it's better to replace by adding new tests to the menubar_tst.qml test case.
Change-Id: I0ecba87ba7e20daf2034fe4c5848b48776d18ea5
Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com>
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Pressing the escape key when a menu is currently opened inside the
menubar should close it. A new test is added for checking this behavior.
Change-Id: I446cd4f22e1f8d756d89bb20712e354a6d7fe909
Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com>
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| |/ /
| |
| |
| |
| |
| |
| | |
Added a simple test that click on a menubar root menu
Change-Id: I699063a01a76a1b116eccbcc0326782908107a71
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| |\|
| |
| |
| | |
Change-Id: Ifec0f56816809abb90a294b8462391cb7e54c87d
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
That parameter is actually delay, so a delay of 1 millisecond was being
passed.
These were found with:
git grep "mouseMove\(.*\, .*\, .*\, Qt.LeftButton\)"
Change-Id: I00172dcd457aa4aae12d98421bc95525235c9570
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In the case a view is embedded in a QWidget, such widget may be
embedded anywhere in parent widgets. if it's not at a 0,0 position
compared to the toplevel widget, the position needs to be adjusted by
the relative position of the QQuickWindow in regards to the toplevel
one, in which in this case is given by transientParent()
Change-Id: Iafb7a42bdb641850fe77932d14bac9a715059b37
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Its purpose is the same as QAbstractItemView::rootIndex
and allows to display only the part of the model data that
is descendant of this index.
The filesystembrowser example has been updated to only show
files reachable from the user's home directory.
[ChangeLog][TreeView] Added rootIndex property
Change-Id: Ib8d9af4ce9d1f341ab509de3cc991773830ba9f4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| |\ \ |
|
| | |\|
| | |
| | |
| | | |
Change-Id: I689c18ad192a38581d3058e2a555d6438a8d08e2
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As we keep track of the previous user-selected row,
it can happen that that row is no longer part of the
TreeModelAdaptor items if the user collapses it or
any of its ancestors (collapsing a node doesn't update
the current selection). This will result on the row
index pointing to the wrong entry in the model (or a
completely invalid one).
Instead, we now track the selection with QModelIndexes
making it more robust to branch expansion and collapse
in the view. We'll still need to account for model changes
which means that, in the future, we should invalidate
the previous user-selected item.
Change-Id: I54ba2582e65515eef95d5f8ad755a8c68568d7ad
Task-number: QTBUG-46891
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
The test may be too sensitive to style variations. Until we can
verify its validity on Ubuntu 10.04, it will remain skipped.
(Blacklisting support is missing for QML auto-tests.)
Change-Id: I534803870b28fdf5539a852bd13a7f8c50d5d5ca
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| |\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I8a32df546611d7a8105ad31ed72f54dbac0b1250
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Bind the text of a inactive ComboBox to the text of the selected popup menu
item, so that the text updates when the model changes.
Task-number: QTBUG-46611
Change-Id: Ieba4d8ee7d9b37390e805a3bde58bf546c5009b1
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
|
| | |
| |
| |
| |
| |
| | |
Task-number: QTBUG-46468
Change-Id: I6718bc860f26a287ff4580e4844aec225c0f70b7
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
|
| | |
| |
| |
| |
| |
| | |
Change-Id: I3e7a611e04e9abc64d77fa1a9497760ae28372ed
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
| |\|
| |
| |
| | |
Change-Id: Ia13e89e7aaa2a58d15b52d13c0bbd4c4b12c8bf9
|
| | |
| |
| |
| |
| | |
Change-Id: I64309a369065a4d91107527d29c8dfb03dcd738d
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We make the model adaptor behave as if it had no model
set if the model gets deleted. Also, while not strictly
necessary, using a QPointer adds some extra safety.
Change-Id: Ic6963319678acee0097dcddfea36059f9046b093
Task-number: QTBUG-46214
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
In tst_treeview.qml, destroy() is called in the cleanup() function
so it is not necessary to have it in the test functions as well.
Change-Id: I580e78c966fa162be23c36c43b59cd6226688941
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
| |\|
| |
| |
| |
| |
| |
| | |
Conflicts:
src/controls/TextArea.qml
Change-Id: I1edc6fa3b51e58d9aa290c9d099cac2e85ea176c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These do the same as for QMenu, and are emitted
right before the pop-up is shown or hidden. On
Mac, these signals are emitted by the QPA plugin
and relayed by QQuickMenu.
Task-number: QTBUG-40576
Change-Id: I59113d8d9cc8c5b3140f4f552772d33dd0b6e138
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Change-Id: I6a8105d074fd71d9d0dff35d07ba1622093e1d4b
Task-number: QTBUG-45351
Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com>
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When removing or moving items, we may call lastChildIndex()
with an invalid index because we're not checking for childless
items which can be expanded (think about expanding an empty
directory). Same thing when relayouting an item.
The solution requires testing for the actual children count
since hasChildren() count return true even when the item has
no children.
Change-Id: I0fa6de41e20c6cb2433f8846449e9f1a2989ce91
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| | |
| |
| |
| |
| |
| | |
Task-number: QTBUG-42538
Change-Id: Ia6d38819c994dcd9713958faf0c17de2023c9f25
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|