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
Tobias Hunger
qt-creator
Commits
4f70fc58
Commit
4f70fc58
authored
Dec 06, 2010
by
Thomas Hartmann
Browse files
QmlDesigner.propertyEditor: fix for webview
Handle different packages
parent
073feb6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
View file @
4f70fc58
...
...
@@ -883,6 +883,8 @@ void PropertyEditor::reloadQml()
QString
PropertyEditor
::
qmlFileName
(
const
NodeMetaInfo
&
nodeInfo
)
const
{
if
(
nodeInfo
.
typeName
().
split
(
'/'
).
last
()
==
"QDeclarativeItem"
)
return
"Qt/ItemPane.qml"
;
return
nodeInfo
.
typeName
()
+
QLatin1String
(
"Pane.qml"
);
}
...
...
src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h
View file @
4f70fc58
...
...
@@ -35,6 +35,7 @@
#include <QHash>
#include <QDeclarativePropertyMap>
#include <QStackedWidget>
#include <QTimer>
#include "qmlanchorbindingproxy.h"
#include "designerpropertymap.h"
...
...
@@ -44,6 +45,7 @@
QT_BEGIN_NAMESPACE
class
QShortcut
;
class
QStackedWidget
;
class
QTimer
;
QT_END_NAMESPACE
class
PropertyEditorValue
;
...
...
@@ -141,6 +143,7 @@ private: //variables
NodeType
*
m_currentType
;
bool
m_locked
;
bool
m_setupCompleted
;
QTimer
*
m_singleShotTimer
;
};
...
...
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