- 15 May, 2015 1 commit
-
-
Eike Ziller authored
Sort of introduced by recent form layout fix for OS X. Add the missing break statements. Change-Id: I0862c34f31e4afc7d1834fa436c6193345205b9b Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
- 08 May, 2015 1 commit
-
-
Eike Ziller authored
That was used during the times where OS X still had alternating row colors in item views. Change-Id: I6622604502a768c4abeb42f25bcfea5c65f66395 Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
- 07 May, 2015 1 commit
-
-
Eike Ziller authored
The default in QMacStyle, to use FieldsStayAtSizeHint, just almost always is the wrong thing to do. Additionally this goes undetected for a while most of the time, because most people do not run their code on OS X. Override it globally to AllNonFixedFieldsGrow like in other shipped styles. Task-number: QTCREATORBUG-14337 Change-Id: I3b0719c0201871fbf0163b54b1a54823bf5d14f3 Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
- 30 Mar, 2015 1 commit
-
-
Thorben Kroeger authored
In the dark theme (fusion style under linux), disabled menu items looked bad due to (1) SH_EtchDisabledText being enabled and (2) a bright color for the etch effect. This patch adds color values for normal and disabled text colors for menu items. It also adds a color value "style" which indicates that the color should just stay at the default of the style. The default theme uses this value for the new menu item colors, while the dark theme fixes the ugly colors. The patch also disables etching for disabled text. Task-number: QTCREATORBUG-13447 Change-Id: Ib54504693d28cf2c71f3fc5a88d3de014230b12b Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by:
Thorben Kroeger <thorbenkroeger@gmail.com> Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
- 13 Feb, 2015 1 commit
-
-
Orgad Shaneh authored
Used BackgroundColorSelected as a workaround in 3.3 in order to maintain BC. Change-Id: I1520deb8adcfed26b65aa7f4612218d15c310923 Reviewed-by:
Thorben Kroeger <thorbenkroeger@gmail.com> Reviewed-by:
Alessandro Portale <alessandro.portale@theqtcompany.com>
-
- 06 Feb, 2015 1 commit
-
-
Orgad Shaneh authored
Mostly done using the following ruby script: Dir.glob('**/*.cpp').each { |file| next if file =~ %r{src/shared/qbs|/qmljs/} s = File.read(file) s.scan(/^using namespace (.*);$/) { ns = $1 t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m| before = $1 char = $2 if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/ m else before + char end } if t != s puts file File.open(file, 'w').write(t) end } } Change-Id: I5c6690f51488bf8ca3610ba9fb11e6e5fd814aaa Reviewed-by:
Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 16 Jan, 2015 1 commit
-
-
Eike Ziller authored
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 06 Jan, 2015 1 commit
-
-
Orgad Shaneh authored
This is a workaround for 3.3. In master the splitter color (among some other widgets) should have its own value. Task-number: QTCREATORBUG-13768 Change-Id: I8456fba3866e4857985e07a4708333952512484d Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 23 Oct, 2014 1 commit
-
-
Orgad Shaneh authored
It is used when e.g. searching the environment widget. Change-Id: I203b9f5e280a8f18f7a38f8e4d7b4540c79f932c Reviewed-by:
Thorben Kroeger <thorbenkroeger@gmail.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 17 Oct, 2014 1 commit
-
-
Orgad Shaneh authored
!option->state & State_Enabled is accidentially satisfied because State_Enabled is 1, so the condition is true for any non-zero value of option->state. Change-Id: I965012ceecbad7296fae4eff7d429dcb8391aa2c Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 16 Oct, 2014 2 commits
-
-
Thomas Hartmann authored
The opacity is set to 0.8 if disabled (Not if enabled). Change-Id: I7016a083f71c700de68444a62e97d5dee4b733e7 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Alessandro Portale authored
A theme is supposed to provide colors, flags and images. This change removes functions from Theme which do not just return simple data. Also ManhattanStyle and Theme get separated a bit. Change-Id: I2fab26ee38b858fefb55920eb219f84abcfaac18 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 15 Oct, 2014 1 commit
-
-
Thorben Kroeger authored
Adds a 'Theme' tab to the environment settings and a '-theme' command line option. A theme is a combination of colors, gradients, flags and style information. There are two themes: - 'default': preserves the current default look - 'dark': uses a more flat for many widgets, dark color theme for everything This does not use a stylesheet (too limited), but rather sets the palette via C++ and modifies drawing behavior. Overall, the look is more flat (removed some gradients and bevels). Tested on Ubuntu 14.04 using Qt 5.4 and running on a KDE Desktop (Oxygen base style). For a screenshot, see https://gist.github.com/thorbenk/5ab06bea726de0aa7473 Changes: - Introduce class Theme, defining the interface how to access theme specific settings. The class reads a .creatortheme file (INI file, via QSettings) - Define named colors in the [Palette] section (see dark.creatortheme for example usage) - Use either named colors of AARRGGBB (hex) in the [Colors] section - A file ending with .creatortheme may be supplied to the '-theme' command line option - A global Theme instance can be accessed via creatorTheme() - Query colors, gradients, icons and flags from the theme were possible (TODO: use this in more places...) - There are very many color roles. It seems better to me to describe the role clearly, and then to consolidate later in the actual theme by assigning the same color. For example, one can set the text color of the output pane button individualy. - Many elements are also drawn differently. For the dark theme, I wanted to have a flatter look. - Introduce Theme::WidgetStyle enum, for now {Original, Flat}. - The theme specifies which kind of widget style it wants. - The drawing code queries the theme's style flag and switches between the original, gradient based look and the new, flat look. - Create some custom icons which look better on dark background (wip, currently folder/file icons) - Let ManhattanStyle draw some elements for non-panelwidgets, too (open/close arrows in QTreeView, custom folder/file icons) - For the welcomescreen, pass the WelcomeTheme class. WelcomeTheme exposes theme colors as Q_PROPERTY accessible from .qml - Themes can be modified via the 'Themes' tab in the environment settings. TODO: * Unify image handling * Avoid style name references * Fix gradients Change-Id: I92c2050ab0fb327649ea1eff4adec973d2073944 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 12 Oct, 2014 1 commit
-
-
Orgad Shaneh authored
Change-Id: Id9dcb4706934ee36972a55c73c23f046357c9512 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 09 Oct, 2014 1 commit
-
-
Eike Ziller authored
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 06 Oct, 2014 1 commit
-
-
Orgad Shaneh authored
ea83fe74 apparently was not enough Change-Id: I54d471ae79496f42d85e5fe3d8239cb2cd902349 Reviewed-by:
Jens Bache-Wiig <jensbw@gmail.com>
-
- 18 Sep, 2014 1 commit
-
-
Orgad Shaneh authored
Broken in 6f7a6282e59a82e4c7609c0090da05f5da1dda91 Change-Id: I752295af28494efe3eb59ef31b111a0079d47ff7 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 17 Sep, 2014 1 commit
-
-
Orgad Shaneh authored
Change-Id: I61ca02b7cbdc124f756f9ca86b2ea297fd03f623 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 11 Sep, 2014 1 commit
-
-
Erik Verbruggen authored
Change-Id: Iaa9182579afa19c9c8f184f964eeace3bc7b7906 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 28 Aug, 2014 1 commit
-
-
Paul Olav Tvete authored
Qt draws lines on half-pixel boundaries. Because of rounding, this is not visible with non-scaled aliased painting. However, on a high-DPI screen with scaling enabled, the line under the menu bar is drawn at a one pixel offset, which causes it to overlap the menubar items. This change draws the line at the mathematically correct position. Task-number: QTBUG-38858 Change-Id: I0a2260507d346b52a36258d479cde87064d991ef Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 01 Aug, 2014 2 commits
-
-
Daniel Teske authored
Change-Id: Ic88d9a87a9eb08e597a0aa5652ac061b54d86d1e Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Daniel Teske authored
Change-Id: I2a652dd8552d3ec4622c854690c92c8d48e1c9ba Reviewed-by:
Oliver Wolff <oliver.wolff@digia.com>
-
- 24 Jul, 2014 1 commit
-
-
Alessandro Portale authored
Letting that helper function return a file name is more flexible than returning a QPixmap. Change-Id: I4634e4e795eec029608c8e65c1a0e8afff870a91 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 16 Jul, 2014 1 commit
-
-
Alessandro Portale authored
New @2x variants for inputfield.png and inputfield_disabled.png. Loading them with Utils::StyleHelper::dpiSpecificPixmap(). Small adjustments for resolution independent drawing of the focus/hover rect. Change-Id: I6e1322e597c1fca7fc4ff7cce8801e99ce03e57a Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 15 Jul, 2014 1 commit
-
-
Eike Ziller authored
By adding a title, and a left border. Change-Id: Id8a577c9011c7a7282f5b540e94e8f809481b6fa Task-number: QTCREATORBUG-9104 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com>
-
- 19 May, 2014 1 commit
-
-
Orgad Shaneh authored
Change-Id: I9e65f8276b57e622c361148c0444354e2f34d55c Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 08 May, 2014 1 commit
-
-
Orgad Shaneh authored
Change-Id: Id32e59f96ed8a94f08eb0effbca4918e11659c06 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 11 Apr, 2014 1 commit
-
-
Daniel Teske authored
The only view that is sane is my view. Adds handling of return/enter for macintosh. Allows for overriding whether single or double click activates items via setActivationMode. Change-Id: Id8f9001f99162833c682dfc5b2b1abac04ce18a3 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 08 Jan, 2014 1 commit
-
-
Robert Loehning authored
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 05 Dec, 2013 1 commit
-
-
David Schulz authored
Change-Id: I3c3ae623beab55259179aaf0613d2bc5aaad1c28 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 18 Nov, 2013 1 commit
-
-
Tobias Hunger authored
Change-Id: I5adc362e486eb16f18aed7a496d2012fbc219bb8 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 17 Jul, 2013 1 commit
-
-
Orgad Shaneh authored
Change-Id: I1309db70e98d678e150388c76ce665e988fdf081 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 27 Mar, 2013 1 commit
-
-
Friedemann Kleint authored
Change-Id: Ie79d334765ca5c6a034fa2f5eccff5d45b481975 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 22 Mar, 2013 1 commit
-
-
Eike Ziller authored
Change-Id: I803f354f1efb0f3c79e7e9ee61fb50d3d5f71363 Reviewed-by:
Daniel Teske <daniel.teske@digia.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- 15 Mar, 2013 1 commit
-
-
Christian Kandeler authored
Replace compile-time checks for host OS by run-time checks. Change-Id: I9f237389171586786c2609f81314bcb1bc17b01e Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 29 Jan, 2013 1 commit
-
-
Robert Loehning authored
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 08 Jan, 2013 1 commit
-
-
Orgad Shaneh authored
#!/usr/bin/env ruby Dir.glob('**/*.cpp') { |file| # skip ast (excluding paste, astpath, and canv'ast'imer) next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i s = File.read(file) next if s.include?('qlalr') orig = s.dup s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m| res = $& if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces res else res.gsub!('} else', 'else') res.gsub!(/\n +} *\n/m, "\n") res.gsub(/ *{$/, '') end } s.gsub!(/ *$/, '') File.open(file, 'wb').write(s) if s != orig } Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc Reviewed-by:
hjk <qthjk@ovi.com>
-
- 30 Oct, 2012 1 commit
-
-
Vasiliy Sorokin authored
Task-number: QTCREATORBUG-8003 Change-Id: If9ac6d75123e65486ff0cf243c9537805f3fe5a3 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 23 Oct, 2012 1 commit
-
-
Orgad Shaneh authored
Change-Id: I08aa20b6569cac814c479766842ff9422d1eb157 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- 22 Oct, 2012 1 commit
-
-
Jens Bache-Wiig authored
This reverts commit 7b8cd427 . This basically makes creator looks uglier on most platforms while not really fixing anything on Ubuntu. The menubar is on ubuntu (and mac) not shown in natively compiled versions so it effectively fixes nothing, but makes the appearance inconsistent on other platforms. Change-Id: I4576b4dcc722dca59a7480eba41ce8efa970533b Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-