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>
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>
..by rounding the buttons and adding a theme color role for their background
Change-Id: Icde7bb0be178ffbe65635d336227886ffd902129
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
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>
And adapting darkframe.creatortheme accordingly to match Diana's
specification
Change-Id: I9e1f62869ff91d7cfd3a26f51d26225d549a0965
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
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>
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>
By copying them from default.creatortheme
Change-Id: Ib833f19988276c73eff9c745eaab59d01b6bcad8
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
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>
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>
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>
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>
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>
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>
Adjusting the splitter color and Info Area colors.
Change-Id: Icca320df917cd5df352c19f1be2a204d1250f17b
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
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>
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>
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>
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>
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>
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>
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>
One of my recent changes must have broken the selected background color.
Change-Id: I4ed79b29193bddb4423273f65562d20e54361f9a
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
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>
Use Apple related terminology correctly.
Change-Id: Ib71fa5a080586027b3be8303ba5b7cf8058e669c
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
- Fresh arrow_down, which is used in many places
- Fresh arrow_up and some tweaks in spinbox
- Fresh graphics for "submenu", "expression and "placeholder"
- Fresh graphics for checkbox indicator
- Removed unused hover checkbox variants
- Added pressed state for checkbox_tr
- Removed radius of focus rectangle in the lineedit
Change-Id: I710ec6ac8ebf86c85a155a812e581cca88845ce3
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
We evaluate properties for the root item in dummy context if
they contain "parent.".
Defining a parent in the dummy context was not working for QML 2,
because there seems to be a shortcut bypassing the metasystem for parent.
Task-number: QTCREATORBUG-15530
Change-Id: I710f1ef36b8c97cc481b9909a775f06d9e03f666
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
The dummyContextObject is now set as the context object
Change-Id: I710f1ef36b8c97cc481b9109a775f06d9e03f6b6
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Making the height animation work. Synchronizing height animation and
arrow rotation.
Removing the well meant fading, because gives the impression of a lag
rather than an intended animation.
Change-Id: I97924c715476df72ff903d38277730ca0e02e80d
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
The color role was already availabe in Utils::Theme, but
Utils::Icon didn't yet make use of it. That was a bug.
Change-Id: Ifb99e08567223c0999296fde34f61de21b764b14
Reviewed-by: Orgad Shaneh <orgads@gmail.com>