Commit Graph

33 Commits

Author SHA1 Message Date
hjk
2f5f358ff4 Core::Context: compile hot fix for Windows. 2010-06-25 17:38:25 +02:00
hjk
2473cf30f3 compile fix on Windows 2010-06-25 14:13:49 +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
con
3d1a97e6df Fix updating the state of menus.
The menus were only updated during context changes
(not if action states where updated directly),
and didn't take into account that the active action for a context
might still be disabled.
Also, enabled separators should not automatically lead to enabled menus.
2010-04-23 04:30:47 +02:00
Daniel Molkentin
7e1f9d9f85 Highlight colliding shortcuts for imported keyboard schemes. 2010-04-07 18:02:34 +02:00
dt
cbe46198ad ActionManager support for iconVisibleInMenu 2010-03-26 17:34:59 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
con
601038689e Remove one level of the Command class hierarchy.
Remove the historical separation of "Action" and "OverridableAction".
The latter is now merged into the former.
2010-01-14 16:37:40 +01:00
mae
3bb71243d4 Fix ambiguous shortcut problems
The dummy shortcut eater did not always work, we sometimes do have
mutual exclusive shortcuts in the same context.

The current solution is simpler: ignore text input when the control modifier
is used. This seems to be in line with other toolkits and applications.

Done with: thorbjorn
2009-12-16 13:32:14 +01:00
mae
50e45b76f4 Ignore hidden actions for the dummy shortcut eater
Reviewed-by: con
2009-12-14 17:20:50 +01:00
mae
255e7d1d75 Fixed disabled action shortcuts
The patch introduces a dummy action which eats the respective
shortcuts when the real action is disabled.
This works around an issue on X11, where some Ctrl-shortcuts do
insert printable text, for example Ctrl+. for the next bookmark.
Without the patch, Ctrl+. would insert an unexpected '.' into
the text when there are no bookmarks.

Reviewed-by: con
2009-12-14 14:26:49 +01:00
Friedemann Kleint
f7cc04e25e Perforce: Use new VCSBasePlugin class.
Use relative paths with -d-option, check for symlinked depots.
Add revert-actions.
Use different context/kinds for editors, suppressing warnings.
Introduce common run-function.
2009-12-11 16:43:39 +01:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
con
1e06df7d40 Add views menu for form editor. 2009-08-11 16:38:53 +02:00
con
61e468a885 Don't override a shortcut's key when setting the default, as for actions.
Setting the default shortcut may only set the current shortcut if that
has not already been set.
2009-07-09 12:16:35 +02:00
Frédéric Mercille
718cc94a89 Setting the default key sequence should only set the current sequence if none is set. Otherwise, it overrides the user configuration in QtCreator.ini. 2009-07-07 20:12:01 -04:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
con
fbe979a578 More documentation. 2009-05-06 18:30:14 +02:00
con
647e637a9c A bit of api documentation. 2009-05-06 18:30:14 +02:00
con
c6a0d43d7f Remove unused/unnecessary code. 2009-05-06 17:42:14 +02:00
con
7364d8ba3d Remove unused method. 2009-05-05 18:08:06 +02:00
con
38d7c52d49 Some more documentation about contexts and action containers. 2009-05-04 15:10:23 +02:00
con
713105ad85 Some documentation. 2009-04-24 16:34:24 +02:00
Oswald Buddenhagen
d75c5fa220 sanitize some tr() calls 2009-02-27 20:06:08 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
con
fbfcc9a484 Fixes: - ICommand --> Command
Details:  - Naming convention
2009-01-14 13:18:25 +01:00
con
d9f97aa179 Fixes: - Command --> CommandPrivate
Details:  - Preparation for ICommand rename
2009-01-14 13:18:24 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
hjk
ab83dcd87c off-by-one in headers 2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3 end-of-line whitespace correction of the new headers 2008-12-02 14:17:16 +01:00
hjk
f61e8672db more cosmetic changes 2008-12-02 14:09:21 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00