dt
55856dd100
Fix crash after unloading project and changing qt versions
...
Unloading a project must always remove the configuration widgets, since
otherwise they might be accessed after the project was deleted. So
remove them even if we have no other project widget to show.
Reviewed-By: Tobias Hunger
2010-08-26 18:48:05 +02:00
Friedemann Kleint
e8c0d0c162
Yet another include purging spree.
2010-07-13 16:36:37 +02:00
Tobias Hunger
443d5d3dc6
Make sure to initialize a variable
...
... otherwise the ASSERT will not trigger when it should.
2010-06-18 13:34:35 +02:00
dt
070f4df485
No need for special margin treatmeant anymore
...
Remove unneded code.
2010-05-25 13:48:10 +02:00
con
ca14299790
Rename IPlugin::shutdown --> IPlugin::aboutToShutdown
...
Discussed-with: hjk
2010-04-28 17:32:01 +02:00
dt
94d6b23da1
Fix crash if the startup project changes to 0
2010-03-26 11:01:47 +01:00
dt
70dc75990f
Simplfy code dealing with the projects page
...
Distinguish between pages that are target specific and project specific.
Do the magic hierarchy reduction if only one target is supported just in
the projectwindow. Treat the targets page specially.
Reviewed-By: hunger
2010-03-25 18:02:14 +01:00
dt
184fd353d2
Synchronize startup project and current project on projects mode
2010-03-25 17:37:23 +01:00
dt
0d4fdd291a
Use a type enum instead of duplicating functions between build and clean
...
That is e.g. buildSteps() and cleanSteps() --> steps(type)
2010-03-16 17:45:08 +01:00
Tobias Hunger
dceda9db70
Refresh ProjectMode when supported targets change
...
Reviewed-by: con
2010-03-15 13:55:11 +01:00
Jens Bache-Wiig
1ed2874b4c
Remove redundant projects label
...
As discussed with nigel, this label doesnt really make sense.
It is confusing because you might thing you should click it
and tab widgets do not usually require labels to indicate that
you should press them.
2010-03-12 12:12:31 +01:00
Jens Bache-Wiig
42ebc6b0f2
Redesigned the project settings page
...
I redesigned the gradient boxes for a
more subtle an professional look.
2010-03-11 10:56:20 +01:00
Jens Bache-Wiig
f593b0d685
Polish for the build page
...
I added a sidebar as suggested in the ergosign
screenshots. It is required to balance things.
2010-03-11 10:56:19 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Tobias Hunger
c47b3812e4
Sort projects alphabetically in projects mode
...
Reviewed-by: con
2010-03-05 10:40:24 +01:00
con
cab971ae61
Project settings icons.
2010-02-23 17:00:50 +01:00
Tobias Hunger
d8016ef8aa
Disable Project Mode if no projects are loaded
2010-02-22 18:07:21 +01:00
Tobias Hunger
d1bdfcc363
Integrate target support
...
* Ease cross device development by introducing 'targets' which
group build- and runsettings that are valid for this one target
Most of the kudos for the code review go to dt. Con, thorbjorn,
ckandler and others did also review parts of this patch.
Reviewed-by: dt
2010-02-09 16:57:37 +01:00
con
cfd998490b
New project mode layout, first part.
2010-01-22 15:34:01 +01:00
dt
28aa2d54f5
change RunConfiguration::addedRunConfiguration() removedRunConfiguration()
...
To simply transmit the RunConfiguration
Reviewed-By: Tobias Hunger
2010-01-20 18:21:10 +01:00
dt
bfb06191bf
Propageate BC::displayNameChanged() to BuildConfigurationComboBox
...
Fixes one of the missing updates. More to come.
2010-01-08 13:47:51 +01:00
dt
52d07a9b57
BuildConfigurations know their project, these signals can be simpler
2010-01-08 13:47:51 +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
Tobias Hunger
c311ab0a4f
Reduce flickering in project mode
...
* Remove one layer of layout.
Reviewed-by: dt
2009-12-09 13:01:09 +01:00
Tobias Hunger
50bd482496
Set width of projects mode to 900px.
...
We are targetting nothing below netbooks. These devices have screens
that usually are 1024px wide (or wider), so this increase should be OK
there.
The 100px bonus do help a bit when editing environment variables, etc.
Reviewed-by: dt
2009-12-07 15:24:57 +01:00
dt
fe71ca8a55
Fix connect
2009-12-07 15:00:17 +01:00
dt
57ba6b09fc
Fix active configuration combobox
2009-12-02 17:51:57 +01:00
Tobias Hunger
b583c3d4ed
Fix connect that got broken during rebase.
...
* Fix two connects I broke earlier while doing a rebase.
Reviewed-by: Roberto Raggi
2009-12-01 15:11:40 +01:00
Tobias Hunger
7ebf60dce2
ProjectWindow update
...
* Indent widgets using contentsmargins. That way the individual
widgets can override this.
* Remove spme spacers in favour of yet more contents margins.
* Remove unused headers and forward declarations.
* Define some constants for spacings we might want to tweak later on.
Reviewed-by: dt
2009-12-01 13:45:19 +01:00
dt
675e0b2e52
Disable connects that currently don't work
2009-11-30 15:24:32 +01:00
dt
7904544b84
Remove BuildConfiguration::name()
...
The pointers can be used to distinguish BuildConfigurations
2009-11-30 15:24:31 +01:00
Tobias Hunger
a37592a16f
Update project mode page.
...
* Change layout of project mode page.
Reviewed-By: dt
2009-11-25 16:02:47 +01:00
Tobias Hunger
426890b790
Change PropertiesPanel interface.
...
* Rename it to IPropertiesPanel in accordance with new naming standards.
* Do not derive from Context. That is not needed.
* Add an icon() method.
* Fix all usages of this interface.
Reviewed-By: dt
2009-11-25 16:02:47 +01:00
Tobias Hunger
fbcd670854
Improve memory management in project window.
...
* Panel struct does no longer take ownership of its widget.
* Panels consitently delete their widget in their destructor.
Reviewed-By: dt
2009-11-25 15:18:51 +01:00
Tobias Hunger
97ad692684
Move line drawing class to the top of the file.
...
* This way it becomes available to all classes in this file.
Reviewed-By: dt
2009-11-25 15:12:34 +01:00
dt
0fa60aa3d8
Use QFlags<> for QmakeBuildConfig that removes a few casts.
2009-11-19 16:35:19 +01:00
dt
0d648636fa
The code never did anything anyway, also the disconnect is not necessary
...
Since the runconfiguration gets deleted anyway.
2009-11-19 16:35:19 +01:00
dt
10a0647ddf
Remove QSharedPointer<> for RunConfiguration
2009-11-19 16:35:18 +01:00
dt
83016e47fe
Fix leaking PropertiesPanels
2009-11-04 19:32:49 +01:00
dt
a562a379e2
Show a no project loaded on the project pane if no project is loaded
...
Could be even nicer, but this works for now.
2009-10-07 15:46:07 +02:00
dt
b76d643cc6
Tweaks to the project pane.
...
(cherry picked from commit e187cb40fd )
2009-10-05 16:12:21 +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
dt
a97dcb53d1
Tweaks to the project page.
2009-10-01 14:25:27 +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
con
30362e1050
Remove the build config display name method from Project
2009-10-01 10:05:05 +02:00
dt
3d62363fee
Small tweaks to the project page again, based on mae's feedback.
...
Feedback welcome, some of them are not necessarily better. Some things
aren't solved.
2009-09-29 18:06:13 +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
dt
a46c18ba41
Set margin to zero everywhere on the project pane.
...
Makes the project pane look nicer.
2009-09-23 17:16:09 +02:00
dt
6aeb09a064
Remove some left over debugging output.
2009-09-23 15:09:19 +02:00
dt
834c2b4679
Small tweaks to the project pane
2009-09-17 16:10:45 +02:00