1. 24 Jul, 2013 1 commit
  2. 16 Jul, 2013 1 commit
  3. 20 Jun, 2013 1 commit
  4. 30 Apr, 2013 1 commit
  5. 02 Apr, 2013 1 commit
    • Thomas Hartmann's avatar
      QmlDesigner.Model: Adding SignalHandlerProperty · bb1a76c0
      Thomas Hartmann authored
      
      
      SignalHandlerProperty allows editing convenient editing of signal
      handlers like onMousePress in the model.
      The interface is analogous to BindingProperty.
      
      Since mos views do not care about SignalHandlerProperties and
      they should not be mixed up with BindingProperties they are different
      types.
      
      I also added the signalHandlerPropertiesChanged() notifier to AbstractView.
      
      Change-Id: I68bc7d2c5d3b991944e8f8d698212a1dfef218bf
      Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
      bb1a76c0
  6. 25 Mar, 2013 2 commits
  7. 12 Mar, 2013 1 commit
  8. 05 Mar, 2013 1 commit
  9. 29 Jan, 2013 1 commit
  10. 08 Jan, 2013 1 commit
    • Orgad Shaneh's avatar
      Remove braces for single lines of conditions · 29a93998
      Orgad Shaneh authored
      
      
      #!/usr/bin/env ruby
      
      Dir.glob('**/*.cpp') { |file|
        # skip ast (excluding paste, astpath, and canv'ast'imer)
        next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i
        s = File.read(file)
        next if s.include?('qlalr')
        orig = s.dup
        s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m|
          res = $&
          if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces
            res
          else
            res.gsub!('} else', 'else')
            res.gsub!(/\n +} *\n/m, "\n")
            res.gsub(/ *{$/, '')
          end
        }
        s.gsub!(/ *$/, '')
        File.open(file, 'wb').write(s) if s != orig
      }
      
      Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      29a93998
  11. 28 Nov, 2012 1 commit
  12. 05 Oct, 2012 1 commit
  13. 24 Sep, 2012 1 commit
  14. 19 Jul, 2012 1 commit
  15. 14 Feb, 2012 1 commit
  16. 26 Jan, 2012 1 commit
  17. 03 Nov, 2011 1 commit
  18. 19 Sep, 2011 1 commit
  19. 15 Sep, 2011 1 commit
  20. 08 Jun, 2011 1 commit
    • Thomas Hartmann's avatar
      QmlDesigner.model: refactoring for nodeSource · 7939c270
      Thomas Hartmann authored
      I changed customParserSource into nodeSource and use it also for
      components. This means we do not use auxiliaryData anymore with some magic
      __component_data identifier.
      To distinguish between CustumParserSource and ComponentSource I introduced
      the enum NodeSourceType.
      Also in this patch I added auxiliaryData in the creation of a node. This was useful
      for prototyping and will help with prototyping/testing in the future.
      
      Change-Id: I2152c26c0c767f869f7dce7209abf43f594fd2ad
      Reviewed-on: http://codereview.qt.nokia.com/399
      
      
      Reviewed-by: default avatarMarco Bubke <marco.bubke@nokia.com>
      7939c270
  21. 16 May, 2011 1 commit
  22. 06 May, 2011 3 commits
  23. 13 Apr, 2011 1 commit
  24. 31 Mar, 2011 1 commit
    • 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
  25. 01 Mar, 2011 1 commit
  26. 12 Jan, 2011 2 commits
  27. 17 Dec, 2010 1 commit
  28. 13 Dec, 2010 1 commit
  29. 07 Dec, 2010 1 commit
  30. 06 Dec, 2010 1 commit
  31. 01 Dec, 2010 2 commits
    • Marco Bubke's avatar
      QmlDesigner.Model: Add internalId to the ModelNode · a91d137d
      Marco Bubke authored
      There are many int to ModelNode hashes in the views. This patch implement a int to ModelNode hash in the model to make them obsolete.
      
      Reviewed-By: Thomas Hartmann
      a91d137d
    • Thomas Hartmann's avatar
      QmlDesigner.metaInfo: replace old NodeMetaInfo with new implementation · 98eee9db
      Thomas Hartmann authored
      The new implementation is based on the QmlJS::Interpreter
      meta info system and gets its info from parsing qml and qmldumper
      instead of interogating QDeclarative classes.
      
      So we share this code with the Qml TextEditor and this approach is also
      way more flexible. It also work with different Qt versions.
      
      The meta info is now bound to a document/rewriter.
      
      The api has changed slightly.
      
      subComponentManager: cleanup
      The SubComponentManager does not have to provide meta info, anymore.
      
      propertyParser: cleanup
      Enums were never properly converted. here.
      
      metaInfo: remove old MetaInfo classes
      Removing the old MetaInfo classes and code
      98eee9db
  32. 27 Sep, 2010 1 commit
  33. 15 Jun, 2010 1 commit
    • Kai Koehne's avatar
      QmlDesigner: Fix crash when typing keywords as Ids · 512e75a5
      Kai Koehne authored
      We don't check that an ID entered in the Navigator or Property Editor
      is not a JavaScript keyword. This patch revamps the RewritingException
      that happens in this case in a InvalidIdException.
      
      Task-number: QTCREATORBUG-1540
      512e75a5
  34. 10 Jun, 2010 1 commit
  35. 05 May, 2010 1 commit