1. 25 Jun, 2013 1 commit
  2. 05 Jun, 2013 1 commit
    • 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
  3. 21 May, 2013 2 commits
  4. 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
        editor
      - 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>
      65ce453c
  5. 19 Apr, 2013 1 commit
    • Gabriel de Dietrich's avatar
      Set NoRole menu role on toggle fullscreen action · 79428126
      Gabriel de Dietrich authored
      Again, since the default menu role is TextHeuristicRole, and when we
      enter fullscreen the text is set to "Exit Full Screen", the Mac QPA
      menu item syncing will assign this to be the quit menu item.
      
      This would cause two problems. First, pressing Cmd-Q in fullscreen would leave
      fullscreen mode instead of quitting the app. Second, that would make the quit
      menu item to be hidden when leaving fullscreen, since the toggle fullscreen
      action text would change back to "Enter Full Screen", and the make a round
      trip to the menu item heuristic logic.
      
      Task-number: QTBUG-30654
      Change-Id: I7524c54c3bd77cce891c57292825f02e163fd7fa
      Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
      79428126
  6. 09 Apr, 2013 1 commit
    • Eike Ziller's avatar
      Move progress indicators out of mode bar. · 5a3dfb76
      Eike Ziller authored
      This both allows the mode bar to be hidden optionally, and can give the
      progress information a bit more room (e.g. for titles).
      
      Progress information can either be shown in "pop up" windows in the
      lower left corner of the main window (hiding window contents below),
      or in a summary progress bar in the bottom right corner of the status bar.
      Hovering the summary progress bar temporarily pops up the detailed
      progress information. Keyboard can be used to switch between the two
      views.
      
      Change-Id: Ic6d6ab4fd43906e84b480c8ddf8eae5f5852e1f3
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      5a3dfb76
  7. 27 Mar, 2013 1 commit
  8. 15 Mar, 2013 2 commits
  9. 27 Feb, 2013 1 commit
  10. 25 Feb, 2013 1 commit
  11. 29 Jan, 2013 1 commit
  12. 12 Jan, 2013 2 commits
  13. 08 Jan, 2013 1 commit
    • 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
  14. 29 Dec, 2012 3 commits
  15. 30 Nov, 2012 1 commit
  16. 21 Nov, 2012 1 commit
  17. 09 Nov, 2012 1 commit
  18. 23 Oct, 2012 2 commits
  19. 19 Oct, 2012 1 commit
  20. 05 Oct, 2012 1 commit
  21. 04 Oct, 2012 1 commit
    • Nikolai Kosjar's avatar
      Get rid of some Q_WS_X11. · ed86a7ca
      Nikolai Kosjar authored
      This macro isn't defined in Qt5 anymore, so use Q_OS_* where
      appropriate.
      
      Regarding bug QTCREATORBUG-7936:
      Now the fonts look normal again on GNU/Linux, e.g. in the text editor
      and the application/compile output pane.
      
      Task-number: QTCREATORBUG-7936
      Change-Id: I501cca608f273789d095e1138b32c2c8c38b0059
      Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
      ed86a7ca
  22. 23 Aug, 2012 1 commit
  23. 20 Aug, 2012 1 commit
  24. 19 Jul, 2012 1 commit
  25. 19 Jun, 2012 1 commit
  26. 05 Jun, 2012 1 commit
  27. 01 Jun, 2012 1 commit
  28. 25 May, 2012 1 commit
  29. 23 May, 2012 1 commit
  30. 16 May, 2012 1 commit
  31. 11 May, 2012 1 commit
  32. 08 May, 2012 1 commit
  33. 02 May, 2012 1 commit
  34. 03 Apr, 2012 1 commit