Commit Graph

158 Commits

Author SHA1 Message Date
Tobias Hunger
8224a907e7 Set newly created runconfiguration active in QML project 2010-02-04 11:54:11 +01:00
Kai Koehne
d5326f37c0 Pass library paths specified in .qmlproject file on to qmlviewer 2010-02-03 09:13:53 +01:00
Tobias Hunger
788b294a30 Make project use toMap/fromMap to save state
* That is what everybody else is using now.

Reviewed-by: dt
2010-02-01 12:23:14 +01:00
Tobias Hunger
4ee223d45d Add a id() method to projects
* This makes it easier to distinguish projects in the
   userfileaccessor
2010-02-01 12:23:14 +01:00
Tobias Hunger
f923a561c3 Make use of ProjectConfiguration in RunConfigurations
Reviewed-by: dt
2010-02-01 12:23:13 +01:00
Kai Koehne
269506c99c Add new JavaScriptFiles & ImageFiles element to .qmlproject file format 2010-01-29 12:15:47 +01:00
Kai Koehne
20801bee30 Update project tree if .qmlproject file / included directories change 2010-01-29 12:13:11 +01:00
Kai Koehne
32ac14c27a Wire up new project file format in Project Manager
Old format is still available as a fallback.
2010-01-29 12:13:11 +01:00
Kai Koehne
c5bc134732 Remove unused dummy method 2010-01-27 13:32:14 +01:00
Erik Verbruggen
96e31c2a0f Started merging the JS and QML editor plug-ins. 2010-01-15 17:20:19 +01:00
Kai Koehne
2e36b9a34a Make sure that the qmlviewer from the binary package is always used
The custom creator-qml installer comes with a qmlviewer installed
in creator/bin. Make sure that this qmlviewer is used to run .qmlproject
files, even though there might be other qmlviewer binaries in the
PATH.
2010-01-12 13:59:35 +01:00
Bea Lam
7fa633259b Merge branch 'master' of scm.dev.nokia.troll.no:creator/mainline 2010-01-12 10:53:20 +10:00
Bea Lam
5a1f825cff Fix bug where the qmlinspector tries to connect to the debug
server before it has started.
2010-01-12 10:50:37 +10:00
Tobias Hunger
b95c86db23 Remove duplicate inclusions of headers
Reviewed-by: thorbjorn
2010-01-11 10:26:12 +01:00
Tobias Hunger
a6ad773722 Make method naming more consistent.
* Use id() for methods returning a string used to represent
    some type of object.
  * Use displayName() for strings that are meant to be user
    visible.
  * Quieten some warnings while touching the files anyway.
  * Move Factories to their products in the plugins where that
    was not done before.

Reviewed-by: dt
2010-01-07 18:17:24 +01:00
Daniel Molkentin
39e4b11277 Fix GCC warnings. 2010-01-04 15:34:38 +01:00
Bea Lam
200a03ed20 Fix QmlInspector to work properly now that QmlProjectManager
no longer uses LocalAppRunConfiguration. QmlInspector now uses
the qmlviewer started by QmlProjectManager instead of starting
its own, and clicking the Start Debug button within a QML
project will switch to QML Inspect mode and start the inspector.
2009-12-18 15:32:36 +10:00
Kai Koehne
7900ec6da2 Enable starting a qmlproject via Debug
This will right now wait for a qmldebugger connection.
2009-12-17 09:54:16 +01:00
Friedemann Kleint
895a3e21f3 Compile Windows. 2009-12-17 08:46:22 +01:00
Kai Koehne
80963107c6 Fix various crashes for QmlProject
QmlProject used LocalApplicationRunCOnfiguration, but didn't provide
e.g. an associated BuildConfiguration. Fix this by implementing it's
own QmlRunControlFactory, QmlRunControl.
2009-12-16 16:40:58 +01:00
dt
a312206306 Move most of the BuildConfiguration specific functions
Note: I didn't fix all the connects and there are a few missing things.
This compiles, more work is coming.
2009-11-30 15:24:31 +01:00
dt
0d162be22f Make BuildSteps one instance per BuildConfiguration
Enables users to change which buildsteps get run per buildconfiguration.
Some further tweaks are probably necessary. This is a rather big
change, though it should work. :)
2009-11-19 16:36:48 +01:00
dt
10a0647ddf Remove QSharedPointer<> for RunConfiguration 2009-11-19 16:35:18 +01:00
Kai Koehne
a44e33ac93 Let one 'reset' the qmlviewer path in the config page by
just emptying it.

Discussed with Nigel.
2009-11-03 14:12:10 +01:00
Kai Koehne
4c85511d55 Search qmlviewer binary also in creator/bin 2009-10-23 11:33:26 +02:00
Erik Verbruggen
fd6e18584a Added fall-back for the QML viewer to first check if there is one bundled with Qt Creator. 2009-10-09 10:39:44 +02:00
Friedemann Kleint
5948e284bb Rename namespace Core::Utils into Utils
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00
Friedemann Kleint
74a3828f19 Purge out include files in exported headers 2009-10-01 16:38:08 +02:00
con
acbd4513e3 Changing string based api to BuildConfiguration based api.
Builds, but I'm pretty sure it doesn't *work* :)
2009-10-01 10:05:05 +02:00
Erik Verbruggen
fcf19f1a1b Renamed the DUI editor to QML editor. 2009-09-30 17:43:21 +02:00
Kai Koehne
e4a3ad2108 Add option to specify qmlviewer command line arguments 2009-09-30 11:37:17 +02:00
Friedemann Kleint
ad294f8467 Project explorer: Make public headers compile with NO_CAST_FROM_ASCII
.. and purge unneeded includes.
2009-09-29 11:39:55 +02:00
Friedemann Kleint
978cf4bda8 Rename IRunConfigurationRunner -> IRunControlFactory...
and ApplicationRunConfiguration to LocalApplicationRunConfiguration,
preparing remote debugging. Change the interface canRun() to be const,
run() to create() (since it does not run anything), use references
to the QSharedPointer<Foo>. Introduce d-Pointer and remove
unneeded headers from ProjectExplorerPlugin and add missing includes
everywhere.
2009-09-25 11:35:44 +02:00
dt
fba7d76936 Canceling the wizard for a new cmake build configuration still created.
Made virtual newBuildConfiguration return a bool
2009-09-23 15:00:02 +02:00
Erik Verbruggen
1b4d1f1fd4 Suppress warning dialog when the QML Viewer executable cannot be found. 2009-09-08 12:43:14 +02:00
Erik Verbruggen
cac5663a4f Modified the QML project to notify the DUI model manager when a file is added to the project. 2009-09-04 17:54:38 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
dt
dbe5a6f34b Rework the project settings.
This has still a few missing things, but this enough to start getting
some feedback. Missing are non qt projects, a solution for the
runconfiguration, a missing black line between the treeview on top and
the project settings at the bottom. Some flickering with removing/adding
widgets to the QScrollArea and not showing the expanded widget if the
Details button is right at the bottom.
2009-08-06 15:31:32 +02:00
dt
54bbcc4a7c Mention possible locations of the debugging helper in the error dialog
Requires a lot of trivial forwarding.
2009-07-15 17:41:45 +02:00
Daniel Molkentin
25b450815a Fix signal signature: Specifying a custom QMLViewer location was broken 2009-07-04 14:07:22 +02:00
dt
e524f52477 Allow restoreSettings() to fail,
E.g. cmake pops up a wizard then, the running of cmake can fail though.
Now you don't end i[ with a empty project then. The error reporting in
that case is not yet optimal.
2009-07-03 16:46:01 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
con
3ddb7b02f1 API review of IRunConfigurationFactory.
Done with dt.
2009-06-12 17:58:13 +02:00
Roberto Raggi
18cba96a19 Dummy implementation of MakeStep. 2009-05-22 12:46:06 +02:00
Roberto Raggi
3612a50d3e Set the working directory 2009-05-12 17:50:48 +02:00
Roberto Raggi
9c2b7235be Check for valid qmlviewer executable. 2009-05-11 17:43:40 +02:00
Roberto Raggi
5b11a292eb Add files to the projects. 2009-05-07 15:43:59 +02:00
Roberto Raggi
b191f15486 Implemented the run configration factory and removed some obsoleted code. 2009-05-07 12:27:52 +02:00
Michael Brasser
35e9c70d5b Use consistent wording. 2009-05-07 14:47:01 +10:00
Roberto Raggi
84b314bfee Introduced Project::hasBuildSettings() 2009-05-06 16:33:43 +02:00