Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
711d73fa
Commit
711d73fa
authored
Mar 10, 2009
by
dt
Browse files
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
parents
dcb43b04
5b683c84
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/app/app.pro
View file @
711d73fa
...
...
@@ -13,8 +13,6 @@ win32 {
}
linux
-*
{
LIBS
*=
-
lExtensionSystem
-
lAggregation
ISGCC33
=
$$
(
GCC33
)
!
equals
(
ISGCC33
,
1
)
:
QT
+=
svg
dbus
target
.
path
=
/
bin
INSTALLS
+=
target
...
...
src/plugins/designer/formeditorw.cpp
View file @
711d73fa
...
...
@@ -358,12 +358,21 @@ void FormEditorW::setupActions()
//tool actions
m_toolActionIds
.
push_back
(
QLatin1String
(
"FormEditor.LayoutHorizontally"
));
#ifndef Q_OS_MAC
addToolAction
(
m_fwm
->
actionHorizontalLayout
(),
am
,
m_context
,
m_toolActionIds
.
back
(),
mformtools
,
tr
(
"Ctrl+H"
));
#else
addToolAction
(
m_fwm
->
actionHorizontalLayout
(),
am
,
m_context
,
m_toolActionIds
.
back
(),
mformtools
,
tr
(
"Meta+H"
));
#endif
m_toolActionIds
.
push_back
(
QLatin1String
(
"FormEditor.LayoutVertically"
));
#ifndef Q_OS_MAC
addToolAction
(
m_fwm
->
actionVerticalLayout
(),
am
,
m_context
,
m_toolActionIds
.
back
(),
mformtools
,
tr
(
"Ctrl+L"
));
#else
addToolAction
(
m_fwm
->
actionVerticalLayout
(),
am
,
m_context
,
m_toolActionIds
.
back
(),
mformtools
,
tr
(
"Meta+L"
));
#endif
m_toolActionIds
.
push_back
(
QLatin1String
(
"FormEditor.SplitHorizontal"
));
addToolAction
(
m_fwm
->
actionSplitHorizontal
(),
am
,
m_context
,
...
...
@@ -378,16 +387,26 @@ void FormEditorW::setupActions()
m_toolActionIds
.
back
(),
mformtools
);
m_toolActionIds
.
push_back
(
QLatin1String
(
"FormEditor.LayoutGrid"
));
#ifndef Q_OS_MAC
addToolAction
(
m_fwm
->
actionGridLayout
(),
am
,
m_context
,
m_toolActionIds
.
back
(),
mformtools
,
tr
(
"Ctrl+G"
));
#else
addToolAction
(
m_fwm
->
actionGridLayout
(),
am
,
m_context
,
m_toolActionIds
.
back
(),
mformtools
,
tr
(
"Meta+G"
));
#endif
m_toolActionIds
.
push_back
(
QLatin1String
(
"FormEditor.LayoutBreak"
));
addToolAction
(
m_fwm
->
actionBreakLayout
(),
am
,
m_context
,
m_toolActionIds
.
back
(),
mformtools
);
m_toolActionIds
.
push_back
(
QLatin1String
(
"FormEditor.LayoutAdjustSize"
));
#ifndef Q_OS_MAC
addToolAction
(
m_fwm
->
actionAdjustSize
(),
am
,
m_context
,
m_toolActionIds
.
back
(),
mformtools
,
tr
(
"Ctrl+J"
));
#else
addToolAction
(
m_fwm
->
actionAdjustSize
(),
am
,
m_context
,
m_toolActionIds
.
back
(),
mformtools
,
tr
(
"Meta+J"
));
#endif
m_toolActionIds
.
push_back
(
QLatin1String
(
"FormEditor.SimplifyLayout"
));
addToolAction
(
m_fwm
->
actionSimplifyLayout
(),
am
,
m_context
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment