- 12 May, 2017 13 commits
-
-
Thomas Hartmann authored
Change-Id: Id54ceb09ada16ef41ebd568f5e8fe0559cc52e76 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Thomas Hartmann authored
We use NavigatorModelInterface to encapsulate different models. Change-Id: Ia7bcdfffea18942cb07ca3495e078a97ca51d97c Reviewed-by:
Thomas Hartmann <thomas.hartmann@qt.io>
-
Thomas Hartmann authored
Change-Id: I949a5e96c0a0ac0e2b88860c191095543de417f5 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Thomas Hartmann authored
We have to avoid to use the model directly, since we will have two different models in the future. Change-Id: I3bffc897c2c15bdd37da42df701a0e6995ba6c6f Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Thomas Hartmann authored
This code has been moved to the delegates. Change-Id: I3e44a3eb2038299d3b0a7de1e86ed92c3d835bd4 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Thomas Hartmann authored
NameItemDelegate does not require internals of the model anymore. The delegates are now agnostic about the model. Change-Id: Ibf19674b765353f1f55a361a76ab4002534b73b6 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Thomas Hartmann authored
IconCheckboxItemDelegate does not require internals of the model anymore. Change-Id: Ia4d2787cf34c56e8b2a3b82184b9d5f2378ce607 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Thomas Hartmann authored
We introduce a role for the model node. This way we do not have to access the model directly. Change-Id: If3eb006894e1d227ec9c58bbd99cdcd500cd62d7 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Thomas Hartmann authored
Change-Id: Id35a743377d77882c7fc5e33e2a69a01c0fde140 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Thomas Hartmann authored
Change-Id: I5c74437bf2ba9dad06b452c58286a5168e6f392e Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Thomas Hartmann authored
This was just some reference/leftover. It is now used in the WIP implementation of the new/alternate model. Change-Id: I2909f3b7c24121277b1b05b03716d0a2dbdbcd73 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Thomas Hartmann authored
Change-Id: I8abd54b20371ffaec37c044e8cdefe4010c520dd Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Thomas Hartmann authored
In the complex model we will not always have icons. We keep 4 pixels for indentation. Change-Id: I07b66d3846a36a73a2dcbe4910f2da895756ef07 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 11 May, 2017 4 commits
-
-
Thomas Hartmann authored
Since there will be two models we have to decouple things in the delegates. Change-Id: If20b7ca1ab211bbf953968fb0994679b588e8b4a Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Thomas Hartmann authored
Change-Id: If1e73d218c2647074ecb198749b176b4618111b0 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Thomas Hartmann authored
This allows to share functionality with an alternative tree model. Change-Id: I2737ce2e7d93cc92695a6b888afda9da411c9fa4 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Thomas Hartmann authored
This allows to use the icon in other places. Change-Id: I3c67351273f3be3c0fbe19eb58984cf54d057a3d Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 10 May, 2017 1 commit
-
-
Thomas Hartmann authored
This patch gets rid of of QStandardItemModel. Instead we implement a simple tree model without any explicit structure. The model simply maps the generic Model to a tree. The advantage of the new model is that is does not use a shadow data structure (QStandardItemModel) anymore. The original model is always directly mapped to the tree model. This makes initialization a lot faster and and there cannot be any synchronization issues anymore. Change-Id: I0e71ff2d4067f29a4c25c78ad3d626a5daf206a4 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 02 May, 2017 1 commit
-
-
Thomas Hartmann authored
We set the same minimum width the item library has. This avoids overlapping icons, depending on the depth of the tree. Since we are rewriting the tree view anyway this should be good enough for now. Task-number: QTCREATORBUG-18131 Change-Id: Id5f018c118499a8a47785282a25a29d40e0685b3 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 26 Apr, 2017 1 commit
-
-
Tim Jenssen authored
Change-Id: Ibdc46d30ad3f2b703d4cbdd796a1032030bd17cd Reviewed-by:
Thomas Hartmann <thomas.hartmann@qt.io>
-
- 04 Apr, 2017 1 commit
-
-
Thomas Hartmann authored
We store generic error messages in the root node. Those have to be reset. Also we have to reset the type icon if there is no error anymore. Change-Id: Ibe6274f651113f26aef6240bb9efa005862378f4 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 20 Mar, 2017 1 commit
-
-
Orgad Shaneh authored
+ De-slot where possible Change-Id: Ibd2edbef7b7712aba20593bd0417940e828e0c9c Reviewed-by:
Thomas Hartmann <thomas.hartmann@qt.io>
-
- 09 Mar, 2017 1 commit
-
-
Tim Jenssen authored
- rename Theming -> Theme - made derived colors as Q_INVOKABLE methods available - rename registerIconProvider -> setupTheme - inside *.qml files use a singleton import instead of a context Before this change, every request for a theme value copied the map into the Qml context including the convert of values QVariant -> QJSString Change-Id: I1c483fb591336b519d5adab8ad37b42bc5a06720 Reviewed-by:
Thomas Hartmann <thomas.hartmann@qt.io>
-
- 08 Mar, 2017 1 commit
-
-
Thomas Hartmann authored
We have to rebuild the complete tree and update the item selection. Change-Id: I91057ca3c518d9027724a7b15de686248df7a0e6 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 28 Feb, 2017 1 commit
-
-
Thomas Hartmann authored
This design allows different image preview sizes and is a lot more usable. Change-Id: I0be4270a16e28d549296e0659b76cd7eecab1f57 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 24 Jan, 2017 1 commit
-
-
Thomas Hartmann authored
Change-Id: I90cffc6d814c06d2474b003a4b6c5714b1a9ad1c Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 04 Jan, 2017 1 commit
-
-
Thomas Hartmann authored
Since C++11 destructors do not throw by default. Change-Id: Ic6403704587999464011fcaa1f9ac7df3e4ee49d Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 21 Dec, 2016 1 commit
-
-
Tim Jenssen authored
The type of a ModelNode can now be changed in the model. The rewriter can already handle the case and the NodeInstanceView does a reset. We still have to expose this new feature in the UI. Change-Id: I9bc405d40b123f257324ba582a4451fbd395f24f Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 05 Dec, 2016 1 commit
-
-
Tobias Hunger authored
Change-Id: I4b271e7672452473d4587b49bb368aa57f7e47ca Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 30 Nov, 2016 1 commit
-
-
Tim Jenssen authored
Change-Id: I2a9533d3d3eb71e60e3d0328e651e40676b24f14 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 28 Nov, 2016 1 commit
-
-
Thomas Hartmann authored
Using "changed" for all methods of AbstractView. Change-Id: Idd607d7e6087b83954b081fb49fd39e0bd196c3d Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 18 Nov, 2016 1 commit
-
-
Alessandro Portale authored
Change-Id: I1031d21c535d4a710f1f917e13bec30fb310a8c4 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
-
- 15 Nov, 2016 1 commit
-
-
Thomas Hartmann authored
Change-Id: I4956b58f1ffd3bfdf0e6b810de1f411ae7d7f8a0 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 19 Sep, 2016 1 commit
-
-
Thomas Hartmann authored
Change-Id: I8d293eb5a5fa7d6f7092f2fc857e19e9c4014c60 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 05 Aug, 2016 1 commit
-
-
Ulf Hermann authored
This way we can use them from libraries, not only from plugins. Change-Id: Ic35cfd5f04d638d87606bf272b2c00ded1267c1b Reviewed-by:
Alessandro Portale <alessandro.portale@qt.io>
-
- 21 Jul, 2016 1 commit
-
-
Tim Jenssen authored
it was a regression when everything switched to fusion style Change-Id: I87a660afd268ed76608edad8edc93f29db243748 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
-
- 20 Jul, 2016 1 commit
-
-
Thomas Hartmann authored
The Fusion style does not play well with the custom background in our delegate. I simplified the background in our delegate and removed unrequired .css code. Change-Id: Ia3872d7df8b8c031b29199794e509933322c1d98 Reviewed-by:
Alessandro Portale <alessandro.portale@qt.io>
-
- 14 Jul, 2016 1 commit
-
-
Thomas Hartmann authored
Change-Id: I32e0cb8a2d1b406c464ada33685def1149626a72 Reviewed-by:
Alessandro Portale <alessandro.portale@qt.io>
-
- 12 Jul, 2016 1 commit
-
-
Thomas Hartmann authored
With this patch the Qt Quick Designer supports: *Flat *Flat Dark *Flat Light *Classic I did not test the dark style. I added a template engine for the .css files. The syntax for the .css files is identical to the QML syntax. Known issues: * The icons in the property editor do not play well with the Flat Light style. We have to get proper Core:Icon support for the icons and most icons have to be simplified/flattened to fit the new style/ theme. * Some colors in the connection editor are still dark and hardcoded. But this looks ok together with all themes. * The highlight colors are not taken from the theme, yet. Change-Id: I94f2b75f92db8e131c2b15867dbabe9ae4b2f25a Reviewed-by:
Tim Jenssen <tim.jenssen@theqtcompany.com>
-
- 21 Jun, 2016 1 commit
-
-
Alessandro Portale authored
Theme::widgetStyle with its two possible return values makes less sense than a bool flag. Especially since we already have several separate theme flags for ui elements which might be "flat" or not. Change-Id: Ic521bb58c04386b735b784079de05e521bc1f45f Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Alessandro Portale <alessandro.portale@qt.io>
-