- Nov 13, 2014
-
-
Mitch Curtis authored
It doesn't look very nice (missing spaces, several statements per line). Change-Id: I2d7de5148498a25e4ade0125e66a64a688da688b Reviewed-by:
Venugopal Shivashankar <venugopal.shivashankar@digia.com>
-
- Oct 22, 2014
-
-
Gabriel de Dietrich authored
The property has been present since 5.1 for rowDelegate and missing for itemDelegate. Also, the property was incorrectly bound to the table having active focus instead of the row. Change-Id: I43a93975dffd849b37cfee6363343f8aef57d11b Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
Gabriel de Dietrich authored
Generally, styles give more emphasis to focused and selected rows in tables. To help implement such styles, we raise those rows as follow. Focused rows get a z-value of 0.7, selected rows, 0.5, and the rest a z-value of 0 (which is the default). [ChangeLog][TableView] Raise focus and selected rows above other rows Change-Id: I215249781466d21c28de3cd1805b6d08d83ac856 Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
- Oct 19, 2014
-
-
Mitch Curtis authored
Change-Id: Ib287fc432eba747df98874b9f1a3f203daf9b861 Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
- Oct 09, 2014
-
-
Liang Qi authored
Autotest is included. Task-number: QTBUG-41444 Change-Id: Ia3120b62a58361fbb13cd06e9c17b0e511cecace Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
- Oct 08, 2014
-
-
Liang Qi authored
By forwarding key events from the internal control. The key events from internal are Keys.forwardTo TableView, then user could customize their own behavior. Autotest are included. [ChangeLog][TableView] Fixed support for Keys attached property, by forwarding key events from the internal control. Change-Id: Ic59273ae2589bf6d1a0ccf5babf8fd1741376e6c Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
- Sep 10, 2014
-
-
J-P Nurmi authored
Task-number: QTBUG-41202 Change-Id: I13c420dd1443c152053ac331da7bfe5a9fbc9603 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com>
-
- Jul 31, 2014
-
-
J-P Nurmi authored
Change-Id: I42b6fd74fc9a51ab7fbb490ea64fb59df3164c5d Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- Jul 14, 2014
-
-
J-P Nurmi authored
[ChangeLog][TableView] Introduced a pressAndHold(int row) signal that is emitted when the user presses and holds a row. Change-Id: I823a7fd534fd6fca78831f00e7ecbb9f2118e006 Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-
- Jul 11, 2014
-
-
Piotr Wycisk authored
Task-number: QTBUG-37288 TableView: The resize column cursor should not appear when moving a column Change-Id: Ibd3ef44eeb645e8a9c17a58a3fcf2ef06624d3ad Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
J-P Nurmi authored
Make it possible for the Android style to visualize the pressed state. Task-number: QTBUG-35081 Change-Id: Ida956ef1fbdccd0931c111424788973c29b0a6c3 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com>
-
- Jun 06, 2014
-
-
Gabriel de Dietrich authored
Also makes sure the resize handle is visible in desktop style. Task-number: QTBUG-39393 Change-Id: I44410c65e76b0a3221ea5fce713c1f1b69079947 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Jun 05, 2014
-
-
Gabriel de Dietrich authored
The key is to get a headerRowDelegate of non-null dimensions. Task-number: QTBUG-39393 Change-Id: I5ceadb07ebfc84142bbbfe98c5d61780e0314cf5 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Gabriel de Dietrich authored
The user expects the "ghost" header to be aligned with the actual column header when he starts dragging it. Change-Id: Ifccf633403a72fe8448132fe6c349a85acba28d7 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- May 21, 2014
-
-
J-P Nurmi authored
It has gone unnoticed for a long time ever since 47ef1a5f . As far as I can see, it never was actually used for anything... Change-Id: I28045ca8ba3ecec6869aed1eeebcaab7c2866e93 Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
- May 15, 2014
-
-
J-P Nurmi authored
On desktop the content cannot be scrolled when there are empty filled rows, but on touch the content can be still flicked so the empty filled rows must move together with the content. Change-Id: I82e27d26a332d54c051e5d7bf9e1e0ab8e205f76 Reviewed-by:
Shawn Rutledge <shawn.rutledge@digia.com>
-
- May 06, 2014
-
-
J-P Nurmi authored
Must be a binding to keep the index up-to-date when moving rows. Task-number: QTBUG-38789 Change-Id: Ibd2fe34d7afccc523d563351bd3366c7c7c66635 Reviewed-by:
Andy Shaw <andy.shaw@digia.com> Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
- Apr 15, 2014
-
-
Jens Bache-Wiig authored
While we specifically documented that you should not depend on the value being correct in onCompleted for 5.3, it is not optimal that the initial value is consistently set to 0 and later changed to it's appropriate value. This patch ensures that delegates are not instantiated until after the model model and row values have been fully initialized. Task-number: QTBUG-38307 Change-Id: Ib3300539a0283c997ab8b808fb229d3f22ed6324 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Apr 08, 2014
-
-
Jens Bache-Wiig authored
Setting preventStealing to true will allow headers to be resized when in a horizontal flickable. Task-number: QTBUG-37941 Change-Id: I7be45409d96c7940f5f70b311cdedd3a8b7844ed Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- Apr 07, 2014
-
-
J-P Nurmi authored
Change-Id: Idc0b93cbfc2fe23e8be3bcaece672d06555a81f6 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
J-P Nurmi authored
Change-Id: Ifc9719ec6fbbd80b866c01eebc471d0ed121bd16 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- Mar 28, 2014
-
-
Jens Bache-Wiig authored
Since this is a new feature in 5.3, we should clearly document the implication this will have on delegates. Change-Id: I2255e9306bbac503c38d79586b4cac4eb5c8ba1e Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Mar 18, 2014
-
-
Sze Howe Koh authored
Change-Id: I5e06bdf03ba1ba8e5fe7669f690420dc9a039129 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
- Mar 11, 2014
-
-
Jens Bache-Wiig authored
The Loader needs to be reparented in order to draw the overlay on top of everything. In addition we need to take both the item offset and the contentX into account. Note I also tweaked the actual drop offset by headerRowDelegate.width/2 as that feels a bit more balanced. [ChangeLog][QtQuickControls][TableView] Fixed an issue with the header overlay offset while re-arranging TableViewColumns Task-number: QTBUG-37180 Change-Id: Ia80049616bb30e1391948fdeaf3f8d68afd7ce3e Reviewed-by:
Caroline Chao <caroline.chao@digia.com> Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Feb 26, 2014
-
-
Jens Bache-Wiig authored
[ChangeLog][QtQuickControls][TableView] "model" property exposed to delegates is now consistent with ListView behavior. task-number: QTBUG-33107 Change-Id: I8315c32a9d8beda9901ed65b552f0b8a587316ee Reviewed-by:
J-P Nurmi <jpnurmi@digia.com> Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- Feb 25, 2014
-
-
Liang Qi authored
Autotest is included. Task-number: QTBUG-36950 Change-Id: I94c5b5225437ce87365740ea7423b09737dd275a Reviewed-by:
J-P Nurmi <jpnurmi@digia.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
- Feb 21, 2014
-
-
Jens Bache-Wiig authored
Removes a couple of unused properties, use proper equality and don't re-assign the alternate binding. Change-Id: Id97294825580ce743fc1d70fba9485b85335ef31 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Feb 20, 2014
-
-
Jens Bache-Wiig authored
Change-Id: I0bf4db5ff91fea4927e32127ba22094d57caeaf5 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
Jens Bache-Wiig authored
This gives a much better scrolling performance in TableView since we do not have to instantiate the rows or re-establish bindings to header columns for each created table row. [ChangeLog][QtQuickControls] Significantly optimized TableView scrolling by recycling rowDelegate instances. Change-Id: I301e5e476c78f241be1282332905b714fbc5b37d Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Jan 23, 2014
-
-
Shawn Rutledge authored
Hitting the boundary between the columns is hard with a finger. Change-Id: I1f2fd87dd87ec8f04dd3fbf4e58b7c6200bc493c Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- Jan 22, 2014
-
-
Shawn Rutledge authored
These are analogous to QTableView::resizeColumnToContents(i) and resizeColumnsToContents(). Double-clicking the header near a width adjustment boundary still provides a means for the user to do this if the application doesn't do it programmatically. Change-Id: Ibded0c9f255301b461dac7080901fc6065fdbe5e Reviewed-by:
Caroline Chao <caroline.chao@digia.com> Reviewed-by:
Shawn Rutledge <shawn.rutledge@digia.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- Jan 14, 2014
-
-
Shawn Rutledge authored
Change-Id: Ib2e1cc6c4459af9c1e4ba3b72e1e946924b65d2b Reviewed-by:
Topi Reiniö <topi.reinio@digia.com>
-
- Dec 21, 2013
-
-
Jens Bache-Wiig authored
It turns out the currentIndex/CurrentRow was updated but the selection, was ignored for the last row in a TableView. [ChangeLog][Qt Quick Controls][Fixed: TableView regression where the last row in a TableView could not be selected by keyboard.] Task-number: QTBUG-35572 Change-Id: Ifdf11f665733dd63ba56e12fe0dabdd7932a4ab9 Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
- Nov 20, 2013
-
-
J-P Nurmi authored
TableView was specifying its content width based on item rows' width. Item rows get dynamically loaded and destroyed while scrolling, and it sometimes applied a width of a half-(de)constructed item row. That made the horizontal scrollbar jump to the beginning. This patch makes TableView use header row's (static) width for specifying the content width. Task-number: QTBUG-34344 Change-Id: I797f0f5d294fbb8c95b2836f9aec0dc14c32bc6b Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- Oct 31, 2013
-
-
Jens Bache-Wiig authored
- Missing checkmark added - Fixed TableView painting glitch on touch devices Change-Id: Ifaad596061bc8d4432ad026efa74a13356b7a77e Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- Oct 23, 2013
-
-
Caroline Chao authored
Change-Id: I406c159fbc573e8b0a999d85fd6fb546b71634ac Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Oct 22, 2013
-
-
Jens Bache-Wiig authored
When holding shift in single selection mode, you can incorrectly select multiple rows. This fixes that issue and adds an auto-test. Change-Id: If43846b631e5a3927cf68f69298f71786f664fd0 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Oct 15, 2013
-
-
Jens Bache-Wiig authored
Ironically we had previous optimizations to force v4 bindings, which now causes a number of exceptions in the engine. Some of the bindings have also been simplified. Change-Id: Iaed0c9dbb2d01aeaed25f2ada571dd8177a5b7c2 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Jens Bache-Wiig authored
We were dividing by 0 when there were no visible rows on android. This fixes the issue and ensures there are alternating rows also when the view is empty. Change-Id: I1ed84235418d50ed476a7424285c52446a355095 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Oct 11, 2013
-
-
J-P Nurmi authored
Selection cannot happen on press - it could be a flick. Change-Id: Iaac4ab375b4f8621a84da4bce330cfc7b38a1580 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-