Commit Graph

100 Commits

Author SHA1 Message Date
Leena Miettinen
cf233161fa Doc - UI - Fix UI text capitalization to follow the KDE Style Guide rules.
Reviewed-by: ossi
2010-05-14 15:53:56 +02:00
Jens Bache-Wiig
344b4b3887 Make the toolboxes in Projects Mode nicer
I did a couple of changes to make these more subtle.
- Moved inside the details widget
- Made them fade in and out
- Hide up/down buttons when not required

Note, there are some pending changes to Qt to disable
the graphicsevent cache that can cause issues when
scrolling items.

Reviewed-by: thorbjorn
2010-05-07 12:33:48 +02:00
dt
551114de27 Prevent removing buildsteps if the buildsteps are queued for building.
Task-Nr: QTCREATORBUG-1044
2010-04-13 16:38:11 +02: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
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +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
255348643e Remove the summary part from the most commonly used project configuration pages.
Reviewed-by: dt
2010-02-01 18:34:46 +01:00
Friedemann Kleint
f672bff338 Fix some code scanning issues.
foreach()-Loops.
2010-02-01 14:00:07 +01:00
Tobias Hunger
1726688434 Make use of ProjectConfiguration class in BuildSteps
* Use new BuildSteps interface (as seen in ProjectConfiguration).
 * Use new factory to construct/clone/restore them.

Reviewed-by: dt
2010-02-01 12:23:12 +01:00
con
e2400f5788 Use same button type (QToolButton) for all build step buttons.
Makes it look a bit less bad on Mac
2010-01-21 13:47:10 +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
7ed7684b53 Show/hide the no build steps label as appropriate
Reviewed-by: dt
2009-12-07 15:23:32 +01:00
Tobias Hunger
c4d1274273 Update build steps related panels
* Merge BuildSettingsWidget and BuildSettingsSubWidgets. I don't
   see much need for this separation and it makes the indention harder
   to do.
 * Override contentsmargins set by the ProjectsWindow.
   This enables the toolwidget to be displayed properly.
 * Add a remove button to the toolwidget of the buildsteps. Remove the
   global one.
 * Simplify code a bit by using QSignalMapper instead of mapping signals
   manually.

Reviewed-by: dt
2009-12-01 13:45:20 +01:00
dt
9119853283 Make setDisplayName easier and break displayName signals
Fix for that will come later
2009-11-30 15:24:32 +01:00
dt
0e4e35f876 Rename method to the more correct canCreateForBuildConfiguration 2009-11-30 15:24:31 +01:00
dt
a7a7e4d002 Change IBuildStepFactory::canCreate to take a BuildConfiguration
instead of a Project. Since BuildSteps "should" only care about the
BuildConfiguration not the Project. (Not 100% doable, but still.)
2009-11-30 15:24:31 +01:00
dt
7904544b84 Remove BuildConfiguration::name()
The pointers can be used to distinguish BuildConfigurations
2009-11-30 15:24:31 +01:00
dt
60a1ee12ba Remove project() from BuildStep
The project() should in most cases not matter, instead the
BuildConfiguration should. This shows all the information that needs to
move into the BuildConfiguration classes.
2009-11-30 15:24:31 +01:00
dt
4ef64b8dc6 Fix No Buils Steps label hiding/showing, remove button en/disable 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
e187cb40fd Tweaks to the project pane. 2009-10-05 15:27:55 +02:00
dt
a97dcb53d1 Tweaks to the project page. 2009-10-01 14:25:27 +02:00
con
698d7a2ad6 Fix build. 2009-09-30 10:49:56 +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
65648ee17a The project pane rewrite version 2.
This splits up the edit and active settings. Let people try it and
report usability problems. I'm not 100% convinced of the layout either.
2009-09-17 13:59:10 +02:00
dt
599c369a1b Change from "Add/Remove Build Steps" to "Add/Remove Clean Steps"
In the Clean Steps section
2009-09-14 14:31:13 +02:00
con
ffdf11d5ac Try to beautify the project settings page a bit on Mac. 2009-08-20 20:05:12 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
dt
45c358e888 Fixes: Correctly disable buttons for moving build steps after
add/remove.
2009-08-11 18:10:00 +02:00
dt
1aa05ae5e3 Fix flickering in the project pane.
This isn't a nice fix but the least evil version of a hack i could come
up. The source of the flickering is: We have a deeply nested structure
of widgets on the project pane. If we call hide() on such a deeply
nested widget, it will activate() it's parent layout synchronously.
That will then post an event (via updateGeometries() ) to its parent
layout that it needs relayouting. Which then will post to its parent
layout the same. And for each LayoutRequested, there's a painting in
between. The fix instead calls activate() up the chain until we are at
the viewport. This immediately relayouts everything. This adds a non
obvoius potentially for breakeage if the widgets are embedded in a
different widget hierarchy. But well, that's life.
2009-08-11 16:42:04 +02:00
dt
5146d23169 Debugging output 2009-08-06 16:17:04 +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
7335c28106 Fix a crash after removing all buildsteps. 2009-07-27 18:29:54 +02:00
con
2010565d2d Tweak the build steps ui. 2009-07-22 18:18:12 +02:00
dt
daaf652fcd Add a way to configure what cleaning does.
Task-Nr: 235965
2009-06-23 11:16:43 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Thorbjørn Lindeijer
4e16705a27 Added changeEvent calls where appropriate
Need to call into the superclass in order not to lose functionality. Was
missing in the wizard, hence the many missing occurrences.

Reviewed-by: Friedemann Kleint
2009-03-17 18:25:44 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
Thorbjørn Lindeijer
6c1e557d70 Changed coreplugin resource prefix to "/core"
It still read "/qworkbench", the research project name for Qt Creator.

Reviewed-by: con
2009-01-12 15:23:22 +01:00
dt
d402ed2955 Fixes: Replace QTC_ASSERT with QT_ASSERT. 2008-12-17 15:51:48 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
hjk
4a552ead9f use QTC_ASSERT instead of Q_ASSERT 2008-12-09 15:25:01 +01:00
hjk
342caa2141 some more whitespace changes 2008-12-09 11:07:24 +01:00
dt
168721946b Fixes: Fix crash if the project has no build steps. 2008-12-02 17:59:38 +01:00
hjk
cf11b69643 more code cosmetics 2008-12-02 16:19:05 +01:00
hjk
ab83dcd87c off-by-one in headers 2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3 end-of-line whitespace correction of the new headers 2008-12-02 14:17:16 +01:00
Friedemann Kleint
e2fb40c763 Fixes: Compiler warnings 2008-12-02 12:21:14 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00