1. 12 May, 2017 8 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. 05 May, 2017 1 commit
  5. 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
  6. 02 May, 2017 1 commit
  7. 28 Apr, 2017 2 commits
  8. 26 Apr, 2017 2 commits
  9. 25 Apr, 2017 4 commits
  10. 24 Apr, 2017 1 commit
  11. 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
  12. 19 Apr, 2017 1 commit
  13. 06 Apr, 2017 1 commit
  14. 05 Apr, 2017 1 commit
  15. 04 Apr, 2017 1 commit
  16. 03 Apr, 2017 1 commit
  17. 31 Mar, 2017 1 commit
    • Thomas Hartmann's avatar
      QmlDesigner: Set fusion style on ImportComboBox · 36a913b4
      Thomas Hartmann authored
      For some themes this is done anyway, but not for the default themes.
      We have to do this to ensure the "base style" plays well with the applied
      .css.
      Otherwise the combo box might sound out in weird ways and the colors
      might have usablity issues.
      
      Task-number: QTCREATORBUG-17933
      Change-Id: I4319ed9b965f4b4b3e975f2348fb89ffd9987bc3
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      36a913b4
  18. 24 Mar, 2017 1 commit
    • Thomas Hartmann's avatar
      QmlDesigner: Fix drag and drop · 2df18ec3
      Thomas Hartmann authored
      The release mouse event does not come through if we start a drag.
      There was already a workaround that stopped working with 5.8 and
      did rely on private API.
      I removed all usage of private API and added a simple workaround
      that synthesises a mouse release event.
      
      The actual execution of the drag is now asynchronous to
      ensure the release event is delivered properly.
      
      I removed all dependencies on private API in the designer.
      
      In Qt 5.9 the issue seems to be fixed in Qt.
      The workaround does not seem to get in the way of the fix.
      Eventually, the workaround can be removed.
      
      Change-Id: I9b45b255da5e44c26aba2acf4a42f88537126f75
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      2df18ec3
  19. 23 Mar, 2017 5 commits