forked from qt-creator/qt-creator
Change the shortcut for ui form preview
Reviewed-by: dt <qtc-committer@nokia.com> Task-number: QTCREATORBUG-1911
This commit is contained in:
@@ -167,7 +167,7 @@
|
|||||||
red border, top level layouts have no graphical representation. Layouts are
|
red border, top level layouts have no graphical representation. Layouts are
|
||||||
necessary for top level widgets, in this case QWidget, to ensure that when
|
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
|
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
|
anywhere on the form and select \gui{Lay out Horizontally} or
|
||||||
\gui{Lay out Vertically}. The output will be the same. Now your widgets
|
\gui{Lay out Vertically}. The output will be the same. Now your widgets
|
||||||
will resize correctly.
|
will resize correctly.
|
||||||
@@ -907,7 +907,7 @@
|
|||||||
Fortunately, Qt Creator's \QD plugin provides a simple way to set tooltips
|
Fortunately, Qt Creator's \QD plugin provides a simple way to set tooltips
|
||||||
with the \c toolTip property. So, set your buttons' tooltips to
|
with the \c toolTip property. So, set your buttons' tooltips to
|
||||||
\gui{Load contacts from file} and \gui{Save contacts to file} respectively.
|
\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.
|
the push buttons.
|
||||||
|
|
||||||
|
|
||||||
|
@@ -746,7 +746,7 @@
|
|||||||
settings are used.
|
settings are used.
|
||||||
|
|
||||||
To preview the settings, select \gui Tools > \gui{Form Editor} >
|
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
|
\o To specify embedded device profiles, such as style, font, and screen
|
||||||
resolution, select \gui{Embedded Design}.
|
resolution, select \gui{Embedded Design}.
|
||||||
\endlist
|
\endlist
|
||||||
@@ -6236,7 +6236,7 @@
|
|||||||
\o Ctrl+L
|
\o Ctrl+L
|
||||||
\row
|
\row
|
||||||
\o Preview
|
\o Preview
|
||||||
\o Ctrl+Alt+R
|
\o Alt+Shift+R
|
||||||
\row
|
\row
|
||||||
\o Edit signals and slots
|
\o Edit signals and slots
|
||||||
\o F4
|
\o F4
|
||||||
|
@@ -115,7 +115,7 @@
|
|||||||
<key value="" />
|
<key value="" />
|
||||||
</shortcut>
|
</shortcut>
|
||||||
<shortcut id="FormEditor.Preview" >
|
<shortcut id="FormEditor.Preview" >
|
||||||
<key value="Ctrl+Alt+R" />
|
<key value="Alt+Shift+R" />
|
||||||
</shortcut>
|
</shortcut>
|
||||||
<shortcut id="QtCreator.Save" >
|
<shortcut id="QtCreator.Save" >
|
||||||
<key value="Ctrl+S" />
|
<key value="Ctrl+S" />
|
||||||
|
@@ -280,7 +280,7 @@
|
|||||||
<key value="" />
|
<key value="" />
|
||||||
</shortcut>
|
</shortcut>
|
||||||
<shortcut id="FormEditor.Preview" >
|
<shortcut id="FormEditor.Preview" >
|
||||||
<key value="Ctrl+Alt+R" />
|
<key value="Alt+Shift+R" />
|
||||||
</shortcut>
|
</shortcut>
|
||||||
<shortcut id="FormEditor.Menu.Preview.Windows" >
|
<shortcut id="FormEditor.Menu.Preview.Windows" >
|
||||||
<key value="" />
|
<key value="" />
|
||||||
|
@@ -530,7 +530,7 @@ void FormEditorW::setupActions()
|
|||||||
m_actionPreview = m_fwm->actionDefaultPreview();
|
m_actionPreview = m_fwm->actionDefaultPreview();
|
||||||
QTC_ASSERT(m_actionPreview, return);
|
QTC_ASSERT(m_actionPreview, return);
|
||||||
addToolAction(m_actionPreview, am, m_contexts,
|
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...
|
// Preview in style...
|
||||||
m_actionGroupPreviewInStyle = m_fwm->actionGroupPreviewInStyle();
|
m_actionGroupPreviewInStyle = m_fwm->actionGroupPreviewInStyle();
|
||||||
|
Reference in New Issue
Block a user