Commit Graph

147 Commits

Author SHA1 Message Date
hjk
f56dacc76f Core::Context: remove special handling of C_GLOBAL_ID/C_GLOBAL 2010-06-28 14:30:03 +02:00
hjk
1181765a24 cleanup interface of Core::Context 2010-06-25 18:05:09 +02:00
hjk
2f5f358ff4 Core::Context: compile hot fix for Windows. 2010-06-25 17:38:25 +02:00
hjk
c7e8b51d37 core: use a class derived from QList<int> instead of a QList<int> for Core::Context
A mostly mechanical change.

Reviewed-By: con
2010-06-25 12:58:07 +02:00
mae
c29ef11956 Fix Esc handling setFocusToEditor()
Switching modes was broken.
2010-06-16 10:43:43 +02:00
con
30fae3eab1 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/projectexplorer/taskwindow.h
	src/plugins/qmldesigner/designercore/model/modelmerger.cpp
	src/plugins/qmljseditor/qmljshoverhandler.h
	src/plugins/qt4projectmanager/Qt4ProjectManager.pluginspec
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp
	src/plugins/subversion/subversionplugin.cpp
2010-06-11 16:30:39 +02:00
con
3c6643cd75 Fixes: Menu items disabled during keyboard navigation (Windows)
Reviewed-by: Thorbjørn Lindeijer
Task-number: QTCREATORBUG-865
2010-06-11 14:48:40 +02:00
kh1
1b6ad08795 Move help manager into core.
- lessens open file handles
 - improves help plugin startup further

Task-number: QTCREATORBUG-337
Reviewed-by: ck
2010-06-11 13:11:37 +02:00
mae
b8e4850a53 Fix central Esc handling
In modes other than Edit mode, we do not want Esc to jump
to Edit mode as long as there are still panels (or the find
bar) visible.

Reviewed-by: dt
2010-06-09 12:50:00 +02:00
Thorbjørn Lindeijer
de7af4f22b Fixed the default UI color
When there was no existing configuration, it would get set to pure black
on startup, resulting in a very dark gray Qt Creator. Now it is back to
its old friendly gray as default color.

Also made sure that the default on startup and the color used for
resetting the UI color in the settings are always in sync.

Reviewed-by: Jens Bache-Wiig
2010-05-27 16:21:29 +02:00
Daniel Molkentin
ebb8faae6d New dialog: Replace "Preferred wizards" concept by remembering the last category
Reviewed-by: trustme
2010-05-19 18:40:45 +02:00
Jens Bache-Wiig
c7d08f9b6e Use Open Project button in Getting Started mode
We already have it in the projects mode so we might as well
use the same in "Getting Started".

Reviewed-by: danimo
2010-04-29 19:07:53 +02:00
con
ca14299790 Rename IPlugin::shutdown --> IPlugin::aboutToShutdown
Discussed-with: hjk
2010-04-28 17:32:01 +02:00
Daniel Molkentin
bbfe7bad3d Add standard shortcut for print action.
Also update Visual Studio keyboard scheme. Xcode already had a proper
key binding.

Reviewed-by: con
2010-04-27 16:12:51 +02:00
Friedemann Kleint
3d6560a10b Move the Debugger/Designer view menus to Window menu.
Move actions into FancyMainWindow. Register them in
DebuggerUISwitcher and FormEditorW. Manually hide
Debugger actions for Non-Debug modes (as they belong
to the language context).
Acked-by: con
2010-04-20 16:46:35 +02:00
Daniel Molkentin
0783156161 Remove superflous ... from window titles.
Task-number: QTCREATORBUG-1116
2010-04-19 15:33:27 +02:00
con
4f4bbe9828 Change contextChanged signal to also notify about additional contexts. 2010-03-26 12:17:13 +01:00
Thorbjørn Lindeijer
510971d216 Introduced a single convenient function for updating additional contexts
While before you had to call add, then remove for each context id and
then call update, now you call updateAdditionalContexts with a list of
contexts to remove and add. It has the update step built in.

Reviewed-by: con
2010-03-23 15:35:22 +01:00
Thorbjørn Lindeijer
48c4d6c05b Use some more standard icons from the theme
Added icons for Save As, Exit, Select All, Go To Line, About
and Search & Replace actions.
2010-03-19 15:42:23 +01:00
Friedemann Kleint
51cc919467 Wizards: Make verbose log appear in message pane.
Also list all registered wizards. Bring initialization
of Core::MessageManager forward.
Acked-by: con
2010-03-19 11:26:56 +01:00
Friedemann Kleint
bbcacaf59f Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4. 2010-03-18 10:59:06 +01:00
Jens Bache-Wiig
f819cb8886 Use freedesktop icons where possible
I added support for picking up standard icons in the
file and edit menus. This should help for integration in
KDE and GNOME.
2010-03-17 14:59:10 +01:00
Tobias Hunger
8ebe4e90cd Fix override color beeing saved
Reviewed-by: jbache
2010-03-16 10:29:16 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Jens Bache-Wiig
93dbb3a5fc Force custom colors within usable range
We previously allowed fully white and yellow colors as the
base color for our interface. This does not work with our
icons or other interface elements. Instead I now constrain
the selectable colors within a certain range of saturation
and brightness. This still leaves the user in control but
will prevent the common case where the user selects an
overly saturated color from the color picker and ends up
with an unusable or extremely ugly panel.
2010-03-03 11:05:25 +01:00
Lasse Holmstedt
df7a19de9e Design mode integration
Moved Qt Designer to open from Design Mode. Also, Design mode is now global,
and created in coreplugin. Other plugins can register themselves to it.
2010-02-26 11:17:02 +01:00
con
36c63dabe7 Add a "System Editor" external editor, for use with Open with... 2010-02-22 14:30:57 +01:00
Thorbjørn Lindeijer
6d9e3c8a8e Dropping files into the editor shouldn't insert file:///...
On some desktop environments, dragging and dropping a file gives us
the url to the file in multiple mime types, including text/plain. This
causes the url to be inserted as text by default.

Work around this issue by explicitly ignoring drop events for the text
editor when they also come with urls.

Task-number: QTCREATORBUG-728
Reviewed-by: Friedemann Kleint
2010-02-19 11:50:21 +01:00
Kai Koehne
aed6ca6ab3 Remove unused header include 2010-02-11 13:54:12 +01:00
con
4a46d0864b Rename IWizard::Kind --> IWizard::WizardKind, add some logic for which wizard kinds to collapse/expand. 2010-01-15 11:07:50 +01:00
Daniel Molkentin
99a9b4a6a1 Initialize global settings object 2010-01-14 15:54:35 +01:00
Daniel Molkentin
047901aab2 Allow access to system scope setting.
This commit add a Settings::Scope parameter to
Core::ICore::settings(), the default is UserScope,
which falls back to SystemScope. Specifying SystemScope
instead gives exclusive access to the SystemScope.
2010-01-14 15:27:14 +01:00
Tobias Hunger
592e494d1a Fix typos
Reviewed-by: thorbjorn
2010-01-11 10:26:13 +01:00
Tobias Hunger
b95c86db23 Remove duplicate inclusions of headers
Reviewed-by: thorbjorn
2010-01-11 10:26:12 +01:00
Tobias Hunger
a6ad773722 Make method naming more consistent.
* Use id() for methods returning a string used to represent
    some type of object.
  * Use displayName() for strings that are meant to be user
    visible.
  * Quieten some warnings while touching the files anyway.
  * Move Factories to their products in the plugins where that
    was not done before.

Reviewed-by: dt
2010-01-07 18:17:24 +01:00
Daniel Molkentin
f093025ff3 Make it possible to override the language settings in Creator.
Platform-dependent behavior is not good enough for a lot of
people it seems.

Reviewed-By: con
2010-01-05 16:40:20 +01:00
con
d7e04f3b44 Remove output mode.
Replaced by the maximize and "More..." buttons.
Edit mode is now the fallback mode for the output panes.
2009-12-16 16:19:50 +01:00
mae
3037328455 unmaximize output panes with Escape (when they lose focus) 2009-12-15 12:40:07 +01:00
con
9097149cee ViewManager --> StatusBarManager 2009-12-09 15:31:01 +01:00
con
4053ac0c10 Throw some unused things from "ViewManager" away. 2009-12-09 15:31:01 +01:00
con
aea194252e StatusBarWidget instead of IView, get rid of one level of abstraction.
Merge IView and BaseView into a single class StatusBarWidget.
2009-12-09 15:31:00 +01:00
con
6e1832d55d Update tool tip text for "Show / Hide Sidebar" wrt current state. 2009-12-08 18:30:34 +01:00
Friedemann Kleint
3e34a9ae7a Project Wizards: Introduce notion of project directory, polish.
- Introduce project directory and "use" flag to file manager, use that
  in new item dialog
- Add configuration under Project settings, rename it to "General"
- Make wizards create project names as "untitled1.."
- Remove modules page from Qt application wizards (parametrizable)
- Give Utils::ProjectIntroPage a "Set as default location" toggle.
- Introduce wizard dialog base classes for handling that.
- Introduce notion of "last visited directory to file manager" for
  open and non-project wizards, route open through file manager.
- Clean out QmlAppWizard

Task-number: QTCREATORBUG-333
Rubber-stamped-by: con <qtc-committer@nokia.com>
2009-11-26 18:03:26 +01:00
Tobias Hunger
9bf1d52685 Add option to override the UI color
* Add -color option to core plugin which will override
   the base UI color for that session.

Reviewed-by: thorbjorn
2009-11-25 18:44:54 +01:00
Thorbjørn Lindeijer
c9d49ab7e2 Fixed a bunch of accelerator keys in the File menu
There were three missing and one duplicate. Committed to master since
1.3 is currently in a hard string freeze.

Task-number: QTCREATORBUG-261
Task-number: QTCREATORBUG-262
Task-number: QTCREATORBUG-263
Task-number: QTCREATORBUG-264
2009-11-12 15:54:50 +01:00
Friedemann Kleint
8335a06ed4 Code model: Update on changes from the versioning system.
Add changed signals to IVersionControl and
VCSManager and wire them to the update methods. Add a menu action for
manually updating. Improved version of reverted
7aa2411693.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-11-11 14:32:54 +01:00
con
e4b1a25dd2 Revert "Code model: Update on changes from the versioning system."
This reverts commit 7aa2411693.
It breaks the code model updates completely. So reverting this change
until we have the right thing.

Reviewed-by: Roberto Raggi
2009-11-10 18:19:37 +01:00
Friedemann Kleint
7aa2411693 Code model: Update on changes from the versioning system.
Add state logic to CppCodeModelManagerInterface, making it aware whether
an indexer is running, protect the update methods from another
invocation while running. Add changed signals to IVersionControl and
VCSManager and wire them to the update methods. Add a menu action for
manually updating.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Reviewed-by: con <qtc-committer@nokia.com>
2009-11-09 15:57:56 +01:00
Friedemann Kleint
22ab8d5662 Debugger: Do configuration error checking early on.
Add a configuration checking method to the Debugger manager,
depending on toolchain, wire it to the engines.
Check that in the debugger run controls.

Add a convenience method to ICore that shows a warning
message with a "Settings" button, pointing the user
to a configuration error on a settings page.

Remove leftovers of the dumper parser.
Acked-by: con <qtc-committer@nokia.com>
2009-10-08 17:23:27 +02:00
Friedemann Kleint
5948e284bb Rename namespace Core::Utils into Utils
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00