- 15 Oct, 2014 40 commits
-
-
Alessandro Portale authored
Change-Id: Ibeb9fbf21e72d977b37616337595666aa9b59ccc Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
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>
-
hjk authored
Change-Id: I16e6e292097f3f7289bda8d9c6c23b6827ee54b9 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Nikita Baryshnikov authored
Also take care about sibling include statements Change-Id: I513893ef710107310b63187cd5fa82c5e52fae0a Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Nikolai Kosjar authored
Change-Id: I61ff15877523325a80cdfa089bd28e4e89a45bd5 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Nikolai Kosjar authored
This makes the view of the valgrind tools avilable for other analyzers. Change-Id: Icb28a3a6d6dbd7d437de803d50e30fada7dca0da Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Alessandro Portale authored
No gaps. Smoother hovering. Some cleanup. Change-Id: Id4110ab10973a7df8b5c39a90d60878145ad389b Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
Tim Jenssen authored
Change-Id: Iff7016b35aeb763569366400460c12b99689e14f Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
Francois Ferrand authored
If 'enter' is pressed while the cursor is in the middle of a string, the string is ended at the current cursor position, and a new string is started on the next line. This makes it very easy to split a long string onto multiple lines. In addition, Shift+Enter insert an escape in the string, to continue the string at the beginning of next line. A setting can be used to enable or disable this option. Change-Id: Ia5f3c6989fc00d40d06bc4fe1182fe8b1318f565 Reviewed-by:
Francois Ferrand <thetypz@gmail.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Eike Ziller authored
Change-Id: I968d28a37b16e9966502ee618c00f23fecd0daa6 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Christian Kandeler authored
qbs considered harmless. Change-Id: Iea3e32d1509b1f3fc22c05c86433f73abca7aeab Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
Eike Ziller authored
Change-Id: I0acde2c3b995693de682679471f03af85bdd0a61 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
hjk authored
Change-Id: Ifb39d67d69bb97f1516bcdc70da6ca118c797126 Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
Thomas Hartmann authored
We properly distinguish between warnings in the Qt Quick Designer and error in a .ui.qml file. The warnings are a subset of the errors anyway. Change-Id: Ib3b21a845436381df10863b464c975b0b39fc063 Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
hjk authored
Pimpl, add some convenience setters. Change-Id: I525c080179fddab6fe2bd2270505fdbf33e56be2 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
Thomas Hartmann authored
Change-Id: Iec0663147a9072d8332cf05ad56bcb7db0253eda Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
Tobias Hunger authored
Calculate space to use based on better data:-) Change-Id: Ia502deb3eb40e5b4a3828e531798971d120e9b0d Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
Takao Fujiwara authored
The head keys handling is not needed because IBusEngineSimple handles compose keys. Also the length of QInputMethodEvent.commitString() is not one and prevent users from auto-complettions. Change-Id: Ieb0022add243829340797954e7d48ca71af2c249 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Kai Koehne authored
20 lines above we actually search for qml libraries in the .pro/.pri file. Do not overwrite this just based on the fact that there are QML files listed somewhere in the project. Change-Id: I01ea4304d98e40fca690d5bf3ce3f3de0543c82d Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
Ulf Hermann authored
If you click on a row with a note in the timeline you probably want to see the place with the note, not some other occurrence of the event type. Change-Id: Ic94514e460a33dbadca5cfed0b1455a1718b6d03 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: I21542128c4cc9b7a31f7b834defbdf1dd15cd37a Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: Ie24c2c01a978640bd2925265385ff7c7b3274a41 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: I9bcb9bcaab6d24c87c932fce610a6026461a5ecb Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: Iaee0c3488e3eaa2c347e8533d57b16e47d1a9328 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Sebastian Sauer authored
Enable access to the private Document instance in the same way its done already in the ASTObjectValue class by adding a const getter. Change-Id: I0581e527bb766fc72682f2e38d0d8d52d4452deb Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
Thomas Hartmann authored
(e.g. ".ui.qml") Change-Id: I476585649f02651eeb99564417ec46de6346c67d Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
Tobias Hunger authored
The expander is used in the wizards, and being able to specify timestamps is something many people requested at devdays. Change-Id: If227f9c48d0b5f409d22233af8c43ae376f343f9 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: Iec56b43877521081ee0080648054be2b5898dbdd Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: Id566bdd2c2a00b886779e04efbda5b49ed87a85d Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: Ia0acbc5e0a02563cf497594b67a5f7a67488fb79 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Nikolai Kosjar authored
Changes from the current editor snapshot to the previous one represent dependency changes (include paths, defines, ...) for the document. Use this to stop the semantic info updater from re-using the previous document for highlighthing. Task-number: QTCREATORBUG-12267 Change-Id: I91308700122ded7c458c267b685c00b966874a64 Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
Nikolai Kosjar authored
projectPartFromDependencies() is also called from another thread. Change-Id: Ic1319569d1b9b934a1be0916caa2e5bd68dce4fb Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
Nikolai Kosjar authored
It should be parsed as an DeclarationStatement, but instead it was parsed as an ExpressionStatement. Regression introduced with commit d3c5fff6. C++: Fix expensive parsing of expressions The introduced ASTCache did not save the correct return value of a parse* function. Because of that, the first return in Parser::parseExpressionList returned false on the second invocation (cache hit), instead of true, which resulted in an ExpressionStatement. Task-number: QTCREATORBUG-13122 Change-Id: I8dbd8852b0909edddcd3195b484f4cea92328cc5 Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
Nikolai Kosjar authored
With asynchron project managers, creating a new project from a wizard or re-opening a session will first open the editor documents and then provide the project information later (it's the other way around with synchronous project managers). This sequence leave the documents with various error diagnostics behind. Fixed by re-triggering the re-parsing. This change does not fix QTCREATORBUG-11606 yet. Though it will trigger a reparse with the right includes, clang still reports 'file not found'. Will be addressed by a follow-up patch. Task-number: QTCREATORBUG-11606 Change-Id: Ib5d251e05accf4268f9b36decc5224b2c75f610c Reviewed-by:
Daniel Teske <daniel.teske@digia.com> Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
David Schulz authored
The implementation have changed between the cdbs from Windows SDK 7 and 8. Fixed it to the behavior descriped in the comment above the change. Task-number: QTCREATORBUG-13132 Change-Id: I89aa2848b4f8f32c12daf305e7ed2ab2a7521ced Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
David Schulz authored
Change-Id: I7b0624c6f1caf6a6a73e9956c91706a74e8ef0a0 Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
lemelisk authored
Change-Id: I8975af5fe80724ead81a88a38289fe16fbb283fd Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
Thomas Hartmann authored
Change-Id: I8ccae13653bbb010853d99be9136bf364b823c3d Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
Thomas Hartmann authored
Change-Id: I88eab65e1c1187ffd5a88fb5c9780d0156a17729 Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
David Schulz authored
...when the cdb got hung up. Handle abort like in almost any debugger engine, first kindly ask to quit. If this doesn't work kill the debugger process. Task-number: QTCREATORBUG-13173 Change-Id: I1ddc98b1ffe00342c96d104c16099b500e52bc07 Reviewed-by:
hjk <hjk121@nokiamail.com>
-