Skip to content
Snippets Groups Projects
  1. Nov 19, 2013
    • Ulf Hermann's avatar
      WelcomePage: Fix scrolling logic · 50b61dbe
      Ulf Hermann authored
      
      We only need one scrollable element in the WelcomePage. By passing
      the height properties of inner elements to the outermost one we can
      avoid multiple vertical scrollbars next to each other. Since this
      removes the QScrollArea around the welcome page it fixes
      QTCREATORBUG-10796
      
      Task-number: QTCREATORBUG-10796
      
      Change-Id: I08b0409e21f16be6c3e0e5a58f2665320d0a14fe
      Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
      50b61dbe
  2. Nov 14, 2013
  3. Oct 24, 2013
  4. Oct 10, 2013
  5. Oct 09, 2013
  6. Oct 08, 2013
  7. Oct 02, 2013
    • Eike Ziller's avatar
      Remove remaining usages of Qt Quick 1 / Declarative · 0b82b54c
      Eike Ziller authored
      
      Qml editor widgets were still linking against declarative
      for qml type registering. Registering is no longer necessary
      since they are no longer used in QML.
      
      Also removes the unused qtcomponents.
      
      qmlpuppet of course still links against declarative, but that's not run
      in the same process.
      
      Task-number: QTCREATORBUG-10273
      Change-Id: Ied12d38d58da5ff3bc694905b84dcd76cbce03af
      Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
      0b82b54c
  8. Sep 30, 2013
  9. Sep 27, 2013
  10. Sep 19, 2013
  11. Sep 17, 2013
  12. Sep 16, 2013
  13. 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
  14. Aug 26, 2013
  15. Aug 16, 2013
  16. Aug 02, 2013
  17. Jul 09, 2013
  18. Jun 05, 2013
    • Eike Ziller's avatar
      Switch less often to edit mode · 7c8db798
      Eike Ziller authored
      
      This change
      * Removes IMode::type, ModeManager::activateModeType, and
        IEditor::preferredModeType, and adds IEditor::isDesignModePreferred
        instead
      * Adapts the mode switching code in EditorManager to handle multiple
        windows, for example switching to edit mode should only happen if
        the editor/view is in the main window. Otherwise the editor window
        should be raised and focused
      * Renames EditorManager::NoActivate --> DoNotChangeCurrentEditor
      * Reverts the EditorManager::ModeSwitch logic to switch mode or
        make the current editor visible by default, introducing
        DoNotMakeVisible flag instead
      * Fixes a few instances where EditorManager::ModeSwitch should have been
        used
      
      One non-trivial problem left: If you open a .ui file and switch to an
      external editor window, edit mode is activated, because the current
      editor no longer is a .ui file, which means that the design mode gets
      deactivated.
      
      Change-Id: I76c5c2391eb4090143b778fb103acff3a5a1ff41
      Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
      7c8db798
  19. May 27, 2013
  20. Apr 19, 2013
    • Morten Johan Sørvig's avatar
      Add 2x icons for retina displays. · 3779147f
      Morten Johan Sørvig authored
      
      This change updates the mode selector/fancyactionbar
      in Qt Creator with new high-resolution icons.
      
      Set Qt::AA_UseHighDpiImages on Qt 5.1 and higher to
      make QIcon generate high-dpi pixmaps. Add "@2x" mode
      images.
      
      Update StyleHelper::drawIconWithShadow to handle high-dpi
      pixmaps. The shadow-drawing algorithm is kept in device
      pixels.
      
      Change-Id: I411b7a24e534a2d75a1bbdc4d10219dcbea26bed
      Reviewed-by: default avatarJens Bache-Wiig <jens.bache-wiig@digia.com>
      3779147f
  21. Apr 11, 2013
  22. Apr 03, 2013
  23. Apr 02, 2013
  24. Mar 25, 2013
  25. Jan 29, 2013
  26. Jan 21, 2013
  27. 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
  28. Nov 29, 2012
  29. Oct 18, 2012
  30. Oct 05, 2012
  31. Oct 03, 2012
  32. Sep 13, 2012
  33. Aug 27, 2012
    • Christian Kandeler's avatar
      Utils: Introduce HostOsInfo class. · e669f054
      Christian Kandeler authored
      
      The class' member functions are intended to be used
      instead of the Q_OS_* macros in all contexts where
      the latter are not syntactically required.
      This lowers the likelihood of changes made on one
      platform breaking the build on another, e.g. due to
      the code model missing symbols in #ifdef'ed out code
      when refactoring.
      
      Change-Id: I4a54788591b4c8f8d589b8368a6c683d4155c9fa
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      e669f054
  34. Jul 30, 2012
  35. Jul 20, 2012
  36. Jul 19, 2012
Loading