Commit Graph

59 Commits

Author SHA1 Message Date
Christian Kandeler
e669f05406 Utils: Introduce HostOsInfo class.
The class' member functions are intended to be used
instead of the Q_OS_* macros in all contexts where
the latter are not syntactically required.
This lowers the likelihood of changes made on one
platform breaking the build on another, e.g. due to
the code model missing symbols in #ifdef'ed out code
when refactoring.

Change-Id: I4a54788591b4c8f8d589b8368a6c683d4155c9fa
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-27 17:00:03 +02:00
Eike Ziller
e0e8cf3ada Contact -> qt-project.org
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-07-19 13:23:21 +02:00
Erik Verbruggen
3fa55b7ab9 Removed module names from #include directives.
Getting the #include directives ready for Qt5. This includes the
new-project wizards.

Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-02-15 16:24:46 +01:00
hjk
2931a499e6 Long live the king!
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-26 19:55:36 +01:00
Morten Johan Sorvig
b0cd54c1ec Replace Q_WS_MAC with Q_OS_MAC.
We want to carry over all mac-specific code paths
to Qt 5. WS_MAC is no longer set; OS_MAC is.

This change is compatible with Qt 4 builds since
OS_MAC is set whenever WS_MAC is. (OS_MAC would
also be set for the theoretical X11/Mac platform,
but that's anyway not a supported configuration
for Creator)

Change-Id: Ib25d8c4e83e7e27d911124cd48aa17fdb875923f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-01-26 11:06:12 +01:00
hjk
31600758de all: s/info@qt.nokia.com/qt-info@nokia.com/
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-11-03 10:33:19 +01:00
Daniel Molkentin
497dd323ea Introduce QML-based welcome screen using desktop components
Implements new XML-based format for examples, demos & tutorials

Done-with: Primrose Mbanefo <ext-primrose.mbanefo@nokia.com>
Change-Id: I42c0afdb419cffe5637cd4f298e828d09e0fb15a
Reviewed-on: http://codereview.qt.nokia.com/840
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-06-29 00:31:47 +02:00
Thorbjørn Lindeijer
9c882d8079 Don't apply base color when color dialog is cancelled
Previously setBaseColor used to refuse setting an invalid color. It
doesn't do this anymore, so let's just check for this case here.

Change-Id: Ie8a292ca809ac3838c8a52b91a9186dc5dbb992c
Reviewed-on: http://codereview.qt.nokia.com/28
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-05-20 08:33:20 +02:00
Tobias Hunger
aa2acec14c Fix/add copyright headers
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
Friedemann Kleint
edb4893547 Header cleanup in src, specify module name. 2011-01-24 12:29:48 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
con
04e32b0049 License headers. 2010-12-17 16:03:42 +01:00
Jens Bache-Wiig
2b742e2528 Fix some layout issues with the sidebar
* Minimum width now depends on translated strings
* Missing margin for target name added

Task-number: QTCREATORBUG-468
2010-04-14 18:01:22 +02:00
Jens Bache-Wiig
0af4d51b7a Fix text alignment issue with rtl mode
Multi-line text is not currently supported with text eliding
and the current beahvior is that it breaks in reverse mode.
I will simply remove the eliding flag for now.
2010-03-29 13:43:12 +02:00
Jens Bache-Wiig
74928d0199 Make disabled icons sharper in sidebar
This overrides the styles default behavior for disabled
icons and simply generates their grayscale equivalent so
they look a bit crisper.
2010-03-23 16:57:41 +01:00
Jens Bache-Wiig
40aa17a2e2 Replace reflection by generated drop shadows in sidebar
The sidebar is a diffuse surface. Hence the reflection
does not really make sense there. Additionally, this
allows us to get more unified spacing and we can apply
the same shadow to system icons.
2010-03-15 17:11:12 +01:00
Jens Bache-Wiig
e9f33fb8d3 Fix examples failing to open
After fixing the sidebar to use delayed update,
code that relied on setCurrentItem could break
since the state was not set asyncronously.
This fixes it by only making mouseClick delayed,
while setCurrentIndex works as before when set
programatically.

Reviewed-by: Lasse Holmstedt
2010-03-08 15:08:44 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Jens Bache-Wiig
93dbb3a5fc Force custom colors within usable range
We previously allowed fully white and yellow colors as the
base color for our interface. This does not work with our
icons or other interface elements. Instead I now constrain
the selectable colors within a certain range of saturation
and brightness. This still leaves the user in control but
will prevent the common case where the user selects an
overly saturated color from the color picker and ends up
with an unusable or extremely ugly panel.
2010-03-03 11:05:25 +01:00
Jens Bache-Wiig
7bd076e4f0 Improve sidebar readability on mac
Slightly increased the font size. Added a bit
more shadow and tweaked the progress bar.
2010-02-26 16:12:59 +01:00
Jens Bache-Wiig
7af1e21144 Improved styling of project target selector 2010-02-24 19:25:44 +01:00
Jens Bache-Wiig
753596f92b Reduced text highlight on selected item
This is a cosmetic fix for the sidebar.
The highlight contrast is too high now that
the background is darker.
2010-02-24 12:06:58 +01:00
Jens Bache-Wiig
7b41c53bb3 Did some modifications to the sidebar
This removes the extra line at the bottom of the window on the mac.
This also decreases the contrast of shadows and highlights a bit.
2010-02-22 18:15:52 +01:00
Erik Verbruggen
7669a36bf0 Fixed compilation issue on Mac. 2010-02-22 17:16:27 +01:00
Jens Bache-Wiig
f331f3322b Mor polish for the sidebar 2010-02-22 14:38:18 +01:00
Jens Bache-Wiig
b90cd35b6f Fix a hover bug with the sidebar 2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
41885a192d Fixed an animation glitch with the sidebar
We need to kill the fadeins before fading out.
Otherwise we might get into weird states.
2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
0dccaf45a2 Updated hover and pressed appearance for sidebar 2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
bd2ba2307b Improve responsiveness of the sidebar
I added a zerotimer to make the sidebar emit
currentChanged only after it has been updated as
pressed.
2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
54b2ab7190 Color tweaks 2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
7899a2733b Animate sidebar tabs independently 2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
915923a17c Clean up sidebar tabs
Killed the divider lines for improved aestetics
Made the hover a bit more subtle
2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
9e079d3a36 Dont draw tab with no index 2010-02-16 16:10:01 +01:00
Jens Bache-Wiig
61ccb1a585 Add api to enable and disable sidebar tabs 2010-02-16 16:09:46 +01:00
Oswald Buddenhagen
75b42f18d8 Merge remote branch 'origin/1.3'
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
a6ca348636 remove trailing whitespace
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
Tobias Hunger
592e494d1a Fix typos
Reviewed-by: thorbjorn
2010-01-11 10:26:13 +01:00
con
d7e04f3b44 Remove output mode.
Replaced by the maximize and "More..." buttons.
Edit mode is now the fallback mode for the output panes.
2009-12-16 16:19:50 +01: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
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
mae
4eda7c27f3 fix mode bar animation regression 2009-07-21 10:43:07 +02:00
con
6a88525aa3 Some more QToolBar changes. 2009-07-16 18:08:41 +02:00
con
db8507c4a0 Extract the styled painting of the find bar to utils widget. 2009-07-15 12:39:31 +02:00
mae
92a0f39fe1 less spacy fancy bar, back to normal. 2009-07-14 11:04:05 +02:00
mae
3f1be148ef a bit more scaling for the action bar. 2009-07-13 18:04:30 +02:00
Alessandro Portale
d3f9757916 Removing some unused semicolons after Q_UNUSED
There were both variants, with and without extra semicolon.
2009-07-13 17:35:17 +02:00
mae
d3df29e26b fake the fancy tab bar. This makes it possible to have a smaller minimum size. 2009-07-13 16:58:44 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00