Commit Graph

115 Commits

Author SHA1 Message Date
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
Daniel Molkentin
cb784459c3 Do not temporary show the welcome mode when passing a session as argument
Reviewed-by: con
2009-06-12 18:06:34 +02:00
con
efc546f8d5 Oops. Unused variable. 2009-06-04 15:55:53 +02:00
con
78af9c163d Don't ask when doing a "Save all".
Reviewed-by: Oswald Buddenhagen
2009-06-04 12:08:49 +02:00
con
4b9a3d5a46 API: temporaryEditor --> isTemporary
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2009-06-04 12:08:49 +02:00
Oswald Buddenhagen
d2a8449bea ifdef Q_?S_* cleanup
- clear up some Q_OS_LINUX vs. Q_OS_UNIX
- clear up Q_WS_* vs. Q_OS_* (relatively theoretical exercise)
- use proper #if-#else cascades instead of free-standing #ifs
2009-06-03 20:54:59 +02:00
Thorbjørn Lindeijer
94aa58a6b5 Used the settings database in the editor manager
Mainly because DocumentStates should be moved there, because it can grow
quite large. Backward compatibility is kept.
2009-05-25 15:30:19 +02:00
Thorbjørn Lindeijer
c9e88a968a Introduced settings database based on sqlite
Potential replacement for QSettings. This database will allow us to save
settings incrementially, removing most of the performance issues we're
having when our few megabytes of settings are being saved.

Not done in the form of a QSettings backend because it doesn't seem the
backends can do an incremental update of the settings.

Currently used by the QuickOpenPlugin for testing.
2009-05-25 15:30:19 +02:00
Daniel Molkentin
83d451be32 Make strings consistant, part. descriptions in the 'New' wizard. 2009-05-25 13:45:12 +02:00
Friedemann Kleint
19663fee41 Added 'Open with ->Qt Designer' in Project Explorer.
Added IExternalEditor which knows a kind and a mimetype.
Make EditorManager and ProjectExplorer "Open With" query
the interface and add the respective kinds.
Add "openExternalEditor" to EditorManager.
Add External editors for Designer and Linguist,
making use of Mac 'open' or Designer's Tcp socket mechanism
to ensure files are opened in the same instance (per Qt version).

Task-number: 249392
Reviewed-by: con <qtc-committer@nokia.com>
2009-05-19 14:54:52 +02:00
con
8457bd6861 Move wizard list generating helper methods to IWizard.
They don't have anything to do specifically with file wizards.
2009-05-11 13:36:56 +02:00
mae
9b82d98ede some work on the save-modified-files logic. We no longer rely
on QFileInfo to tell us that a file is not writable, but accept
that the attempt to save a file might actually fail (:-) ). This
solves the NT network domain issue without the insane slowness.

The stuff needs more work. We do not have any UI for failing save
operations when closing creator (other than it doesn't close). Bad.
2009-05-08 17:59:01 +02:00
Alessandro Portale
0b13357700 Rename AboutWorkbench to AboutQtCreator 2009-05-08 16:43:15 +02:00
Thorbjørn Lindeijer
b4245ac15c Prevent changing the context object just because the menu is activated
Fixes slowness when switching menus and allows menu actions to be used
that have a context that depends on the currently focused object.

Reviewed-by: con
2009-04-22 17:42:28 +02:00
Thorbjørn Lindeijer
ef1311d054 Fixed restoring of full screen window state
Task-number: 247123
2009-04-16 10:28:41 +02:00