- 19 Jan, 2016 1 commit
-
-
Tobias Hunger authored
* Update remaining files in src Change-Id: I1896f17fcf34f71c3310c87899fb5171b8e4afb1 Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
- 10 Nov, 2015 1 commit
-
-
hjk authored
Makes the assumption Item::m_model != 0 if and only if item belongs to a model explicit. Change-Id: Ib58889fd10e9fce1590a42ade6d847aee747ac56 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 28 Sep, 2015 1 commit
-
-
Christian Stenger authored
...when the root item is exchanged. Change-Id: Ic854259902bcfdcf5ec5776ad40b56bca3820bf5 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 13 Jul, 2015 1 commit
-
-
hjk authored
This should not be accessible to client code, as the property is effectively managed by the owning model and manually changing it on an item breaks that. Change-Id: Ie04451be3c0e51e7c796dcd64d400600f035fa08 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 23 Jun, 2015 1 commit
-
-
hjk authored
This establishes an additional invariant, namely that items that are not part of a model have m_model == 0, even if their destruction is imminent. Change-Id: I0bad7fff57d21ddcefe06953cd0da8c2897baa4a Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 11 Jun, 2015 1 commit
-
-
Eike Ziller authored
Change-Id: Ieea98d244d689778db868604d981badcd166a7b5 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 10 Jun, 2015 1 commit
-
-
Eike Ziller authored
The usual Qt API for "takeXyz()" methods is to return the item that was "taken". Change-Id: Ie144051801487a301b3f13e2857735b65f58150b Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 04 Jun, 2015 1 commit
-
-
Christian Stenger authored
This removes the need to emit the respective signal by the caller of setRootItem() if the tree has been constructed before using setRootItem(). Change-Id: I6f6210a9ef7d9ec3d347dc7cfdaf853535ca7656 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 23 Apr, 2015 1 commit
-
-
hjk authored
Change-Id: I75751c792b22998990ef453d51b9586fdaf31f50 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 22 Apr, 2015 4 commits
-
-
hjk authored
isLazy/populate was the first incarnation of the canFetchMore/ fetchMore mechanism which now can take over completely. So: - remove isLazy/populate - the use in VariableChooser Change-Id: I885d492c134fb6899759e19a73156b52df7a880a Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
hjk authored
- introduce topLevelItemCount (similar to QTreeWidget) - squash untypedTreeLevelItems() - rename removeItems() to clear() - rename removeItem() to takeItem() - rename treeLevelItems<> to itemsAtLevel<> Change-Id: I0f1bb4110f7687b20da3d92e3d943858645a9fa2 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
hjk authored
- rename index{From->For}Item - rename item{From->For}Index - remove ununsed setColumnCount Change-Id: I1cce9657e476dd1e8ffa9f7cdb2e646fab6884ab Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
hjk authored
This allows tree items to rely on not being part of a model inside their destuctors. Change-Id: I5f19739d3701426b068a07bf82f5199fbb259f29 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 20 Mar, 2015 1 commit
-
-
hjk authored
... in WatchHandler and DebuggerEngine interface. Adjust using code. Change-Id: I6371f3e96ba46a783e23a5767cdde24a10d3fce7 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 16 Mar, 2015 1 commit
-
-
Eike Ziller authored
Broke after moving to Utils::TreeModel. Use QSortFilterProxyModel on top of TreeModel (can later be used for filtering as well). Additionally we need to make sure to report changes only for the changed column now, because otherwise QSortFilterProxyModel thinks that the change could make re-sorting necessary, and does that in a non-stable way. Change-Id: I9fd12c55a45aba4c05f8e318ae8ea9a4ab9f3310 Task-number: QTCREATORBUG-14107 Reviewed-by:
Robert Loehning <robert.loehning@theqtcompany.com> Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 23 Feb, 2015 1 commit
-
-
Christian Stenger authored
Change-Id: I23739cb4c7a19a5c5bcdc8bf39c36db689292b62 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 09 Feb, 2015 3 commits
-
-
Christian Stenger authored
...and make sure model is propagated when using copy constructor. Change-Id: I95b95ebb7f6058adc73bc6e73b4f23a87012a2b2 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
hjk authored
Change-Id: I5f452c94ba4970cadda7840b8a5bcbe8871d84ac Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
hjk authored
Functions that are meant to be overridden should be virtual. Also add a convience level() function, seems to be a common need. Change-Id: I09d452ab12f0ac29fb31de853057511418a47e7e Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 29 Jan, 2015 1 commit
-
-
hjk authored
The circle closes, that's where the code came from. Change-Id: Ic36ab61ec8886c9a2747aeb29a7245df3ef0b6c4 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 28 Jan, 2015 2 commits
-
-
hjk authored
Only the top level entry was handled so far, but we might add items with subitems. Change-Id: I55084a1f595f4982bd37168e71b144b17eee63b1 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
hjk authored
Default to 'editable' (not selectable), intentionally changes behavior in the Kits, Compilers and Debugger option pages, but brings it more in line with Qt version. Change-Id: I71739a5d61c9980fc6da729dcb59b0900047f066 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 26 Jan, 2015 1 commit
-
-
hjk authored
canFetchMore/fetchMore, and insertChild (at given position). Make prepend/appendChild use the latter. Change-Id: I4162fe6e64f37d26de209aa81894c9730957694b Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 21 Jan, 2015 1 commit
-
-
hjk authored
Full separation does not seem possible as QTreeView assumes all items to have equal column count. Change-Id: Ia260924fe13ea62789923af8484f9838295355b6 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 16 Jan, 2015 1 commit
-
-
Eike Ziller authored
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 15 Jan, 2015 1 commit
-
-
hjk authored
... and use the items themselves as main entry point for item related operations. With non-uniform tree items it's easier to have item specific functionality directly in the item implementation instead of the model. Change-Id: I4e9b7db98d16b91ddef81917417691129bb83621 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 13 Jan, 2015 1 commit
-
-
hjk authored
Change-Id: Id59c35068cd5a2ba22ccfddd45a0826dd68e9905 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 12 Jan, 2015 3 commits
-
-
hjk authored
Change-Id: I1a8e065cfaa57b49c852a3a1d67149447d4d87b2 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
hjk authored
Change-Id: Ief7f120ef27eb43746826da7c771b5f9a3f7ce8f Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
hjk authored
Currently #if'd out, but takes only a one line change to enable quick testing. Tests pass with the included change to flags(). Change-Id: I6dca376f162ad26e8ce6de65241e56497ff7267e Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 09 Jan, 2015 3 commits
-
-
hjk authored
Just convenience. Change-Id: Ieff2291ca63584cfa113a24cc2930adc3e764d08 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
hjk authored
Has not been needed for a while. Change-Id: I141725d77343c4afa9907fde6af8e283f2744c88 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
hjk authored
Change-Id: Iaf115377de0e5fc0b004d5ea8ddc5c6eb31b5b6f Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 05 Jan, 2015 1 commit
-
-
hjk authored
Add functions to remove a single item, to access the last child of an item and a simple way to construct items that only display static data. Change-Id: I89347fbb6bbbac6b77fcfb23fa0b780a13643d6f Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
- 17 Dec, 2014 1 commit
-
-
hjk authored
This is mainly used to communicate the number of columns and header contents. Change-Id: Ic3163265338d71f1fa8250e4765bb764e5784197 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 17 Oct, 2014 1 commit
-
-
hjk authored
Change-Id: I33a6d017f14ee9703b374f645c279cc26e3cb3e5 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 15 Oct, 2014 1 commit
-
-
Eike Ziller authored
Change-Id: I0acde2c3b995693de682679471f03af85bdd0a61 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 14 Oct, 2014 1 commit
-
-
hjk authored
That kind of boiler plate comes up often enough to justify a wrapper. Change-Id: I94aa5b1ccbe5a98f091a47087654e59e9e122c1d Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-