Creation of the Text previews are done only when the engine client
is connected and they are deleted once the engine client changes
from the connected state.
Change-Id: I325d0d1a281b9e8fab4ddf9ff8ea4f5e60d4ac2a
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This allows clients to get notified that the operation has been canceled
by the user without the need to create an additional QFutureWatcher
themselves.
Change-Id: I928f87eef98ce762d77dcc6962c082fe49f38f6e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Option for reloading the Qml files in case of unsynchronizable
changes is not provided for Qt versions less than 5.0.
Change-Id: I4bb942ab9d5c699fa8569f81502ba86bccfe1bbd
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
The user is given an option to reload the QML app if he has done
any unsynchronizable change. If the user opts to reload the QML,
Inspector informs the qtdevlarative to do so.
Change-Id: Iefc044e64380e64415630b051a60d6fe9fedfe04
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
The SVN project status command is using currentFileTopLevel() for the
working directory when it should be using currentProjectTopLevel().
If no document is open, currentFileTopLevel() will return an empty
string which means the current working directory of Qt Creator is used.
Change-Id: I848b1adf7166836c5d15e88796af77f8700a43f2
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
The use case of this action (introduced in 25ee70bb24) is unclear.
Change-Id: I5188d5c8c9b06c5e2663e2ddc4c89ef1e670d891
Reviewed-by: hjk <qthjk@ovi.com>
Prepositions are usually not capitalized, even in book style.
Change-Id: Ibdca3843b349bf7aaac57e4e3ce635960f46ee0f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
The actions were added to the object pool so that QmlJsInspector
plugin can access them. This is obsolete now.
Change-Id: I7c33428b834c372fab354b39ffeb6c8d181c162a
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Make sure locals are shown (instead of inspector) in Locals and
Expressions when a core dump is loaded.
Change-Id: I434acac59a2c575a2425e2ba06a13020c17547e4
Reviewed-by: hjk <qthjk@ovi.com>
Rename 'Debugging Helper' options pane to 'Locals & Expressions',
and move the two actions for showing/hiding std:: and Qt namespaces
in type name to the page.
Change-Id: If7ec66016b330a4c579597bcc81f1fa5a3eff815
Reviewed-by: hjk <qthjk@ovi.com>
As the adding to the document calls updateTaskLineNumber(), which will
emit a signal. The TaskModel needs to know the task before getting that
signal.
Task-number: QTCREATORBUG-7401
Change-Id: I35deba8696adc14199c6c56e45c414016e094088
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* TaskHub does not pop up itself because it is not a widget.
* popup(true) is never used and may lead to bad user experience.
* use boolean flag goes agains Qt API design guidelines.
Change-Id: Idf28a8d4af66022961d94f1d1cdeeaf155b67c52
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Rename signal connectedStatusChanged() to newStatus(). We're using
newStatus also for the EngineDebugClients.
Change-Id: Ic793b4b74e629b602b9467f3abc8127c9c0174d5
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Since the object tree is fetched lazily, we might have
objects whose debugIds are not known. In such cases,
objects can be fetched by passing the location info.
Change-Id: I2001460cc14401e011efef9be9194c9f7868d617
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Now the debug-file-location will not be replaced, but enhanced when new debug-file-locations are defined.
Change-Id: Ibabcd5814f281e5e378b29abcee1ac646b01cdcd
Reviewed-by: hjk <qthjk@ovi.com>
The profiler tool was assuming that the socket would get
disconnected after the application was stopped by the user.
Sometimes it is not the case. This patch manages the
oposite situation gracefully.
Change-Id: I4ae439bf2ce6caece37e97f735e980d18c446df0
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
In the case that the application did not generate any event
after running the profiler, still show an empty trace.
Otherwise the user will think that the profiler didn't work.
Change-Id: Idd15225270d55d834719f66387864433fcb9026d
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
We used to save the device settings only when the user pressed "Ok" or
"Accept" in the settings widget. Therefore, remembering auto-detected
devices never worked. Now we connect to the saveSettingsRequested()
signal.
Change-Id: I28964ebbc809596963d718bb66d518607174a841
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
These variables are conceptually const and only have to be initialized
once.
Change-Id: I49adaa19909bb132982ae02b389bc43664a8dc9e
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This saves repetitive and annoying checks after every function that can
potentially fail.
Change-Id: Ic8f8a070195a6eff3e7b1d631e5d67e4fe23bad2
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>