Commit Graph

4354 Commits

Author SHA1 Message Date
Tim Jenssen
217fef2b1b QmlDesigner: fix binding is not working
Change-Id: Ic40eca09f281626428157dd94ed802c846b2f7e9
Task-number: QTCREATORBUG-15942
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-04-06 15:18:11 +00:00
Thomas Hartmann
eb172fbbd4 QmlDesigner: Fix assert
Trying to serialize a QModelIndex using QVariant does assert.
Solution: Ignore properties of type QModelIndex.

Change-Id: Idca5646a472fdfce8761861f5bf889bb73340df7
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-04-06 13:10:04 +00:00
hjk
b7d8d9ba3a Debugger: Add a QBitArray dumper
Task-number: QTCREATORBUG-15974
Change-Id: Iafb0d94f5d780b3165d8bb749429754a5de051e3
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2016-04-06 06:20:04 +00:00
hjk
0408aee321 Debugger: Add dumper for std::valarray
Change-Id: I80d6a11714777d813dc0a6917a4dfa826d013cb9
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2016-04-06 06:18:40 +00:00
hjk
5daeb5da01 Debugger: Fix LLDB operations with XCode 7.3's lldb-350.0.21.3
The output of lldb changed. Adapt our use.

Task-number: QTCREATORBUG-15965
Task-number: QTCREATORBUG-15945
Task-number: QTCREATORBUG-15949
Change-Id: Ic78593c1a7c4ae69ecf23e381cd2f23441b4829b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-04-06 06:08:45 +00:00
Thomas Hartmann
b0af88c0dd Fixing crasing Timer
A "raw" QObject (created instead of the Timer) will crash the engine later. Instead we setup
the QObject using createPrimitive().

Task-number: QTCREATORBUG-15916
Change-Id: I5f0dd9c887fd57d492222d221e54f267e12a5044
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-04-05 11:09:07 +00:00
Robert Loehning
ffac73b952 More contrast between enabled/disabled state of stop icon
Change-Id: I0096535c1cd7de6924046be62c04a4336a013b5a
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-04 14:23:15 +00:00
Alessandro Portale
9647a97c66 Default Flat Theme: Improve toolbar separator color
Make it the same as disabled icons, so that they are clearly different
from enabled icons.

Change-Id: I8b467745a91dc94cbf2db1cb9a83c927d90ce5c1
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-04 07:32:40 +00:00
Christian Stenger
9905eb6f75 Dumper: Fix fileName offset for Qt5.5 on 32bit
Change-Id: Iffd6d70c7d283b932f8946447b27f3e7ba1f5e98
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-03-31 05:29:47 +00:00
Sergey Belyashov
a44f86ed04 Update Russian translation
Change-Id: Idc6cca38846741086f378bcb0df605727fffe8a4
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2016-03-30 16:28:47 +00:00
Tim Jenssen
50b1bf629e QmlDesigner: remove unused code
Change-Id: I00bc1b533f065b87a8d1b46e3296f76bf05b85d4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-03-23 12:13:48 +00:00
Mitch Curtis
bbb0de0553 Dark theme: make "changed variable" text color in watch window readable
It was a pure red, which is really hard to read against a dark
background. This patch makes it a pastel red; the same color as error
messages in the application output, which was implemented in f4a9eaf3.

Change-Id: If013c7215d50c3a75d62031ab19874cfb8545cad
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-03-23 11:55:10 +00:00
hjk
c371166904 Debugger: Fix import of system GDB pretty printer
Task-number: QTCREATORBUG-15923
Change-Id: I9b8d343f39dd34c33eff05c369bbceb7a581c995
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-03-23 08:56:43 +00:00
Orgad Shaneh
05c1d8ef55 Debugger: Provide addresses for formatted pointers
Pointers often don't have an address at all, or have the pointer's
address instaed of the target address.

For example:
int main()
{
  char str[11] = "HelloWorld";
  char *s1 = str; // s1 shows its own address
}

Change-Id: I2436578c073a00a3fec9411ef7ec82ae4e63a8b0
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-03-22 15:56:54 +00:00
Tim Jenssen
3cf5f29719 QmlPuppet: fix Qt 5.5 builds
Change-Id: I520be5d188e637c222ba3e709f072e2881b20db9
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-03-22 13:15:36 +00:00
hjk
db3217af36 Debugger: Make QVariant dumper more robust
Change-Id: Ic9ce15eaf88f8a5267c9e8d3f9d049d9b2035eb1
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-03-21 15:03:03 +00:00
Alessandro Portale
ddde4bdd27 Utils: Improved handling of StyleHelper::baseColor
This change makes sure that the "UI coloring" feature respects the
original brightness of the current theme. It prevents dark themes from
getting a too light recoloring and vice versa.

Extra benefit: this allows to remove much recently introduced code.

Change-Id: Ib2c96e7ed172a4cc97520aa4b5d180cc6353c661
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-03-21 14:23:23 +00:00
Tobias Hunger
adb3a74de9 Wizards: Fix validation of C++ class names
Task-number: QTCREATORBUG-15647
Change-Id: I265a7dbadb2f87e7e44a1770be2af3eb9b9cb53b
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-03-18 16:26:43 +00:00
Alessandro Portale
61b772e0e3 WelcomeScreen: little adjustments for default.creatortheme
..by rounding the buttons and adding a theme color role for their background

Change-Id: Icde7bb0be178ffbe65635d336227886ffd902129
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-03-18 15:40:00 +00:00
Alessandro Portale
a0806dedd5 Rename the "Dark Frame" theme to "Default Flat"
Change-Id: I1d2dc8af94466de29fc1429c82dbbd37bcf7310b
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-03-18 11:18:03 +00:00
Alessandro Portale
748c4ac57f Welcome: Implement part of Diana's design
Removing font variations, colors, roundings and gaps.
And it is now better themable.

The examlpes and tutorial selection still needs to be done.

Change-Id: I520814ba9e8ce4fa1d1ca7ec14329955e8a0609a
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-03-17 16:38:40 +00:00
Alessandro Portale
bc481dc399 Flat theme: Same disabled color all side/tool/status bar icons
And adapting darkframe.creatortheme accordingly to match Diana's
specification

Change-Id: I9e1f62869ff91d7cfd3a26f51d26225d549a0965
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-03-17 11:54:14 +00:00
Christian Stenger
1584328da9 AutoTest: Add some theming support for results pane
Change-Id: I6641dc92d54ea20263656fa77157d7d853cf0287
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-03-17 10:21:26 +00:00
Alessandro Portale
5ab8440e2f ProgressBar: Add a theme color for the background
The progress bar is important and custom enough to deserve its own theme
color for the background. This change adds "ProgressBarBackgroundColor"
and also sets it for dark.cretatortheme, so that it has a good contrast
to ProgressBarColorNormal.

Change-Id: I37731d7a918a862a28940e215c913f9ade8569ca
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-03-17 08:05:08 +00:00
Alessandro Portale
49525a11f4 Flat themes: enable recoloring of the status bar & progress
The flat OutputPaneToggleButton now has the same hover and selected
colors as the sidebar items and toolbar items. This changes the
appearance in the dark theme a bit, and I hope in a good way.

Change-Id: I52826c6d1c4539f799c74580f195a95609ea0416
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-03-16 14:49:13 +00:00
Alessandro Portale
b07e5eaf65 ProgressBar: Make it really flat for flat themes
Change-Id: I3964492e4b07dcba594d5bebc1b74d9458578e88
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-03-16 11:29:23 +00:00
Alessandro Portale
0f066bd3d9 "Dark frame theme": Fix some colors
By copying them from default.creatortheme

Change-Id: Ib833f19988276c73eff9c745eaab59d01b6bcad8
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-03-14 17:39:32 +00:00
Tobias Hunger
c003cb946e QtC Plugin Wizard: Use #pragma once
No need to discuss individual header guards that way;-)

And that is what we want to use in Qt Creator now anyway.

Change-Id: Idb2d7a34ea3c5d99c18c696eaed4023c12c01930
Task-number: QTCREATORBUG-15861
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-03-14 15:17:44 +00:00
Alessandro Portale
04a68518c9 Themes: Make theming of the menu bar optional
Inspired by numerous user feedback, I want to turn off the theming of
the menu bar for the new flat theme, and make it look like in the
default theme. At the same time, I want to leave the "dark" theme as it
currently is.

This patch adds a theme flag FlatMenuBar and turns it off for the new
theme.

Change-Id: I9bba056a27fab7a634b45324e3fe8cd26f50df74
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-03-14 11:00:44 +00:00
Orgad Shaneh
58654c134e GenericHighlighter: Update from latest KTextEditor source
Change-Id: I84b783df1eaca9e162e50f23e1da8fa0afa9666d
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2016-03-14 08:34:33 +00:00
Alessandro Portale
5a031f5bbe "Dark Frame" theme: Highlight the active empty document
The current active and empty document should be highlighted. That was
broken with the "Dark Frame" theme.

Change-Id: I0632f654c146492b7e7a9d61db31e2d85c3d52fd
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-03-13 01:11:37 +00:00
Alessandro Portale
a0fbfd3bd4 Themes: Make toolbar highlights optional
Following Diana's flat style motto "remove unnecessary lines", this
patch makes highlights and shadows in the toolbars optional, and removes
them for the new flat theme.

"default" and "dark" are not affected by this change.

Change-Id: Iadbbaa669e318406a154fed3e07890fd40f5f621
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-03-12 22:38:41 +00:00
Alessandro Portale
b6d05436fb "Dark Frame" theme: do not force the use of fusion style
Unlike the "dark" theme, thia theme does not try to modify
the standard widgets and dialogs.

Change-Id: If85f1bc90113516750c546cbec74cd1f562683eb
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-03-12 21:56:16 +00:00
Alessandro Portale
ea01867297 Themes: Add a theme flag for "default" or "flat" ProjectsMode
I'd like a "flat" style to have a "default" projects mode.
This patch introduces a FlatProjectsMode. The painting code of the
widgets in the project mode follow that instead of the
Theme::WidgetStyle.

In the course of it, DoubleTabWidget does not imitate the dummy toolbar
anymore, but calls the style painting code, instead. That makes the
theme color DoubleTabWidget1stEmptyAreaBackgroundColor obsolete, so that
key disappears from the Theme enum and also from the creatorthemes.

Change-Id: Ia1479c761f61753d6738a43bbde368bf0b8814b2
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-03-07 08:47:37 +00:00
Alessandro Portale
19bb4be20c "Dark Frame" Theme: Tweaks
Adjusting the splitter color and Info Area colors.

Change-Id: Icca320df917cd5df352c19f1be2a204d1250f17b
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-03-04 16:18:51 +00:00
Alessandro Portale
ef1106a27f Revert "Gathering feedback about flat mode icons"
Feedback gathered, thank you for the patience.

This reverts commit 9e9bae54c7c456584e26b3ca61cdadd3da25726c.

Change-Id: If5be24e9f97f172d9e6f170d80b2747cf3e9dc04
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-03-04 08:39:35 +00:00
Eike Ziller
ec3505a663 Merge "Merge remote-tracking branch 'origin/3.6' into 4.0" into 4.0 2016-03-03 15:22:16 +00:00
Eike Ziller
f4e87a7e0c Merge remote-tracking branch 'origin/3.6' into 4.0
Conflicts:
	src/plugins/projectexplorer/applicationlauncher.cpp
	src/plugins/projectexplorer/applicationlauncher.h
	src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp
	src/plugins/qmlprofiler/qmlprofilertool.cpp
	src/plugins/qtsupport/uicodemodelsupport.cpp
	src/plugins/qtsupport/uicodemodelsupport.h

Change-Id: I6f6ae77422d99f4f422b108ade6b64273df9dd57
2016-03-03 16:10:04 +01:00
Alessandro Portale
9bde122764 default.creatortheme: add dummy FancyToolBarSeparatorColor
Change-Id: I1d7a27bf7fb749e9b13f17584e1b57db0ea0acbd
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-03-03 14:50:38 +00:00
Alessandro Portale
b0c8a68aba Flat Theme: Final touches for tool bar separators
To properly support Diana's design, we need a dedicated theme color for
the separator. Also, the vertical separators have a certain margin.

Change-Id: I4d009342a9320848ec97f5c2d324bfb672650101
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-03-03 12:19:53 +00:00
Eike Ziller
a6d43e317b Translations: Fix some wrong contexts in ts files.
We often have includes relative to e.g. <qtcreator>/src/plugins, so we
need to pass these to lupdate as well to make it find headers there.

Task-number: QTCREATORBUG-8945
Change-Id: I1d44c90b9a5f6da742666fe3dcd0fc83b1c527f8
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2016-03-02 14:13:05 +00:00
Eike Ziller
8da98c44f1 Merge remote-tracking branch 'origin/master' into 4.0
Change-Id: Iab01658c329f3bf57077595d54be6ed73f11f715
2016-03-02 09:18:06 +01:00
Alessandro Portale
c43c0163a5 Add the "Dark frame" Qt Creator theme
http://blog.qt.io/blog/2015/02/09/qt-creator-flat-style-ui-design-new-light-theme/
defines a dark and a light theme. We start by implementing the dark one.

"Dark frame" stands for dark toolbar areas and light content areas.
The name is silly, and we need to find a proper one before the release
(we will most likely keep the silly name, though).

Since the existing "dark" theme is much darker and has a dark content
area, we don't want to simply replace that.

Change-Id: If2197c4a07ae1e374be4449b6ed0383cdbe314b3
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-03-01 18:28:50 +00:00
Alessandro Portale
7ef8ba082d Application wizard for Qt.labs.control based applications
Let's make it easier to create applications with Qt labs controls. This
creates a tabbed navigation style. We can add options to the wizard to
create drill-down and other common navigation styles. Also an option
for the controls style (material, universal, etc.). And perhaps a
checkbox to include the virtual keyboard.

Change-Id: I9672ab12aa616e7ce08e90eb244fad525e5ab2b2
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-03-01 17:39:46 +00:00
Alessandro Portale
c2dfd0f53b Update Canvas3D application wizard to Qt 5.7 level
Upgraded r74 three.js port, which is compatible with Qt 5.6 and Qt 5.7.

Some three.js features require Canvas3D 1.1 API,
so increased the import version in the template.

Change-Id: I1ae37237073d4149f56c1d93579b20a576496e33
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-03-01 12:24:51 +00:00
Tobias Hunger
78074999f6 PNGs: Remove sRGB chunk
libPNG does nag about broken/useless sRGB headers on the console for a
while now. Remove them from our PNGs to stop that text from appearing
in the console on startup.

Change-Id: I2f49f892397bf9d4498ac39210fd6d1d4f29269e
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-02-29 13:28:51 +00:00
Alessandro Portale
2f735a126e Dark theme: Fix selected sidebar button background
One of my recent changes must have broken the selected background color.

Change-Id: I4ed79b29193bddb4423273f65562d20e54361f9a
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-02-26 13:22:12 +00:00
Alessandro Portale
d36716ae14 Themes: Fix UI recoloring for flat themes
Reduce the usage of half-transparent colors to just the Fancy* widgets.
Otherwise, we have side effects like QTCREATORBUG-15770 in other
widgets (e.g. search results pane).

Change-Id: I0e2b0155441c4f1a071bd3c1029577accb73d56b
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-02-26 11:54:13 +00:00
Robert Loehning
ca4548001d Improve German translation
Change-Id: I46e0c7f3b047d55db1fa2abe54c701c208de50ba
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-02-24 18:51:53 +00:00
Alessandro Portale
02af5d80b6 Themes: Enable UI recoloring for flat themes
Change-Id: I1907c42a769124b7505bd7afaf6c4da910f3f407
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-02-18 11:37:28 +00:00