1. 13 Apr, 2011 1 commit
  2. 12 Apr, 2011 3 commits
  3. 11 Apr, 2011 5 commits
  4. 07 Apr, 2011 5 commits
  5. 06 Apr, 2011 1 commit
  6. 05 Apr, 2011 6 commits
  7. 04 Apr, 2011 1 commit
  8. 01 Apr, 2011 4 commits
  9. 31 Mar, 2011 4 commits
    • Jarek Kobus's avatar
      Fix compilation · c8e03e5e
      Jarek Kobus authored
      c8e03e5e
    • Thomas Hartmann's avatar
      QmlDesigner.copyNPaste: fix for Components and default properties · dc1ce254
      Thomas Hartmann authored
      To handle defaultProperties correctly in the text buffer for
      copy n paste we have to forward the meta system.
      Since the text buffer is not a qml document in Qt Creator
      with all the infrastructure attached the meta system is
      incomplete.
      So we forward in these cases the meta system of the actual document.
      
      Model::create() now gets an additional paramater where we can specify another
      model for proxying the meta system.
      
      Reviewed-by: Kai Koehne
      dc1ce254
    • Thomas Hartmann's avatar
      QmlDesigner.propertyEditor: crash fix · ff9a03b1
      Thomas Hartmann authored
      The stack trace from 4282 indicates that in fact currentState is invalid.
      We should check for this.
      
      Reviewed-by: Kai Koehne
      Task-number: QTCREATORBUG-4282
      ff9a03b1
    • Thomas Hartmann's avatar
      QmlDesigner.propertyEditor: crash fix for setting expressions · 895442d6
      Thomas Hartmann authored
      The problem was that the transaction was commited outside of the try {}
      catch {} block (RAII)
      
      1. I extended to the try block arround the fxObjectNode.setVariantProperty()
      to avoid similar bugs
      2. I force a commit of the transaction before leaving the try block
      
      result:
      If anything is wrong with the entered expression an exception is thrown
      (like before) but now is is catched and we show a messagebox.
      
      Reviewed-by: Kai Koehne
      Task-number: QTCREATORBUG-4312
      895442d6
  10. 30 Mar, 2011 3 commits
  11. 28 Mar, 2011 1 commit
  12. 25 Mar, 2011 1 commit
  13. 24 Mar, 2011 2 commits
  14. 23 Mar, 2011 3 commits
    • Thomas Hartmann's avatar
      227b06b2
    • Thomas Hartmann's avatar
      QmlDesigner.anchors: avoid recursion · 1c61320f
      Thomas Hartmann authored
      Since instances are asynchronius now, we cannot
      rely on instance feedback (for e.g. fill).
      
      This beautification code has to be rewritten using the model.
      
      Reviewed-by: Kai Koehne
      1c61320f
    • Thomas Hartmann's avatar
      QmlDesigner: fixes state editing in text · 37433e2b
      Thomas Hartmann authored
      In the stateseditor we have to use propertiesRemoved instead of
      propertiesAboutToBeRemoved when reseting the model. Otherwise
      the change we want to react to has not happened, yet.
      Some sanity checking in the property editor.
      
      In the DesignDocumentController we slightly change the order.
      The textMoifider is activated (again) before we set back the old
      state.
      Note: We do check for isValid() since the rewriter might delete the state.
      
      
      Reviewed-by: Kai Koehne
      Task-number: QTCREATORBUG-4199
      37433e2b