1. 25 Nov, 2014 1 commit
  2. 29 Oct, 2014 1 commit
  3. 23 Oct, 2014 1 commit
    • Francois Ferrand's avatar
      Add API in texteditor to let plugins contribute extra selections. · a645f78c
      Francois Ferrand authored
      Some plugins use extra selections to provide additional editor annotations: code coverage, spelling
      mistake... This was possible for C++ editor in previous version, using
      CppModelManagerInterface::setExtraDiagnostics(), but this API has been removed.
      
      This commits adds alternative API directly in the editor, allowing to pass a Core::Id instead of
      the enum value.
      
      Change-Id: I3040bd144d6fe0876d861dd28e832729bd5d6602
      Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
      a645f78c
  4. 16 Oct, 2014 1 commit
  5. 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
    • hjk's avatar
      TextEditor: Factory cosmetics · eacaf93a
      hjk authored
      Pimpl, add some convenience setters.
      
      Change-Id: I525c080179fddab6fe2bd2270505fdbf33e56be2
      Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
      eacaf93a
  6. 13 Oct, 2014 1 commit
  7. 06 Oct, 2014 1 commit
  8. 02 Oct, 2014 1 commit
  9. 30 Sep, 2014 2 commits
  10. 29 Sep, 2014 3 commits
  11. 26 Sep, 2014 1 commit
  12. 25 Sep, 2014 1 commit
  13. 24 Sep, 2014 3 commits
  14. 22 Sep, 2014 1 commit
  15. 19 Sep, 2014 1 commit
  16. 18 Sep, 2014 2 commits
  17. 11 Sep, 2014 1 commit
  18. 09 Sep, 2014 1 commit
    • hjk's avatar
      TextEditor: Merge some "assist" related classes · 0edefc4c
      hjk authored
      Simplifies the code base by removing one level of unused
      and unneeded abstraction.
      
      - Merge {I,Default}AssistInterface to AssistInterface
      - Merge {IAssist,Basic}ProposalItem to AssistProposalItem
      - Merge {IGenericProposal,BasicProposalItemList}Model to GenericProposalModel
      
      Change-Id: I54ee7b095427383d67a00fc1d87c3808c21d812d
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      0edefc4c
  19. 08 Sep, 2014 1 commit
  20. 04 Sep, 2014 3 commits
  21. 03 Sep, 2014 4 commits
  22. 02 Sep, 2014 7 commits