Commit Graph

68 Commits

Author SHA1 Message Date
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
dt
b7bfe7a7c3 Remove debug output 2009-09-17 14:25:33 +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
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +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
8c5023b36c Add the missing black line. 2009-08-06 17:30:49 +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
5c8566709d Break a infinite loop.
Removing the last project did set startupproject to zero and unloaded
the project. Thus the check that the project for the current item and
the startup project are both null and the same.
2009-07-27 15:22:16 +02:00
dt
096a821c2d Make the logic easier to understand for setting the startup project
On the Project Mode. Might fix a bug hjk found, which i can't reproduce.
2009-07-27 14:17:00 +02:00
con
a9f81ab352 Give project settings a maximum width.
To avoid neverending line edits, make it look more compact.
2009-07-22 18:18:12 +02:00
dt
269fe7f182 New build and run settings ui.
Not finished 100%
2009-07-17 17:25:43 +02:00
con
6a88525aa3 Some more QToolBar changes. 2009-07-16 18:08:41 +02:00
Thorbjørn Lindeijer
abee2e0b0d Made it possible to make Qt Creator smaller, based on scroll areas
Scroll areas were added to the welcome mode and the project mode, to
make sure they don't limit how small Qt Creator can be made.

Done with mae
2009-07-10 14:55:54 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
dt
2eacd1b731 Fix crash in the project mode.
Reviewed-By: con
2009-06-08 19:13:46 +02:00