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>
Previously the extra compilers were never destructed. As any plugin that
registers an extra compiler factory has to depend on ProjectExplorer, it
will delete its factory before ProjectExplorer is unloaded. So, removing
the extra compiler from the list on destroyed() is safe.
Change-Id: I22fbe662a5704c0294512b8774acb85745c1cbe5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This updates the scrollbar and the zoom slider to the new realities.
Change-Id: Iedcbf839332b4e5cb2d59917b0f822feb11b0d44
Task-number: QTCREATORBUG-15843
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
It does not seem to be safe to update CPP data etc and then continue
with rule execution. So now we do it like this: We execute rules if and
only if no target artifact data is present, and updates are only done
afterwards.
Change-Id: I580918a8ec434b2c59bd044506c3a8e961c6b674
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Replace several occurrences of QMap with QHash as we often do
not care about the order and use iterators instead of fetching
keys or values to iterate over them.
Change-Id: I5061a7e7e60fe259ac2aa31915f338a373e278d3
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
And reorder the IDs insertions by the enum order.
Change-Id: Idad8e8635772eacbb54b15d78dcd9ab93618fbba
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
It apparently was a bad idea to let QImage load an empty string in case
of flat style. In order to fix that, we simplyfy the code by making the
images static locals in the scope for non-flat painting.
That has the additional advantage that they are only loaded once.
Change-Id: I8acb2ff09fe77cc708be2670cddaa41e23c9afa7
Reviewed-by: Orgad Shaneh <orgads@gmail.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>
This way we don't get white text on light grey background.
Change-Id: I632e692d0528d554e6ca90a4202d146c81d0ad66
Task-number: QTCREATORBUG-15842
Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
* Add a method to more easily get values from list of ConfigItems
* Cleanup message signature
Change-Id: I728b7c8f5c382fe4a9bf2e3b8636d63db3d07881
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
And add some log output to help with debugging.
Change-Id: I806aee8b34ee8d90bdd40fa8d9ac2cd313485c28
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
For pages that are not delayed additionally by an OptionsPageProvider,
we can just look for the ID without creating any widgets.
Task-number: QTCREATORBUG-15848
Change-Id: I118aa4713e76c8a43df7abad9f846e68105c659e
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
and make sure there are not too many of these threads
running at any time. This stops the massive process
startup when loading a project with many UI files, etc.
Task-number: QTCREATORBUG-15795
Change-Id: Icfcddd80d04e36b61ecafbbefe5a1a8b7ea02ec6
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
If a run finished not by using the 'Stop Profiling' button the
Application Output pane still handled the respective tab as running.
Change-Id: I283bea73fe9df86a89e6130ad6737a86e1dc0341
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
Sending multiple messages in a packet can dramatically reduce the
protocol overhead. QmlProfiler messages are only 26 bytes long, on
average. The "CanvasFrameRate" name, which is prepended to each packet
is 15 bytes long, not counting extra bytes for length information.
Change-Id: I67087cefc1f6bd72ba960414672b048015179869
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Having the window "run away" from the mouse is pretty unintuitive. Use
the familiar dragging paradigm from the timeline view instead. Also,
show notes and source locations there.
Change-Id: I15c4aee2d6c08d5f20e101b436129abe66789d3b
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
The model didn't really support it and we didn't have any visualization
for it. Now the events with notes or binding loops get an orange border.
Change-Id: I903f1d42afaf3567484b615b22381d38fc81b9b5
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
If a run finished Application Output pane still handled the respective tab
as running.
Change-Id: I0bc7e1f61b68e700a875538bdd1c63c18bec8df3
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
To allow other mode main windows to re-use the perspective
concept.
Change-Id: Icf00b4f0e4bd73a09ebec131ef9c578154f25eec
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Helps to prevent multiple starts of the tool in parallel.
Also fix a copy-and-paste tooltip error.
Change-Id: I4a7fb5e4ba17981b419420a7871b130f74e5ecde
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>