summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/navigationwidget.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Always pass Core::Id by value.Christian Kandeler2014-07-011-2/+2
| | | | | | | | | | | Currently we pass in some places by value, elsewhere by const ref and for some weird reason also by const value in a lot of places. The latter is particularly annoying, as it is also used in interfaces and therefore forces all implementors to do the same, since leaving the "const" off is causing compiler warnings with MSVC. Change-Id: I65b87dc3cce0986b8a55ff6119cb752361027803 Reviewed-by: hjk <hjk121@nokiamail.com>
* ActionManager: Remove QShortcut registration APIEike Ziller2014-03-031-9/+7
| | | | | | | | | | | Registering QShortcuts doesn't solve any problem that is not already solved by registering QActions, and shortcuts are in fact much more limited (not being able to register multiple shortcuts for different contexts). Change-Id: I9478e601b2cbc3c5e12fb5baee43cacc20d0fb9c Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* NavigationWidget: Pass reference into functionTobias Hunger2013-11-131-1/+1
| | | | | Change-Id: Ic2e90daee4036d1e513db16d35dd72f4e7a667c7 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* NavigationWidget: Do not leak the factorymodelTobias Hunger2013-11-131-1/+2
| | | | | Change-Id: Ic5c5dfd2ef9b3daab1f3e04375930fc991bff0e8 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Core::Id: Remove some explicit casts to Core::IdTobias Hunger2013-09-031-1/+1
| | | | | Change-Id: Ibe505c8331f7d1280fdb8784a00321742f5d94cb Reviewed-by: hjk <hjk121@nokiamail.com>
* Make a few more shortcuts/actions raise the main window.Eike Ziller2013-05-211-0/+3
| | | | | | | | Also make registerShortcut set an application shortcut. That is necessary when the user opened a separate editor window. Change-Id: I366044b7acba51daca46a15a302a24b5b8e99cc1 Reviewed-by: David Schulz <david.schulz@digia.com>
* Clean headers in Core-plugin.Friedemann Kleint2013-03-271-6/+0
| | | | | Change-Id: Ie79d334765ca5c6a034fa2f5eccff5d45b481975 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Merge remote-tracking branch 'origin/2.6'Oswald Buddenhagen2013-01-311-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in src/plugins/debugger/qtmessageloghandler.cpp src/plugins/debugger/qtmessagelogwindow.cpp src/plugins/madde/maemodeployconfigurationwidget.cpp src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp src/plugins/qmldesigner/designercore/include/widgetqueryview.h src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp src/plugins/qnx/bardescriptormagicmatcher.h src/plugins/qt4projectmanager/profilekeywords.cpp src/plugins/remotelinux/deployablefilesperprofile.cpp src/plugins/remotelinux/deployablefilesperprofile.h src/plugins/remotelinux/deploymentinfo.cpp src/plugins/remotelinux/deploymentsettingsassistant.cpp src/plugins/remotelinux/profilesupdatedialog.cpp tests/auto/icheckbuild/ichecklib.cpp tests/auto/icheckbuild/parsemanager.cpp tests/auto/icheckbuild/parsemanager.h Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
| * Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | | | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Use Id::fromString instead of the constructor.hjk2013-01-171-1/+1
| | | | | | | | | | Change-Id: Ie18714ac2872a085e8c20d445472901cc9f6b6c5 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* | Core: Use the new Id methods in a few placeshjk2013-01-171-1/+1
| | | | | | | | | | | | | | There are a lot more left. Change-Id: I97d32629aa6deef0f4819f70cc0b8437f2814257 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* | Remove braces for single lines of conditionsOrgad Shaneh2013-01-081-2/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | #!/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: hjk <qthjk@ovi.com>
* Adjust license headershjk2012-10-051-21/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* ActionManager API cleanup.Eike Ziller2012-05-251-2/+1
| | | | | | | | d-pointer instead of inheritance static methods Change-Id: I7b2f0c8b05ad3951e1ff26a7d4e08e195d2dd258 Reviewed-by: hjk <qthjk@ovi.com>
* Normalized connect()sRobert Loehning2012-03-061-2/+2
| | | | | | Change-Id: Id353ab140a46e06ffc3abf667ab3b234e749e17c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Removed module names from #include directives.Erik Verbruggen2012-02-151-9/+9
| | | | | | | | Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Long live the king!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Use new static ICore interface.hjk2012-01-241-2/+1
| | | | | Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* CorePlugin: Compile with QT_NO_CAST_FROM_ASCII.Friedemann Kleint2011-12-221-2/+2
| | | | | | | | | | - Wrap literals in QLatin1String()/QLatin1Char(). - Extract some string constants avoiding repeated QString construction. - Fix repeated invocation of Container.end() in loops. Change-Id: If737735507aaf82e53063adda53f54c46418f42f Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Merge remote-tracking branch 'origin/2.4'Eike Ziller2011-11-111-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/libs/qmljs/qmljsinterpreter.cpp src/libs/qmljs/qmljsinterpreter.h src/plugins/debugger/qml/scriptconsole.cpp src/plugins/git/gitplugin.cpp src/plugins/qmlprofiler/canvas/qdeclarativetiledcanvas.cpp src/plugins/qmlprofiler/canvas/qdeclarativetiledcanvas_p.h Change-Id: Iad59c8d87c72a21c79c047e374c0ab689998af39
| * all: s/info@qt.nokia.com/qt-info@nokia.com/hjk2011-11-031-2/+2
| | | | | | | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* | use Core::Id for ids in INavigationWidgetFactoryhjk2011-11-101-14/+15
|/ | | | | Change-Id: Ic793e01edf6a4d2fe61baadb3aa5bef817436d35 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* all: less QScopedPointerhjk2011-09-191-0/+1
| | | | | | Change-Id: I536bdb4d4f0c10fa858560f3c160fc0fff8da9b2 Reviewed-on: http://codereview.qt-project.org/5116 Reviewed-by: hjk <qthjk@ovi.com>
* core: rename uniqueidmanager.{cpp,h} as the class UniqueIdManager is gonehjk2011-09-051-1/+1
| | | | | | | Change-Id: Iffe04bc3bb0103cbac605f0734bbfd66eb7fd854 Reviewed-on: http://codereview.qt.nokia.com/4215 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
* Fix/add copyright headersTobias Hunger2011-05-061-1/+1
| | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
* Update license.hjk2011-04-131-14/+13
|
* Debugger: Fix exit crash in debug mode (X11).Friedemann Kleint2011-03-151-2/+4
| | | | Double deletion of debug mode widgets.
* Fix some more actions that were enabled at startup without a reason.con2011-01-311-2/+2
|
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* Merge branch '2.1'con2010-12-171-7/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/coreplugin/basemode.cpp src/plugins/coreplugin/basemode.h src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp src/plugins/debugger/debuggeragents.cpp src/plugins/debugger/debuggeruiswitcher.cpp src/plugins/debugger/debuggeruiswitcher.h src/plugins/projectexplorer/buildconfigdialog.cpp src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp src/plugins/qmldesigner/components/propertyeditor/colorwidget.h src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h src/plugins/qmldesigner/designercore/include/modelutilities.h src/plugins/qmldesigner/designercore/include/nodeinstance.h src/plugins/qmldesigner/designercore/include/propertymetainfo.h src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp src/plugins/qmldesigner/designercore/model/modelutilities.cpp src/plugins/snippets/inputwidget.cpp src/plugins/snippets/snippetscompletion.cpp src/plugins/snippets/snippetscompletion.h src/plugins/snippets/snippetspec.cpp src/plugins/snippets/snippetsplugin.cpp src/plugins/snippets/snippetswindow.cpp src/plugins/snippets/snippetswindow.h src/plugins/texteditor/snippetsparser.cpp src/tools/qml/qmldom/main.cpp tests/manual/trk/runner.cpp tests/manual/trk/trkolddevice.cpp tests/manual/trk/trkolddevice.h tests/manual/trk/trkserver.cpp
| * License headers.con2010-12-171-7/+11
| |
* | Navigation widget: Fix compilation.Christian Kandeler2010-10-251-2/+2
| | | | | | | | Written-by: Tobias Hunger
* | Navigation: Handle no widgets available caseTobias Hunger2010-10-251-3/+13
| | | | | | | | | | Completely hide the sidebar if no navigation widgets are available at all.
* | Clean up navigationwidgetTobias Hunger2010-10-251-27/+18
| |
* | Merge remote branch 'origin/2.1'Oswald Buddenhagen2010-10-251-8/+12
|\ \ | |/ | | | | | | | | Conflicts: doc/qtcreator.qdoc share/qtcreator/templates/mobileapp/app.pro
| * Stop navigationwidget from going haywireTobias Hunger2010-10-211-8/+12
| | | | | | | | | | | | | | | | | | | | | | Stop navigationwidget from going haywire when faced with old configuration data. This issue could lead to different effects: * A crash * Creator not being able to exit anymore * The sidebar being messed up Task-number: QTCREATORBUG-2780 Reviewed-by: con
* | Avoid changing text on toggle menu item.con2010-10-201-2/+2
|/ | | | | | We actually only want to change the tool tip. Reviewed-by: Thorbjørn Lindeijer
* Header cleanup in coreplugin, part 1Friedemann Kleint2010-09-161-217/+81
|
* coreplugin: use Core::Id is some placeshjk2010-09-101-2/+3
|
* Navigation Widget: add 'Priority' supportDenis Mingulov2010-09-091-16/+13
| | | | | Merge-request: 176 Reviewed-by: hjk <qtc-committer@nokia.com>
* Export the navigation widget and expose activation of subwidgets.Leandro Melo2010-08-131-3/+7
| | | | Reviewed-by: hjk
* Fix crash on close in sidebar/bookmarks viewKai Koehne2010-08-111-0/+9
| | | | | | Explicitly close all views of the sidebar _before_ the core is destructed. E.g. the bookmarks view tries to access the core in it's destructor.
* Pedantic cleanup of filename parameters for QIcon constructorAlessandro Portale2010-07-301-2/+2
| | | | | | | | | | | Using more *::Constants::ICON_* where it makes sense and wrapping the file names into QLatin1String where they were missing. The increased usage of the ICON constants needed a few more cross plugin includes of *constants.h, here and there. I think that it is OK, since the dependencies were alredy there icon resource wise.
* Save/restore settings of navigation widgets more aggressivelyKai Koehne2010-07-161-123/+131
| | | | | | | | | | Save/restore the current settings of a navigation widget per position, every time something changes in the navigation bar setup. Previously, only settings on exit were stored / restored on startup, which means that e.g. when you switch from the Outline to the Project Explorer and back, the settings of the Outline were lost. Reviewed-by: con
* Core::Context: compile hot fix for Windows.hjk2010-06-251-3/+1
|
* core: use a class derived from QList<int> instead of a QList<int> for ↵hjk2010-06-251-2/+3
| | | | | | | | Core::Context A mostly mechanical change. Reviewed-By: con
* Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4.Friedemann Kleint2010-03-181-0/+1
|
* Long live the king!hjk2010-03-051-1/+1
|