Tim Jenssen
668c87ffd9
QmlDesigner: reduce editor changed signals
...
- detaching the TextEditView already emits the TextEditor change signal
-> so removing the call from QmlDesignerPlugin::deactivateAutoSynchronization()
- in case the user closed explicit the editor we do not want to emit any
signals anymore
Change-Id: Idb5c2cdde583f7d32f2a9ef5628d1b6d3fc7bb3f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io >
2017-10-18 14:16:30 +00:00
Tim Jenssen
0de18abbc2
QmlDesigner: use initializer lists
...
Change-Id: Ibdc46d30ad3f2b703d4cbdd796a1032030bd17cd
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
2017-04-26 14:18:48 +00:00
Orgad Shaneh
5221d5f06a
QmlDesigner: Use Qt5-style connect
...
+ De-slot where possible
Change-Id: Ibd2edbef7b7712aba20593bd0417940e828e0c9c
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
2017-03-20 10:42:45 +00:00
Tim Jenssen
fa84524c0c
QmlDesigner: rename RewriterError -> DocumentMessage
...
Change-Id: I8cbb1b8b83ec10c33e416de96a09281208be8773
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
2017-01-10 16:22:23 +00:00
Thomas Hartmann
d4aa4523b7
QmlDesigner: Avoid throwing in the destructor of transactions
...
Since C++11 destructors do not throw by default.
Change-Id: Ic6403704587999464011fcaa1f9ac7df3e4ee49d
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
2017-01-04 13:26:17 +00:00
Tobias Hunger
c230f3427e
QmlDesigner: Remove dead code
...
Change-Id: Iaa32c7fffeef88f8f9cd4434d3b7e2551f9de12e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
2016-11-29 16:31:20 +00:00
Tim Jenssen
9844cd242e
QmlDesigner: space only cleanups
...
Change-Id: I959208b27694ff3c75650a3f482a0a975ca6e769
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com >
2016-10-21 15:08:34 +00:00
Tim Jenssen
4dffc26cd1
QmlDesigner: use Utils::FileName
...
No behavior change.
Change-Id: I7e8bc51bf1fed99159945c656402bb315aebc3f0
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com >
2016-10-13 09:51:32 +00:00
Thomas Hartmann
18817a9a74
QmlDesigner: set QT_QUICK_CONTROLS_CONF
...
If we have a qtquickcontrols2.conf we set QT_QUICK_CONTROLS_CONF
for the qml2puppet.
For this we have to forward the project to PuppetCreator.
I forwarded the project instead of just the path to qtquickcontrols2.conf,
because we most likely add more project specific features in the future.
Change-Id: I0a90636ca6903e28499018c8d769bb07f7be5bb6
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
2016-09-28 14:33:42 +00:00
Tim Jenssen
8fbd3cd32e
QmlDesigner: fix regression from last code cleanup
...
Task-number: QTCREATORBUG-16516
Change-Id: Ic77d325c131a594f69b6fbbb6b1d6be6374b45a0
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com >
2016-06-29 14:30:47 +00:00
Thomas Hartmann
334273be84
QmlDesigner: Update qrc files
...
This triggers an update on every qrc file.
Change-Id: Id34873e3bd8190d79773fbc3a8a90699d4e49cb0
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com >
2016-06-29 13:14:44 +00:00
Tim Jenssen
fccd50d32b
QmlDesigner: small code cleanup
...
Change-Id: I4cbfa65c5b8481c859081f43893431c0b93b3cd7
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com >
2016-06-27 13:31:08 +00:00
Tobias Hunger
98192159da
Revert "QmlDesigner: Use generic signaling from project"
...
The code that this depends on is not there yet.
This reverts commit e6f0695751 .
Change-Id: I61d4ff735342731a781960b19b047613b58a23b5
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com >
2016-06-13 12:42:22 +00:00
Tobias Hunger
e6f0695751
QmlDesigner: Use generic signaling from project
...
Change-Id: I135ffcbff3651fe7ff7bc1525881f805a820fb10
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com >
2016-06-13 11:21:20 +00:00
Tim Jenssen
61bafe3407
QmlDesigner: keep warnings for later showing
...
Change-Id: I5f9c51480a1d0276a356737ab1f91a8f76443c5a
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com >
2016-04-29 08:06:54 +00:00
Tobias Hunger
397e7f4843
Update License according to agreement with Free Qt Foundation
...
* Update files in src/plugins
Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2016-01-19 15:57:01 +00:00
Alessandro Portale
374f84acc7
Qt Quick Designer: License change to Qt Commercial + GPLv3
...
Change-Id: I7f7aecd02892b6c616cd148fa5d845e7bc0d3b4f
Reviewed-by: Tuukka Turunen <tuukka.turunen@digia.com >
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com >
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com >
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com >
2015-09-18 12:12:57 +00:00
Nikita Baryshnikov
b76b1bd0aa
QmlDesigner: remove unused function
...
since 2f7e85ebcf
Change-Id: Ib369cb818ef3a002aafcbdb7925a2c82ea6e8e30
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2015-07-29 11:27:01 +00:00
Thomas Hartmann
893dfade18
QmlDesigner: QT_NO_CAST_FROM_ASCII fixes
...
Change-Id: I45cd69bb863dbf7fc51f6d64fa4b2509c0e2ecee
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com >
2015-07-17 12:56:31 +00:00
Thomas Hartmann
2f7e85ebcf
QmlDesigner: Change the priority of projects and kits
...
First we try to find a project that contains the document.
We fallback to the current project.
If the kit of the active target is invalid we return 0.
Before any newly created qml file used the fallback puppet.
Change-Id: Ide3333455d85418459924e507f4f5e77afae4188
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com >
2015-07-15 09:13:46 +00:00
Thomas Hartmann
231404ecac
QmlDesigner: Change signature of DesignDocument::fileName()
...
Change-Id: I58041af21f20373adf88ec5d2b5b3af785e3faff
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com >
2015-07-15 09:13:37 +00:00
Thomas Hartmann
e55119bb3a
QmlDesigner: Add missing return to DesignDocument::contextHelpId()
...
Change-Id: I51e3b08efeda4da8cd2aee84e832a5f8c110b8bb
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com >
2015-07-15 09:13:31 +00:00
Thomas Hartmann
8cdfc4e097
QmlDesigner.Rewriter: Cleaning up the warning code
...
The class is renamed to RewriterError and moved outside of RewriterView.
Reason: Inner classes cannot be forward declared in C++.
Changing RewriterView::Error to RewriterError, because inner
classes cannot be forward declared.
Change-Id: I51e3b08efeda44a8cd2abe84e833a5f8c190b84e
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com >
2015-07-15 09:12:32 +00:00
Friedemann Kleint
fe2addf515
Clean exported headers of the TextEditor plugin.
...
Change-Id: I1e7dd34ba5a51fb0b34d137dc03add4457b32ed1
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2015-02-26 13:15:29 +00:00
Orgad Shaneh
88e7f935f4
ProjectExplorer: Use FileName for Node::path
...
Change-Id: I4a41cfb629be8bb06b4b0616cd4475525e617a51
Reviewed-by: BogDan Vatra <bogdan@kde.org >
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com >
2015-02-13 13:14:03 +00:00
Eike Ziller
9926fc2ab1
Merge commit '3c85058694ee2e41658d17f524fb48f0b187d2fe'
...
Conflicts:
src/libs/utils/tooltip/tipcontents.cpp
src/libs/utils/tooltip/tipcontents.h
src/plugins/android/androiddeployqtstep.cpp
src/plugins/baremetal/baremetalconstants.h
src/plugins/baremetal/baremetaldevice.cpp
src/plugins/baremetal/baremetaldevice.h
src/plugins/baremetal/baremetaldeviceconfigurationwidget.cpp
src/plugins/baremetal/baremetaldeviceconfigurationwidget.h
src/plugins/baremetal/baremetaldeviceconfigurationwizard.cpp
src/plugins/baremetal/baremetaldeviceconfigurationwizardpages.cpp
src/plugins/baremetal/baremetaldeviceconfigurationwizardpages.h
src/plugins/baremetal/baremetalplugin.cpp
src/plugins/baremetal/baremetalplugin.h
src/plugins/baremetal/baremetalruncontrolfactory.cpp
src/plugins/baremetal/baremetalruncontrolfactory.h
src/plugins/cppeditor/cppcodemodelinspectordialog.cpp
src/plugins/cppeditor/cppdoxygen_test.cpp
src/plugins/cppeditor/cppdoxygen_test.h
src/plugins/debugger/breakpointmarker.cpp
src/plugins/debugger/debuggeritemmodel.cpp
src/plugins/debugger/debuggeritemmodel.h
src/plugins/debugger/loadcoredialog.cpp
src/plugins/genericprojectmanager/cppmodelmanagerhelper.cpp
src/plugins/projectexplorer/addnewmodel.cpp
src/plugins/projectexplorer/addnewmodel.h
src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp
src/plugins/qmlprofiler/abstracttimelinemodel.cpp
src/plugins/qmlprofiler/abstracttimelinemodel.h
src/plugins/qmlprofiler/notesmodel.cpp
src/plugins/qmlprofiler/qml/CategoryLabel.qml
src/plugins/qmlprofiler/qml/MainView.qml
src/plugins/qmlprofiler/qml/Overview.js
src/plugins/qmlprofiler/qml/Overview.qml
src/plugins/qmlprofiler/qml/TimeDisplay.qml
src/plugins/qmlprofiler/qml/TimeMarks.qml
src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.cpp
src/plugins/qmlprofiler/sortedtimelinemodel.cpp
src/plugins/qmlprofiler/sortedtimelinemodel.h
src/plugins/qmlprofiler/timelinemodelaggregator.cpp
src/plugins/qmlprofiler/timelinemodelaggregator.h
src/plugins/qmlprofiler/timelinerenderer.cpp
src/plugins/qmlprofiler/timelinerenderer.h
src/plugins/qmlprojectmanager/QmlProjectManager.json.in
src/plugins/texteditor/findinfiles.cpp
src/plugins/vcsbase/vcsconfigurationpage.cpp
src/shared/qbs
src/shared/scriptwrapper/interface_wrap_helpers.h
src/shared/scriptwrapper/wrap_helpers.h
tests/auto/qmlprofiler/abstracttimelinemodel/tst_abstracttimelinemodel.cpp
tests/system/suite_debugger/tst_debug_empty_main/test.py
tests/system/suite_debugger/tst_qml_js_console/test.py
tests/system/suite_debugger/tst_qml_locals/test.py
Change-Id: I67540b648f8b162496f4aa606b04d50c7c9125c6
2015-02-12 17:29:21 +01:00
Orgad Shaneh
98723e4557
De-noise some ProjectExplorer/Utils qualifications
...
Change-Id: Iaec01ca0e7a43592528bcaf4252540561e109919
Reviewed-by: hjk <hjk@theqtcompany.com >
2015-02-02 13:04:03 +00:00
Eike Ziller
3c85058694
Update License
...
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com >
2015-01-16 12:37:56 +01:00
Orgad Shaneh
c6a983d271
Core: Use FileName for file path in IDocument
...
Change-Id: I85f7398aee59d0d36f0e5c3bf88ff3c96002e394
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com >
2015-01-12 10:23:37 +01:00
Daniel Teske
4943510b60
Completely rework currentNode/currentProject handling
...
Centralize the handling inside a new class ProjectTree.
React to moving focus and remove most special handling.
This properly fixes the linked task.
Task-number: QTCREATORBUG-13357
Change-Id: I6b06aa32b1e4305ec8a6d432857b302585d8734b
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com >
2014-12-03 12:36:20 +01:00
Christian Kandeler
6595c0a9d1
Catch exceptions by const reference.
...
Change-Id: Ic537fd123478a4f8fe4e54736d444fa64fd62d9c
Reviewed-by: hjk <hjk121@nokiamail.com >
2014-11-28 12:01:41 +01:00
Eike Ziller
ea27143239
Merge remote-tracking branch 'origin/3.2'
...
Conflicts:
src/libs/utils/ipaddresslineedit.cpp
src/libs/utils/logging.h
src/plugins/analyzerbase/AnalyzerBase.pluginspec.in
src/plugins/android/Android.pluginspec.in
src/plugins/android/androiddeploystep.cpp
src/plugins/android/androiddeploystep.h
src/plugins/android/androiddeploystepfactory.cpp
src/plugins/android/androiddeploystepwidget.cpp
src/plugins/android/androidpackagecreationfactory.cpp
src/plugins/android/androidpackagecreationstep.cpp
src/plugins/android/androidpackagecreationstep.h
src/plugins/android/androidpackagecreationwidget.cpp
src/plugins/android/androidpackagecreationwidget.h
src/plugins/android/javafilewizard.cpp
src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in
src/plugins/baremetal/BareMetal.pluginspec.in
src/plugins/bazaar/Bazaar.pluginspec.in
src/plugins/beautifier/Beautifier.pluginspec.in
src/plugins/bineditor/BinEditor.pluginspec.in
src/plugins/bookmarks/Bookmarks.pluginspec.in
src/plugins/clangcodemodel/ClangCodeModel.pluginspec.in
src/plugins/clangcodemodel/clanghighlightingsupport.cpp
src/plugins/clangcodemodel/clangsymbolsearcher.cpp
src/plugins/classview/ClassView.pluginspec.in
src/plugins/clearcase/ClearCase.pluginspec.in
src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec.in
src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp
src/plugins/cmakeprojectmanager/cmakehighlighter.cpp
src/plugins/coreplugin/Core.pluginspec.in
src/plugins/cpaster/CodePaster.pluginspec.in
src/plugins/cppeditor/CppEditor.pluginspec.in
src/plugins/cppeditor/cppfilewizard.cpp
src/plugins/cpptools/CppTools.pluginspec.in
src/plugins/cpptools/cpphighlightingsupportinternal.cpp
src/plugins/cpptools/cppmodelmanagerinterface.cpp
src/plugins/cpptools/cppmodelmanagerinterface.h
src/plugins/cvs/CVS.pluginspec.in
src/plugins/debugger/Debugger.pluginspec.in
src/plugins/designer/Designer.pluginspec.in
src/plugins/diffeditor/DiffEditor.pluginspec.in
src/plugins/emacskeys/EmacsKeys.pluginspec.in
src/plugins/fakevim/FakeVim.pluginspec.in
src/plugins/genericprojectmanager/GenericProjectManager.pluginspec.in
src/plugins/git/Git.pluginspec.in
src/plugins/git/gitorious/gitorious.cpp
src/plugins/git/gitorious/gitorious.h
src/plugins/git/gitorious/gitoriousclonewizard.cpp
src/plugins/git/gitorious/gitorioushostwidget.cpp
src/plugins/git/gitorious/gitorioushostwidget.h
src/plugins/git/gitorious/gitorioushostwizardpage.cpp
src/plugins/git/gitorious/gitoriousprojectwidget.cpp
src/plugins/git/gitorious/gitoriousprojectwidget.h
src/plugins/git/gitorious/gitoriousprojectwizardpage.cpp
src/plugins/git/gitorious/gitoriousprojectwizardpage.h
src/plugins/git/gitorious/gitoriousrepositorywizardpage.cpp
src/plugins/git/gitorious/gitoriousrepositorywizardpage.h
src/plugins/glsleditor/GLSLEditor.pluginspec.in
src/plugins/glsleditor/glsleditorfactory.cpp
src/plugins/glsleditor/glslfilewizard.cpp
src/plugins/helloworld/HelloWorld.pluginspec.in
src/plugins/help/Help.pluginspec.in
src/plugins/imageviewer/ImageViewer.pluginspec.in
src/plugins/ios/Ios.pluginspec.in
src/plugins/macros/Macros.pluginspec.in
src/plugins/mercurial/Mercurial.pluginspec.in
src/plugins/perforce/Perforce.pluginspec.in
src/plugins/projectexplorer/ProjectExplorer.pluginspec.in
src/plugins/pythoneditor/PythonEditor.pluginspec.in
src/plugins/pythoneditor/pythoneditorwidget.cpp
src/plugins/pythoneditor/wizard/pythonfilewizard.cpp
src/plugins/qbsprojectmanager/QbsProjectManager.pluginspec.in
src/plugins/qbsprojectmanager/defaultpropertyprovider.cpp
src/plugins/qmakeprojectmanager/QmakeProjectManager.pluginspec.in
src/plugins/qmakeprojectmanager/profileeditorfactory.cpp
src/plugins/qmldesigner/QmlDesigner.pluginspec.in
src/plugins/qmljseditor/QmlJSEditor.pluginspec.in
src/plugins/qmljseditor/qmljseditorfactory.cpp
src/plugins/qmljstools/QmlJSTools.pluginspec.in
src/plugins/qmlprofiler/QmlProfiler.pluginspec.in
src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec.in
src/plugins/qnx/Qnx.pluginspec.in
src/plugins/qtsupport/QtSupport.pluginspec.in
src/plugins/remotelinux/RemoteLinux.pluginspec.in
src/plugins/resourceeditor/ResourceEditor.pluginspec.in
src/plugins/resourceeditor/resourcewizard.h
src/plugins/subversion/Subversion.pluginspec.in
src/plugins/tasklist/TaskList.pluginspec.in
src/plugins/texteditor/TextEditor.pluginspec.in
src/plugins/texteditor/basetexteditor_p.h
src/plugins/texteditor/basetextmark.cpp
src/plugins/texteditor/codeassist/basicproposalitemlistmodel.h
src/plugins/texteditor/codeassist/defaultassistinterface.h
src/plugins/texteditor/codeassist/iassistproposalitem.cpp
src/plugins/texteditor/itexteditor.cpp
src/plugins/texteditor/itexteditor.h
src/plugins/texteditor/itextmark.cpp
src/plugins/texteditor/plaintexteditor.cpp
src/plugins/texteditor/plaintexteditor.h
src/plugins/texteditor/texteditoractionhandler.cpp
src/plugins/todo/Todo.pluginspec.in
src/plugins/updateinfo/UpdateInfo.pluginspec.in
src/plugins/valgrind/Valgrind.pluginspec.in
src/plugins/vcsbase/VcsBase.pluginspec.in
src/plugins/welcome/Welcome.pluginspec.in
src/plugins/winrt/WinRt.pluginspec.in
tests/auto/debugger/temporarydir.h
Change-Id: I254af8be8119fe9855287909e17d4b8ca9d2fc2f
2014-10-14 15:36:16 +02:00
Eike Ziller
8295b503be
License update
...
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com >
2014-10-09 11:41:44 +02:00
hjk
10c8d5f0ca
TextEditor: Rename BaseTextEditorWidget to TextEditorWidget
...
... and some of the related implementation details
Change-Id: I1f03aa5acf2d3fb2cfc2a6a7845f3d3578b0408d
Reviewed-by: David Schulz <david.schulz@digia.com >
2014-09-29 14:54:32 +02:00
Eike Ziller
49db3a450a
Merge remote-tracking branch 'origin/3.2'
...
Conflicts:
qtcreator.pri
qtcreator.qbs
src/plugins/coreplugin/editormanager/editormanager.cpp
src/plugins/cppeditor/cppeditor.cpp
src/plugins/remotelinux/remotelinuxdebugsupport.cpp
src/plugins/texteditor/basetexteditor.cpp
Change-Id: I0da7c1cf2506b12d0563795aa8177fc45e97050f
2014-09-03 16:08:02 +02:00
Tim Jenssen
82bb8ce3ed
QmlDesigner: fix that we have too many updateActiveQtVersion() connections
...
Change-Id: I3d9a9ba76d0da4def215541ccff02afc26e5e5f1
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2014-08-22 11:49:14 +02:00
Eike Ziller
d9d0aba1c4
Merge remote-tracking branch 'origin/3.2'
...
Conflicts:
qtcreator.pri
qtcreator.qbs
src/plugins/coreplugin/editormanager/editormanager.cpp
src/plugins/projectexplorer/editorconfiguration.cpp
src/plugins/projectexplorer/projectfilewizardextension.cpp
src/plugins/qmakeandroidsupport/createandroidmanifestwizard.cpp
Change-Id: I8de0f6fcdd8d214fbc14e79f74cb0206e6e2c6c1
2014-08-15 16:14:34 +02:00
Thomas Hartmann
9e710d23e8
QmlDesigner.DocumentManager: Do not scatter items in layouts
...
Items in layouts do not need to be positioned.
Change-Id: I2bf0c83be48bd9aad11aab74e56e8a27f962214a
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com >
2014-08-11 13:45:01 +02:00
hjk
bf5e43be94
TextEditor: Merge ITextEditor and BaseTextEditor
...
Adjust all callers, de-export BaseTextEditorAnimator
Change-Id: I2329d976c1398e2449844bb480a4d4ed29859506
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-07-25 13:45:55 +02:00
Marco Bubke
36dc3fb01c
QmlDesigner: Remove call to SubComponentManager::update
...
It has no model attached so is doing nothing and called later again.
Change-Id: Ide36ba5640ff18e29d5be2ad5911ed448f37c92b
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com >
2014-07-15 13:29:37 +02:00
Orgad Shaneh
6f5c2ea5b0
QmlDesigner: Pass const values by references
...
Change-Id: I468b2bebec64680289b24044b0b4e3d5d734f604
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com >
Reviewed-by: Marco Bubke <marco.bubke@digia.com >
2014-05-22 14:15:19 +02:00
Marco Bubke
dd6fb08bab
QmlDesigner: Share contextHelpId
...
Moved the code to AbstractView::contextHelpId so it can be shared.
Change-Id: I0a95b5ee079cbc26c87d53587f7766f1c333a245
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com >
2014-05-14 14:34:55 +02:00
Marco Bubke
5794ad016d
QmlDesigner: Make DesignDocument::view const
...
Change-Id: I0d1b8fb55fbd08d556b0daa2d4a7d12bc81c4c13
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com >
2014-05-14 14:34:50 +02:00
Marco Bubke
9820894fb2
QmlDesigner: Refactoring ModelNode::setId
...
Add ModelNode::setIdWithoutRefactoring for changes without rewriter
interaction and change the rewriter to use it.
Rename ModelNode::setId to ModelNode::setIdWithRefactoring and add the
refactoring capabilities.
Change-Id: Ia5fba19bd2eeb034d525e92f39d30954e83fa747
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2014-04-29 13:24:29 +02:00
Marco Bubke
f5404e835d
QmlDesigner: ModelNode allDirectSubModelNodes to directSubModelNodes
...
Change-Id: I14e303b00807e6acad5a76af8804a2232b7b6e9f
Reviewed-by: Marco Bubke <marco.bubke@digia.com >
2014-04-24 16:23:36 +02:00
Marco Bubke
94d1308076
QmlDesigner: Exchange pathToQt with Kit
...
Change-Id: If21d3c55ec62d22c3bdb623ecd21def276ef383d
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2014-04-09 15:05:18 +02:00
hjk
7ed339248a
QmlDesigner: Consolidate exception handling code
...
And translate the message box title.
Change-Id: I9d805c10940e5e3dbaa17323a913a4a55fc61a2d
Reviewed-by: Marco Bubke <marco.bubke@digia.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2014-03-12 12:37:00 +01:00
hjk
3b84a6dc88
Use ICore::dialogParent for message boxes without parent so far
...
Change-Id: I2ee35796b2c041e6ea2ae6bd677e10167451d1b8
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
2014-03-12 12:06:10 +01:00
Thomas Hartmann
8d6e3d22a9
QmlDesigner.DesignDocument: Fixing getActiveQtVersion()
...
The function currentProject() returns the current project based
on the current project node.
If the current document was newly created by a wizard, this did not work.
We use SessionManager::projectForFile() as a fallback.
For Qt Creator 3.2 we plan to unify this functionality with die Qml
code model.
Change-Id: I296224671a0b496fbf6fd0d8e62e74c28b4f9abb
Reviewed-by: Marco Bubke <marco.bubke@digia.com >
2014-03-05 19:54:16 +01:00
Thomas Hartmann
53e687eca6
QmlDesigner.CopyAndPaste: fix pasting into item without children
...
Pasting "into" an item that did not have any children did not work.
The method hasNodeListProperty() only return true if the item
already has children.
Change-Id: I00d20df1673758b22d056b8dd64a52c760aabf18
Reviewed-by: Marco Bubke <marco.bubke@digia.com >
2014-03-05 16:06:35 +01:00