We use z instead of visible, because visible triggered issues
in the layout engine. I use both for now. It seems to
work with recent Qt versions.
Change-Id: I74fc1eac6d8443a85683c208ccf99b5d3f0eee09
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
The color of the combobox was not defined by the theme.
Change-Id: Iae9487f6c80e07c0c7b0155db79d9125c082c33f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
The text field for bindings was not properly themed, yet.
We also use general Qt Creator icons for apply and cancel.
Change-Id: I45f1220540a6eaeff05be0b99d8b70b64ca67af4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
The highlight for changed properties was broken for combo boxes.
Change-Id: Iaf345f2c4b0a246588a58b970cb7927004a73774
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
There is no reason to hardcode the mapping from theming color roles
to QPalette roles, since such a mapping can be easily defined in the
theme itself.
I added optional color roles for each QPalette role.
Themes that do not change the palette do not have to take care at
all and themes that change the palette define only the QPalette roles
they require.
Change-Id: Id195052c96117b7a1a8d7d7d6acacd44e66e22f3
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
Make QMeta* dumper work without debug info.
Show QObject parent and children list in this case.
QObject properties are not visible, and neither actual type
of QObject children.
Change-Id: I05417a7d78084234403a964f683db6867b6686f0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
At least LLDB reports sometimes out of scope variables as such.
Report them as "out of scope" instead of letting the common
struct dumper fail and report its generic "not available".
Change-Id: Ic9d0d196894ef811fab8e6a586bf55d80cd02e45
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The idea that these spinboxes should be a mashup
with a slider was never completely implented.
Change-Id: I049f0db595fcce0fb59fad550ceb1a4ca2b415bb
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
The progress indicator does not have enough on the progress bar
background. This change increases the visibility by making the
background brighter, and conforms the success green with the run green
and error red with the stop red.
Task-number: QTCREATORBUG-16634
Change-Id: Icb1e5744b0ad59e9a11d35e6e8f8048326404cbd
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
The progress indicator does not have enough on the progress bar
background. This change increases the visibility by making the
background brighter.
Task-number: QTCREATORBUG-16634
Change-Id: I35562e794e8787b6fa6016ceadafc91ce3906d5a
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
The yellow navigation icons on gray background do not have enough
contrast. Yellow is simply too bright.
In fact, Diana specified blue as color for these icons. This change
turns thesem blue.
Task-number: QTCREATORBUG-16634
Change-Id: I4073da893486c11d4c3ba1da0b7ed3346c2bc4fc
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
We need a new Theme flag for that. And it will initially only be set for
the flat light theme.
Task-number: QTCREATORBUG-16633
Change-Id: Id723e128364eb6186fe8e28e2087a3698b1bf632
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Make comments lighter
* Add background to disabled code
* Use the same "Value" for red and green shades in diff.
Change-Id: I075974098d8a88b21864483accabeba38b3b6063
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This is a new dark theme for syntax highlighting,
that works well with the new dark theme.
Change-Id: I10df9cd2f9925687d30f6f621e252459c30e12f8
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Chicken out for now after latest internal structure changes.
Change-Id: I66e283e52f9b51a51065520ecd3eb07b15e82fc2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Use solarized yellow and red for warnings and errors.
Change-Id: I5164b1184e397eaaca68e06db74b43f6e59edfdd
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
These color schemes are based on the Solarized color schemes, originally
created by Ethan Schoonover:
http://ethanschoonover.com/solarized/
Change-Id: I75848608f59bbb32a78520e7b1a1a2554f2eca44
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This allows us to easily add scxml files to a qmake project.
Change-Id: I2b5b21683f3e76062e6858fb8d0bceaa699a5569
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
With this patch the Qt Quick Designer supports:
*Flat
*Flat Dark
*Flat Light
*Classic
I did not test the dark style.
I added a template engine for the .css files. The syntax for the .css
files
is identical to the QML syntax.
Known issues:
* The icons in the property editor do not play well with the
Flat Light style. We have to get proper Core:Icon support for the
icons
and most icons have to be simplified/flattened to fit the new style/
theme.
* Some colors in the connection editor are still dark and hardcoded. But
this looks ok together with all themes.
* The highlight colors are not taken from the theme, yet.
Change-Id: I94f2b75f92db8e131c2b15867dbabe9ae4b2f25a
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
The StatesEditorIconProvider provides the proper icons
from ICore:Icon.
This icon provider should be generally available in the future.
For High DPI support we need hardcoded image sizes.
Change-Id: I323c07501664b8038c8777998901a28554c568f0
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
the logic to retrigger the namespace retrieval was broken, so if it was
triggered for some reason before qt was "sufficiently available", the
bad/failed guess would persist.
Change-Id: I90e02247142814bdc3f6d5cddfc0c2fe37665a3e
Done-with: hjk
Reviewed-by: hjk <hjk@theqtcompany.com>
The "magic" -2 keeps the margins symmetric.
The states editor now nearly looks like the blog post proposal.
Only the highlight color is different, but already comes from the
theming engine.
Change-Id: Ibae5a3f19a7b07063ea44933498c24519bd34e94
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
I never ever needed that feature and the functionality is
missing/incomplete.
Setting all anchor combinations for the left/right/top/bottom
anchors should be enough.
Change-Id: I2c1a165ff7ef0ecc666640aeba7e86166c90aa25
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This allows to show more items in the library.
While we get more and more components it is important
that we can show the increasing amount of items properly.
Change-Id: Ifc5db011b65b7accf96af5192ce2702b6f112da6
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Small addition which should have been part of
8588cf268f
Change-Id: Iddc91e1ec98a944b2d44f615140025693cfc0fd0
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
(cherry picked from commit 835ab0c44f)
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
QML does not accept absolute paths (e.g. C:\working\something\) as urls.
We need the file:/// prefix.
Change-Id: I9df74cd9c0e730fba056af971751f8eb88cdb536
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
We have to set currentIndex to -1 if the url is not in the model.
Task-number: QTCREATORBUG-16494
Change-Id: I031a4f99d83b35ea1c0b805194b6aa42338f6509
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Initially this adds basic gtest testing - to be improved later on.
Change-Id: I2121cd24493a8d65c5acd0be5c9dd5858702645d
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>