Skip to content
GitLab
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
b9ff6032
Commit
b9ff6032
authored
May 16, 2011
by
Thomas Hartmann
Browse files
QmlDesigner.propertyEditor: use simplified typename in captions
parent
6a9e88c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
View file @
b9ff6032
...
...
@@ -610,7 +610,7 @@ QString templateGeneration(NodeMetaInfo type, NodeMetaInfo superType, const QmlO
{
QString
qmlTemplate
=
QLatin1String
(
"import Qt 4.7
\n
import Bauhaus 1.0
\n
"
);
qmlTemplate
+=
QLatin1String
(
"GroupBox {
\n
"
);
qmlTemplate
+=
QString
(
QLatin1String
(
"caption:
\"
%1
\"\n
"
)).
arg
(
type
.
t
ypeName
());
qmlTemplate
+=
QString
(
QLatin1String
(
"caption:
\"
%1
\"\n
"
)).
arg
(
objectNode
.
modelNode
().
simplifiedT
ypeName
());
qmlTemplate
+=
QLatin1String
(
"layout: VerticalLayout {
\n
"
);
QList
<
QString
>
orderedList
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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