Commit Graph

154 Commits

Author SHA1 Message Date
con
2e0fa4fc84 Remove the "make active" links from build and run settings.
Show the state in the combo boxes instead.
2010-02-01 15:13:38 +01:00
Tobias Hunger
16a7d5daa2 Make use of ProjectConfiguration in the BuildConfigurations
* Make use of the ProjectConfiguration base class in the
   BuildConfigurations and update the factories accordingly.

Reviewed-by: dt
2010-02-01 12:23:13 +01:00
con
cfd998490b New project mode layout, first part. 2010-01-22 15:34:01 +01:00
dt
9c4c7248cc Update on BuildConfiguration::displayNameChanged()
On the project page
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
c05c1ceb76 Rename method in buildsettingspropertiespage.
* Init is really setting up the UI, so rename it to setupUi.

Reviewed-by: dt
2009-12-07 15:17:37 +01:00
Tobias Hunger
74b0ee3f3c Move "make active" label to proper location.
* It was missing its margin.

Reviewed-by: Roberto Raggi
2009-12-01 15:11:17 +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
a741261f10 Fist set the display name then addBuildConfiguration on clone 2009-11-30 15:24:33 +01:00
dt
87e642a4b6 Fix bugs introduced by refactoring 2009-11-30 15:24:32 +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
7904544b84 Remove BuildConfiguration::name()
The pointers can be used to distinguish BuildConfigurations
2009-11-30 15:24:31 +01:00
dt
ae633c1956 Add BuildConfiguration classes
Each project has it's own BuildConfiguarion * classes, they'll get a
decent type safe interface and the setValue/value stuff will be removed.
2009-11-30 15:24:31 +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
dt
30a796d4e8 Fixes crashes 2009-11-04 19:41:37 +01:00
dt
171899d719 Add a Make this Buildconfiguration active label 2009-10-29 15:57:34 +01:00
dt
7560467523 Fix handling of spacers on Projects pane 2009-10-08 20:09:40 +02:00
dt
c91af1bc10 Remove debugging output 2009-10-08 20:04:21 +02:00
dt
a3141e9d74 Fix crash on cloning and removing buildconfigurations 2009-10-08 20:01:07 +02:00
Roberto Raggi
6ccc08fb40 Restore the state of QObject::blockSignals() 2009-10-05 12:45:14 +02:00
dt
a97dcb53d1 Tweaks to the project page. 2009-10-01 14:25:27 +02:00
con
5f9cb8fe14 Results of review. 2009-10-01 10:05:06 +02:00
con
92b905a6f2 Build configuration factory now adds configurations directly.
It's easier this way for the unique naming.
2009-10-01 10:05:06 +02:00
con
fe313a9023 Configuration types for each Qt Version. 2009-10-01 10:05:06 +02:00
con
9b8503b0cd Fill the "Add" build configuration menu with values from factory.
Default creation type implementation are still missing for cmake and
generic projects.
2009-10-01 10:05:06 +02:00
con
a16806353a Remove string identifier from setDisplayNameFor and setUserEnvChanges. 2009-10-01 10:05:06 +02:00
con
382750c8a3 Remove Project::(set)Value(buildconfig, ...) methods.
Instead use the BuildConfiguration class methods directly.
2009-10-01 10:05:06 +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
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
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
ee35a0cf48 Build Configuration Combobx on project page not adjusting to contents. 2009-09-14 14:31:13 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Sergey Belyashov
2c9f0e2d91 Added possibility to translate "Add" and "Remove" buttons and "Clear system environment" checkbox in build settings of project.
Merge-request: 1141
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2009-08-07 11:07:41 +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
con
60deb636ad Nicer content margins. 2009-07-22 18:18:12 +02:00
dt
7c57f260c1 Fix crash on adding or deleting buildconfigurations. 2009-07-20 12:51:53 +02:00
dt
269fe7f182 New build and run settings ui.
Not finished 100%
2009-07-17 17:25:43 +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
Roberto Raggi
84b314bfee Introduced Project::hasBuildSettings() 2009-05-06 16:33:43 +02: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
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
hjk
342caa2141 some more whitespace changes 2008-12-09 11:07:24 +01:00