From 351beb8697d17b0a376c85c82d9ea7a6f4205fdb Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Wed, 25 Aug 2010 11:54:01 +0200 Subject: [PATCH] Change the shortcut for ui form preview Reviewed-by: dt Task-number: QTCREATORBUG-1911 --- doc/addressbook-sdk.qdoc | 4 ++-- doc/qtcreator.qdoc | 4 ++-- share/qtcreator/schemes/MS_Visual_C++.kms | 2 +- share/qtcreator/schemes/Xcode.kms | 2 +- src/plugins/designer/formeditorw.cpp | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/addressbook-sdk.qdoc b/doc/addressbook-sdk.qdoc index a102eb665be..410315aa984 100644 --- a/doc/addressbook-sdk.qdoc +++ b/doc/addressbook-sdk.qdoc @@ -167,7 +167,7 @@ red border, top level layouts have no graphical representation. Layouts are necessary for top level widgets, in this case QWidget, to ensure that when the window is resized, the widgets on the form will resize accordingly. You - can try this out by pressing \key{Ctrl+Alt+R} now. To correct it, click + can try this out by pressing \key{Alt+Shift+R} now. To correct it, click anywhere on the form and select \gui{Lay out Horizontally} or \gui{Lay out Vertically}. The output will be the same. Now your widgets will resize correctly. @@ -907,7 +907,7 @@ Fortunately, Qt Creator's \QD plugin provides a simple way to set tooltips with the \c toolTip property. So, set your buttons' tooltips to \gui{Load contacts from file} and \gui{Save contacts to file} respectively. - To test your tooltip, use \key{Ctrl+Alt+R} and hover your mouse cursor on + To test your tooltip, use \key{Alt+Shift+R} and hover your mouse cursor on the push buttons. diff --git a/doc/qtcreator.qdoc b/doc/qtcreator.qdoc index 46dd8ed0d8e..e7c1813f1da 100644 --- a/doc/qtcreator.qdoc +++ b/doc/qtcreator.qdoc @@ -746,7 +746,7 @@ settings are used. To preview the settings, select \gui Tools > \gui{Form Editor} > - \gui Preview, or press \key Ctrl+Alt+R. + \gui Preview, or press \key Alt+Shift+R. \o To specify embedded device profiles, such as style, font, and screen resolution, select \gui{Embedded Design}. \endlist @@ -6236,7 +6236,7 @@ \o Ctrl+L \row \o Preview - \o Ctrl+Alt+R + \o Alt+Shift+R \row \o Edit signals and slots \o F4 diff --git a/share/qtcreator/schemes/MS_Visual_C++.kms b/share/qtcreator/schemes/MS_Visual_C++.kms index 064282f0d5a..78100dda687 100644 --- a/share/qtcreator/schemes/MS_Visual_C++.kms +++ b/share/qtcreator/schemes/MS_Visual_C++.kms @@ -115,7 +115,7 @@ - + diff --git a/share/qtcreator/schemes/Xcode.kms b/share/qtcreator/schemes/Xcode.kms index f3ccdd98bcb..8958b442da9 100644 --- a/share/qtcreator/schemes/Xcode.kms +++ b/share/qtcreator/schemes/Xcode.kms @@ -280,7 +280,7 @@ - + diff --git a/src/plugins/designer/formeditorw.cpp b/src/plugins/designer/formeditorw.cpp index 51d39071c40..92bceffe507 100644 --- a/src/plugins/designer/formeditorw.cpp +++ b/src/plugins/designer/formeditorw.cpp @@ -530,7 +530,7 @@ void FormEditorW::setupActions() m_actionPreview = m_fwm->actionDefaultPreview(); QTC_ASSERT(m_actionPreview, return); addToolAction(m_actionPreview, am, m_contexts, - QLatin1String("FormEditor.Preview"), mformtools, tr("Ctrl+Alt+R")); + QLatin1String("FormEditor.Preview"), mformtools, tr("Alt+Shift+R")); // Preview in style... m_actionGroupPreviewInStyle = m_fwm->actionGroupPreviewInStyle();