Commit Graph

6 Commits

Author SHA1 Message Date
Leandro Melo
f4c25ad537 Revert "More options dialog UI changes"
This reverts commit c5b57ea5f9.
2011-02-28 14:37:26 +01:00
Leandro Melo
c5b57ea5f9 More options dialog UI changes
Continuing 561f87fcb9
2011-02-25 17:00:06 +01:00
Nicolas Arnaud-Cormos
acf607f009 The macros plugin use a directory in userResourcePath.
It is not possible to manage different directory for the macro plugin, it uses the user resource path per default.
This change cleans a lot of code, specially we don't need any specific settings for the macro plugin, and the option page is more simple.

Merge-request: 240
Reviewed-by: con <qtc-committer@nokia.com>
2011-02-07 14:26:10 +01:00
Nicolas Arnaud-Cormos
23e024de64 Add a save macro menu item, and remove the 'show save dialog' option in macro plugin
Merge-request: 240
Reviewed-by: con <qtc-committer@nokia.com>
2011-02-07 14:26:10 +01:00
Nicolas Arnaud-Cormos
1f1656163c Refactor the shortcut management for plugin macros
When saving a macro, a shortcut is created and the user can change the
shortcut in Options->Keyboard.
When the macro is removed, the shortcut is removed from the
actionManager using the removeShortcut method.
This is way simpler than before, where a number of default shortcuts
where defined and macros took the empty space.

Merge-request: 236
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-01-24 11:39:42 +01:00
Nicolas Arnaud-Cormos
f5fbbbfd4f New plugin: plugin macro
This plugin let the user record and replay some macros:
 * 3 handlers: action, find and texteditor
 * almost all texteditor and cpp actions recorded
 * options page to set the directories where the macros are stored
 * optional dialog to give a name and comment at the end of a macro
 * locator integration to play a macro
 * shortcuts assignment to macro

The most important change outside the plugin macros is the isScriptable method
for command: All scriptable commands can be stored in a macro.

Merge-request: 2176
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2010-12-20 11:16:15 +01:00