1. 01 Jun, 2015 1 commit
  2. 08 May, 2015 1 commit
  3. 05 Mar, 2015 2 commits
  4. 06 Feb, 2015 1 commit
    • Orgad Shaneh's avatar
      Misc: Remove unneeded qualifications · 74ed591d
      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_/
              m
            else
              before + char
            end
          }
          if t != s
            puts file
            File.open(file, 'w').write(t)
          end
        }
      }
      
      Change-Id: I919da493d0629b719d328e5e71c96a29d230dfd1
      Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
      Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
      74ed591d
  5. 29 Jan, 2015 2 commits
  6. 16 Jan, 2015 1 commit
  7. 12 Jan, 2015 1 commit
  8. 12 Nov, 2014 1 commit
  9. 10 Nov, 2014 1 commit
  10. 03 Nov, 2014 1 commit
  11. 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
      information.
      
      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
      https://gist.github.com/thorbenk/5ab06bea726de0aa7473
      
      Changes:
      - Introduce class Theme, defining the interface how to access theme
        specific settings. The class reads a .creatortheme file (INI file, via
        QSettings)
      
        - Define named colors in the [Palette] section
          (see dark.creatortheme for example usage)
      
        - Use either named colors of AARRGGBB (hex) in the [Colors]
          section
      
        - 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
        individualy.
      
      - 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
        .qml
      
      - Themes can be modified via the 'Themes' tab in the environment
        settings.
      
      TODO:
      * 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>
      84f5585b
    • Eike Ziller's avatar
      License update. · 9c7019f0
      Eike Ziller authored
      Change-Id: I0acde2c3b995693de682679471f03af85bdd0a61
      Reviewed-by: default avatarAlessandro Portale <alessandro.portale@digia.com>
      9c7019f0
  12. 09 Oct, 2014 1 commit
  13. 08 Oct, 2014 1 commit
  14. 19 Sep, 2014 1 commit
  15. 09 Sep, 2014 1 commit
  16. 08 Sep, 2014 1 commit
  17. 04 Sep, 2014 1 commit
  18. 02 Sep, 2014 1 commit
  19. 29 Aug, 2014 1 commit
    • Christian Kandeler's avatar
      Do not use deprecated Qt functionality. · 1d5091e4
      Christian Kandeler authored
      Replace all* remaining deprecated Qt 4 functions with
      their Qt 5 counterparts. This means we no longer need to
      define the QT_DISABLE_DEPRECATED_BEFORE macro.
      This patch is relatively small because most source-compatible
      changes of this kind have been done before.
      
      * The one exception is the QmlDesigner, which uses QWeakPointer
      in a deprecated way all over the place.
      
      Change-Id: Id4b839c6685f3b5bdf2b89137f95231758ec53c7
      Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
      Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
      1d5091e4
  20. 27 Aug, 2014 1 commit
  21. 20 Aug, 2014 1 commit
  22. 17 Jul, 2014 1 commit
  23. 07 Jul, 2014 1 commit
  24. 03 Jul, 2014 1 commit
  25. 01 Jul, 2014 1 commit
  26. 19 Jun, 2014 1 commit
  27. 17 Jun, 2014 1 commit
  28. 23 May, 2014 1 commit
  29. 19 May, 2014 1 commit
  30. 15 May, 2014 1 commit
  31. 16 Apr, 2014 1 commit
  32. 11 Mar, 2014 1 commit
  33. 12 Feb, 2014 1 commit
    • Orgad Shaneh's avatar
      Clean up single namespace forward-declarations · 7ed15760
      Orgad Shaneh authored
      Done using the following ruby script:
      
      Dir.glob('**/*.h').each { |file|
        if File.file?(file)
          s = File.read(file)
          t = s.gsub(/^namespace .+ \{\n\s*class .*;\n\s*\}.*$/) { |m| m.gsub(/\n\s*/, ' ').gsub(/\s*\/\/.*$/, '') }
          if t != s
            puts file
            File.open(file, 'w').write(t)
          end
        end
      }
      
      Change-Id: Iffcb966e90eb8e1a625eccd5dd0b94f000ae368e
      Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
      7ed15760
  34. 11 Feb, 2014 1 commit
  35. 08 Jan, 2014 1 commit
  36. 12 Dec, 2013 1 commit
  37. 10 Dec, 2013 1 commit
    • 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