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
a8f43d8f
Commit
a8f43d8f
authored
Mar 31, 2010
by
con
Browse files
Qt Quick Designer it is.
parent
0031e542
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmljseditor/qmljseditorfactory.cpp
View file @
a8f43d8f
...
...
@@ -138,8 +138,8 @@ void QmlJSEditorFactory::updateEditorInfoBar(Core::IEditor *editor)
{
if
(
qobject_cast
<
QmlJSEditorEditable
*>
(
editor
))
{
Core
::
EditorManager
::
instance
()
->
showEditorInfoBar
(
QMLDESIGNER_INFO_BAR
,
tr
(
"Do you want to enable the experimental Quick Designer?"
),
tr
(
"Enable Quick Designer"
),
this
,
SLOT
(
activateQmlDesigner
()));
tr
(
"Do you want to enable the experimental
Qt
Quick Designer?"
),
tr
(
"Enable
Qt
Quick Designer"
),
this
,
SLOT
(
activateQmlDesigner
()));
}
else
{
Core
::
EditorManager
::
instance
()
->
hideEditorInfoBar
(
QMLDESIGNER_INFO_BAR
);
}
...
...
@@ -154,13 +154,13 @@ void QmlJSEditorFactory::activateQmlDesigner()
menu
=
tr
(
"Help -> About Plugins..."
);
#endif
QMessageBox
message
(
Core
::
ICore
::
instance
()
->
mainWindow
());
message
.
setWindowTitle
(
tr
(
"Enable experimental Quick Designer?"
));
message
.
setText
(
tr
(
"Do you want to enable the experimental Quick Designer? "
message
.
setWindowTitle
(
tr
(
"Enable experimental
Qt
Quick Designer?"
));
message
.
setText
(
tr
(
"Do you want to enable the experimental
Qt
Quick Designer? "
"After enabling it, you can access the visual design capabilities by switching to Design Mode. "
"This can affect the overall stability of Qt Creator. "
"To disable Quick Designer again, visit the menu '%1' and disable 'QmlDesigner'."
).
arg
(
menu
));
"To disable
Qt
Quick Designer again, visit the menu '%1' and disable 'QmlDesigner'."
).
arg
(
menu
));
message
.
setIcon
(
QMessageBox
::
Question
);
QPushButton
*
enable
=
message
.
addButton
(
tr
(
"Enable Quick Designer"
),
QMessageBox
::
AcceptRole
);
QPushButton
*
enable
=
message
.
addButton
(
tr
(
"Enable
Qt
Quick Designer"
),
QMessageBox
::
AcceptRole
);
QPushButton
*
dontNag
=
message
.
addButton
(
tr
(
"Never ask me again"
),
QMessageBox
::
ActionRole
);
message
.
addButton
(
tr
(
"Cancel"
),
QMessageBox
::
RejectRole
);
message
.
exec
();
...
...
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