1. 26 May, 2015 1 commit
    • Tobias Hunger's avatar
      IWizardFactory: Create wizards with factoryCreators · 25f2f8e1
      Tobias Hunger authored
      Do not use the object pool to hold potential wizards. Register
      FactoryCreator functions with IWizardFactory instead and use
      those to create the wizards when necessary.
      This saves us a couple of cycles during startup since we can now
      delay construction of all wizards and it makes us more flexible
      wrt. managing the lifecycle of the wizard factories.
      Change-Id: I95d6a6dfcdf0fd995e1934a9fefcd96c6a676753
      Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
  2. 14 Apr, 2015 1 commit
  3. 18 Mar, 2015 1 commit
  4. 09 Mar, 2015 1 commit
  5. 06 Mar, 2015 1 commit
    • d3fault's avatar
      Add goto column number command line arg to complement goto line number · 44e7eca5
      d3fault authored
      When specifying a filename as an argument, you can append a colon (or a
      plus) followed by a number to indicate which line the cursor should be
      positioned at in that file. This patch adds the same functionality but
      for the column position as well. Ex: main.cpp:5:4 would open main.cpp
      and put the cursor at line 5 column 4. The column number is optional,
      just like the line number before it. It should be noted that specified
      column numbers larger than the amount of characters available on that
      line are wrapped onto subsequent lines.
      Change-Id: I50208500fa43e43a9514d2be21630b3c607119a6
      Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
      Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
  6. 05 Mar, 2015 1 commit
  7. 17 Feb, 2015 2 commits
  8. 13 Feb, 2015 1 commit
    • Sergey Belyashov's avatar
      Fix theme loading problem · 62bffaca
      Sergey Belyashov authored
      Error caused by any file named as current theme and placed to directory
      which is used for starting Qt Creator (formely user home directory).
      For example, create empty file with name 'default', place it to your
      home directory (for example: /home/user) and run Qt Creator. As result
      you will see black corrupted screen.
      To fix this bug I add checks of theme name. Now Qt Creator will only
      load theme from current directory if name is explicitly provided by
      the user or it is an absolute path.
      Change-Id: I0255c8d220d84bd5b51de7ef9d64c66f7f57959c
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      Reviewed-by: default avatarSergey Belyashov <Sergey.Belyashov@gmail.com>
      Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
  9. 06 Feb, 2015 1 commit
    • Orgad Shaneh's avatar
      Core: Remove unneeded qualifications · 428565cb
      Orgad Shaneh authored
      Mostly done using the following ruby script:
      Dir.glob('**/*.cpp').each { |file|
        next if file =~ %r{src/shared/qbs|/qmljs/}
        s = File.read(file)
        s.scan(/^using namespace (.*);$/) {
          ns = $1
          t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m|
            before = $1
            char = $2
            if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/
              before + char
          if t != s
            puts file
            File.open(file, 'w').write(t)
      Change-Id: I5c6690f51488bf8ca3610ba9fb11e6e5fd814aaa
      Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
      Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
  10. 16 Jan, 2015 1 commit
  11. 12 Jan, 2015 1 commit
    • Eike Ziller's avatar
      ActionManager: transfer ownership from main window to core plugin · e40477cc
      Eike Ziller authored
      Also make a bit less dependent on main window:
      - Menus do not need to start with main window as parent.
      - Centering the presentation label on the main window is wrong in the
      presence of extra windows anyhow. It should be centered on the active
      Unfortunately, actions still must be added to the main window, because
      actions that are not children of visible widgets do not trigger.
      Change-Id: Ibb99644a3723de476db465ebe6a9cdc0820ea692
      Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
  12. 05 Dec, 2014 1 commit
  13. 21 Nov, 2014 1 commit
  14. 20 Nov, 2014 2 commits
  15. 09 Nov, 2014 1 commit
  16. 06 Nov, 2014 1 commit
  17. 22 Oct, 2014 1 commit
  18. 16 Oct, 2014 1 commit
    • Thomas Hartmann's avatar
      Theming: Do not set the global palette · 4073016a
      Thomas Hartmann authored
      Setting the global palette is not a very good idea, because
      it interferes with native styling.
      On Windows 7 the dark theme was unuasable, because the text on
      all natives controls was to bright.
      All native controls and the global palette should be left alone.
      Wherever we want styling/theming we have to use Manhatten style.
      Change-Id: Ia1d0bfb190e4bde7be72f751afc0846570c1189d
      Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
  19. 15 Oct, 2014 2 commits
    • Thorben Kroeger's avatar
      Implement theming for QtCreator · 84f5585b
      Thorben Kroeger authored
      Adds a 'Theme' tab to the environment settings and a '-theme' command
      line option.
      A theme is a combination of colors, gradients, flags and style
      There are two themes:
      - 'default': preserves the current default look
      - 'dark': uses a more flat for many widgets, dark color theme
        for everything
      This does not use a stylesheet (too limited), but rather sets
      the palette via C++ and modifies drawing behavior.
      Overall, the look is more flat (removed some gradients and bevels).
      Tested on Ubuntu 14.04 using Qt 5.4 and running on a KDE
      Desktop (Oxygen base style).
      For a screenshot, see
      - Introduce class Theme, defining the interface how to access theme
        specific settings. The class reads a .creatortheme file (INI file, via
        - Define named colors in the [Palette] section
          (see dark.creatortheme for example usage)
        - Use either named colors of AARRGGBB (hex) in the [Colors]
        - A file ending with .creatortheme may be supplied
          to the '-theme' command line option
      - A global Theme instance can be accessed via creatorTheme()
      - Query colors, gradients, icons and flags from the theme
        were possible (TODO: use this in more places...)
      - There are very many color roles. It seems better to me
        to describe the role clearly, and then to consolidate later
        in the actual theme by assigning the same color.
        For example, one can set the text color of the output pane button
      - Many elements are also drawn differently.
        For the dark theme, I wanted to have a flatter look.
        - Introduce Theme::WidgetStyle enum, for now {Original, Flat}.
        - The theme specifies which kind of widget style it wants.
        - The drawing code queries the theme's style flag and
          switches between the original, gradient based look and
          the new, flat look.
      - Create some custom icons which look better on dark background
        (wip, currently folder/file icons)
      - Let ManhattanStyle draw some elements for non-panelwidgets, too
        (open/close arrows in QTreeView, custom folder/file icons)
      - For the welcomescreen, pass the WelcomeTheme class.
        WelcomeTheme exposes theme colors as Q_PROPERTY accessible from
      - Themes can be modified via the 'Themes' tab in the environment
      * Unify image handling
      * Avoid style name references
      * Fix gradients
      Change-Id: I92c2050ab0fb327649ea1eff4adec973d2073944
      Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
      Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
    • Tobias Hunger's avatar
      MacroExpander: Add variables for date and time · 4579b7c5
      Tobias Hunger authored
      The expander is used in the wizards, and being able to specify
      timestamps is something many people requested at devdays.
      Change-Id: If227f9c48d0b5f409d22233af8c43ae376f343f9
      Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
  20. 09 Oct, 2014 1 commit
  21. 27 Aug, 2014 1 commit
  22. 30 Jul, 2014 1 commit
  23. 25 Feb, 2014 1 commit
  24. 14 Feb, 2014 1 commit
  25. 15 Jan, 2014 1 commit
  26. 14 Jan, 2014 1 commit
  27. 08 Jan, 2014 1 commit
  28. 13 Sep, 2013 1 commit
  29. 04 Sep, 2013 1 commit
  30. 03 Sep, 2013 1 commit
  31. 02 Sep, 2013 1 commit
    • 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
      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>
  32. 30 Aug, 2013 1 commit
  33. 08 May, 2013 1 commit
    • Eike Ziller's avatar
      Add split in new window action for editor views. · 65ce453c
      Eike Ziller authored
      A few details are still to be done:
      - extra windows are not restored yet
      - window title of extra windows should show information about current
      - the "raise main window" hack for Linux doesn't work with Qt 5
      But it should already now be quite usable.
      Change-Id: I638583ee4b2abe32e95c261bdf31b4a10b472748
      Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
  34. 27 Mar, 2013 1 commit
  35. 15 Mar, 2013 1 commit
  36. 04 Mar, 2013 1 commit
  37. 29 Jan, 2013 1 commit