1. 12 May, 2017 7 commits
  2. 11 May, 2017 4 commits
  3. 10 May, 2017 2 commits
    • Thomas Hartmann's avatar
      QmlDesigner: Adjust color · 94e02994
      Thomas Hartmann authored
      The rectangle that indicates selection has now the selection color.
      
      Change-Id: I59bcd070bfb8b16f297e648ff53d83c8953b4896
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      94e02994
    • Thomas Hartmann's avatar
      QmlDesigner: Reimplement navigator model · 8c2467d4
      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's avatarTim Jenssen <tim.jenssen@qt.io>
      8c2467d4
  4. 08 May, 2017 1 commit
  5. 05 May, 2017 1 commit
  6. 04 May, 2017 1 commit
    • Thomas Hartmann's avatar
      QmlDesigner: Improve Go To Component · 6d10a6f0
      Thomas Hartmann authored
      This improves the signals present in "Go To Component"
      or "Add Signal Handler".
      For some controls we have to offer property changed signal
      handler as first options.
      We simply hard code properties which are likely to be handled.
      
      Change-Id: Ide26589534d6d058f1b60afcc6353c4f0340cb22
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      6d10a6f0
  7. 02 May, 2017 1 commit
  8. 28 Apr, 2017 2 commits
  9. 26 Apr, 2017 3 commits
  10. 25 Apr, 2017 4 commits
  11. 24 Apr, 2017 3 commits
  12. 20 Apr, 2017 2 commits
    • Tim Jenssen's avatar
      QmlDesigner: set splitter handle zero again · e21843e3
      Tim Jenssen authored
      Was broken since 6f1d2371 which sets
      css only at widgets where it is necessary.
      
      Change-Id: Ia60672136ad8c73791806c920051918dbb23748c
      Reviewed-by: Thomas Hartmann's avatarThomas Hartmann <thomas.hartmann@qt.io>
      e21843e3
    • Thomas Hartmann's avatar
      QmlDesigner: Crash fix · 3d8f131d
      Thomas Hartmann authored
      This is a nasty one. The text item that
      triggers the crash is part of a delegate and therefore,
      does not have an item in the scene.
      The rewriter is now setting the id again, when reading the file after
      the Rectangle is removed. we get a crash.
      Since delegates are currently not shown in the navigator, this crash
      could not happen before we introduced the integrated text editor.
      
      
      Task-number: QTCREATORBUG-17970
      Change-Id: Ica16dec5bb2f852324de179c4a2b4d43dcf27aa9
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      3d8f131d
  13. 19 Apr, 2017 2 commits
  14. 06 Apr, 2017 1 commit
  15. 05 Apr, 2017 2 commits
  16. 04 Apr, 2017 2 commits
  17. 03 Apr, 2017 2 commits
    • Thomas Hartmann's avatar
      QmlDesigner: Ensure proper current text editor in edit mode · 5ee452aa
      Thomas Hartmann authored
      When changing back to the edit mode we have to set the
      edit modes text editor as the current editor.
      
      Change-Id: I0bf7edbdf66285443402e2196f8ba655661e6dc4
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      5ee452aa
    • Thomas Hartmann's avatar
      QmlDesigner: Handle missing type information · 081bbc44
      Thomas Hartmann authored
      We always had the problem that the design mode might become
      active while type information is still being loaded.
      This causes an error message and the user had to trigger
      a reload of the QML document.
      Due to changes in the project management Qt Creator
      starts reading the type information, once the first QML file
      is opened.
      This triggers the error far more frequently.
      
      This patch fixes the issue by triggering a reaload after 1s,
      if type information has not been read completely.
      This fixes the issue.
      
      Change-Id: I23ad011294044690fd582e808227c3ccde8bda54
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      081bbc44