Skip to content
Snippets Groups Projects
  1. Jan 08, 2014
  2. Dec 10, 2013
    • Eike Ziller's avatar
      Preferences: Add default implementation for filtering · deb43b4c
      Eike Ziller authored
      
      The default "matches" method now takes the widget and looks for all
      child labels, checkboxes, push buttons and group boxes.
      Because of that, the former "createWidget" method
      can be called multiple times without creating a new widget
      (-->widget()), and the "finished" method must ensure that the created
      widget gets deleted, since not all widgets that were created are added
      to the UI anymore.
      
      Change-Id: Ia231c7c78dd8819146668e6447d36d22e7836904
      Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
      deb43b4c
  3. Sep 24, 2013
  4. Sep 03, 2013
  5. Sep 02, 2013
    • Christian Kandeler's avatar
      Remove superfluous include paths from project files. · 72d17382
      Christian Kandeler authored
      
      A lot of our build system files specify unneeded include
      paths. These roughly fall into the following categories:
          a) Paths that are already set in more general files
             such as qtcreator.pri.
          b) Paths that serve no purpose at all, possibly
             left over from earlier versions of the project.
          c) Paths that act as workarounds for wrong include
             statements of the form '#include "xyz.h"', where
             xyz.h is not in the same directory as the including
            file.
      This patch removes such path specifications and fixes the offending
      include statements from case c).
      Tested on Linux, Windows and OSX with qmake and qbs.
      
      Change-Id: I039a8449f8a65df0d616b4c08081145c18ae4b15
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
      Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>
      72d17382
  6. Apr 04, 2013
  7. Jan 29, 2013
  8. Jan 17, 2013
  9. Jan 08, 2013
    • 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
  10. Dec 29, 2012
  11. Oct 05, 2012
  12. Jul 19, 2012
  13. May 23, 2012
  14. Feb 16, 2012
  15. Feb 15, 2012
  16. Feb 07, 2012
  17. Jan 26, 2012
  18. Jan 24, 2012
  19. Jan 18, 2012
  20. Jan 09, 2012
  21. Nov 03, 2011
  22. Jul 14, 2011
  23. May 06, 2011
  24. Apr 13, 2011
  25. Mar 09, 2011
    • Oswald Buddenhagen's avatar
      clean up DEPENDPATH insanity · 70073268
      Oswald Buddenhagen authored
      simply add
        CONFIG += depend_includepath
      to qtcreator.pri and remove all the manual DEPENDPATHs, as half of them
      were missing anyway, and i wouldn't expect it to ever change. not
      touching src/shared/ for syncing reasons.
      70073268
  26. Jan 12, 2011
  27. Jan 10, 2011
  28. Jan 04, 2011
  29. Dec 17, 2010
  30. Oct 21, 2010
  31. Oct 19, 2010
    • Friedemann Kleint's avatar
      Wizards: Remove settings buttons. · d4c18621
      Friedemann Kleint authored
      As they do not look nice in the layouts and several
      options pages are involved in the case of the form
      class wizard.
      
      Reviewed-by: con
      Task-number: QTCREATORBUG-2778
      d4c18621
  32. Sep 08, 2010
    • Leandro Melo's avatar
      Do not force a specific editor for a file created from a wizard. · f7532a02
      Leandro Melo authored
      The wizards already provide a default suffix for file creation.
      But since the user is still free to specify something else it's better to leave it to Creator to decide which one is the proper editor.
      After all, this reflects how the file will be treated by Creator (including the next time it's opened).
      
      Task-number: QTCREATORBUG-2006
      f7532a02
  33. Aug 23, 2010
  34. Aug 09, 2010
  35. May 14, 2010
  36. Apr 16, 2010
    • Friedemann Kleint's avatar
      Wizards: Open a relevant file in editor after the wizard run · 0a643a19
      Friedemann Kleint authored
      Remove all hacks/conventions of considering the last generated
      file as project file, etc. and instead add attributes flags to
      Core::GeneratedFile, giving fine-grained control of what to do
      with the file. Implement static utility functions in wizards
      that handle it. Add boolean XML-attributes "openeditor"/"openproject"
      to the file elements used by the CustomWizard XML-specification.
      Manually set the attributes in all wizards.
      
      Task-number: QTCREATORBUG-1166
      0a643a19
  37. Apr 09, 2010
  38. Apr 08, 2010
  39. Mar 31, 2010
Loading