Commit Graph

129 Commits

Author SHA1 Message Date
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
Friedemann Kleint
74a3828f19 Purge out include files in exported headers 2009-10-01 16:38:08 +02:00
con
1a0134a9de Use systems preferred language on Mac.
And ensure that the menu items don't vanish from the application menu
when they are translated.
2009-09-11 14:40:59 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
con
036e220700 Find out when devices get connected / disconnected.
And adapt the device selection list.
2009-07-31 17:05:39 +02:00
Norwegian Rock Cat
02a157f528 Kill the slash.
If we are going to be uncertain, then let's try to
be somewhat better stylistically about it.
2009-07-22 11:03:07 +02:00
con
22d41fb37e Add missing find tool bar placeholders. 2009-07-21 13:44:30 +02:00
con
091f372723 Making the find tool bar be more connected to the searched text. 2009-07-21 13:44:30 +02:00
mae
21e05c62b6 clarify file->new/open/open with
This is a fix for the problem, that some users were unable to figure
out how to open projects.
2009-07-20 15:15:35 +02:00
con
8ed85f1eb6 Unify tool button appearance in "panelWidgets".
Reviewed-by: Jens Bache-Wiig
2009-07-17 13:13:32 +02:00
con
6a88525aa3 Some more QToolBar changes. 2009-07-16 18:08:41 +02:00
con
db8507c4a0 Extract the styled painting of the find bar to utils widget. 2009-07-15 12:39:31 +02:00
con
e10c0c967a Make output panes in output mode appear again. 2009-07-14 16:00:25 +02:00
Alessandro Portale
d3f9757916 Removing some unused semicolons after Q_UNUSED
There were both variants, with and without extra semicolon.
2009-07-13 17:35:17 +02:00
con
95bf1681be Clean up the menus' separators. 2009-07-09 18:27:56 +02:00
dt
e2a06db32e Make FileWatcher more robust, fix a few bugs in that code.
Also cache a lastModified time, so that we don't emit a signal if it
didn't change.
2009-07-07 15:26:56 +02:00
Norwegian Rock Cat
77959c8bc5 Only call setVisible on this item after it has been put in a layout
If you call setVisible(true) on the item before it is placed in a
hierarchy, it will show as a normal top-level window. On some platforms
this isn't really an issue, but with Carbon, the show happens
immediately, so you get this flash of a window which is really
disturbing. I'm surprised it's not noticed on other platforms.
Personally, I'm not sure why we call this at all, but I'm leaving it for
the moment.
2009-07-07 14:59:05 +02:00
Friedemann Kleint
005b0a9a68 Fix exit crash when having context help open.
Add a shutdown()-notification to MainWindow and
reset the context in it.

Task-number: 256386
Reviewed-by: con <qtc-committer@nokia.com>
2009-06-23 14:59:01 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00