aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/appmainwindow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use SPDX license identifiersLucie GĂ©rard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Drop unused headers [A-H]Jarek Kobus2022-05-251-1/+1
| | | | | | | | | Round 2 - focus on sources. For classes with initial in range [A-H]. Try to keep the same separators between different kind of headers. Change-Id: I838a8324ddd5b4d8d5a51b8f30605f783c663813 Reviewed-by: hjk <hjk@qt.io>
* Revert "Windows: Match the name case of included files"Orgad Shaneh2018-07-191-1/+1
| | | | | | | | | It breaks cross-compilation on linux/mingw. This reverts commit 1c014ed3d9256df0330338b34f1c710efa962cf8. Change-Id: I3e8183ec318541a4393ad242eefbdeaa78b7be44 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Windows: Match the name case of included filesAlessandro Portale2018-07-121-1/+1
| | | | | | | | | | | Although Windows is case insensitive, and lower case always works, Clang complains: Lexical or Preprocessor Issue: warning: non-portable path to file '<FooBar.h>'; specified path differs in case from file name on disk Change-Id: I8f94e9fb62f6afec8aa6b9d08a7c78f6ba8a4435 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Utils: Keep correct palette for dark themers after suspendAlessandro Portale2017-04-111-1/+5
| | | | | | | | | | | | | | Sleep, hibernation and user sign-in can cause a ThemeChange event. That event resets the application palette, discarding a palette that may have been previously set. Dark themes in Qt Creator want to set and keep their custom application palettes. So, this change sets the custom application palette on each ThemeChange event that is send to the main window. Task-number: QTCREATORBUG-14929 Change-Id: Ic9fb0111cfa0e8171b819d687f280c3db6cc8f2c Reviewed-by: David Schulz <david.schulz@qt.io>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-17/+12
| | | | | | | * Update remaining files in src Change-Id: I1896f17fcf34f71c3310c87899fb5171b8e4afb1 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* AppMainWindow::raise: Use Qt's activateWindowDaniel Teske2015-04-151-25/+0
| | | | | | | | | | | | | The work around doesn't seem to be needed anymore. The case that is described is a Creator hitting a breakpoint, but not being raised. This works for me on both gnome and kde with this workaround removed. Removing the workaround also fixes: Task-number: QTCREATORBUG-13845 Change-Id: I4f751c701a17ee39679b951b9cf7d52a68552d9f Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Update LicenseEike Ziller2015-01-161-6/+6
| | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* License updateEike Ziller2014-10-091-7/+8
| | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Fix the main window raise workaround for Qt5.1Eike Ziller2013-05-141-3/+3
| | | | | | Change-Id: I17d09c70053661166784657954929ccf3b5366ec Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
* Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Adjust license headershjk2012-10-051-21/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Utils: Make sure raiseWindow() works on X11Kai Koehne2012-05-161-4/+22
| | | | | | | | | | | | Fake the source of the _NET_ACTIVE_WINDOW message to be 'pager' to make sure that all window managers actually raise Qt Creator. This unfortunately doesn't work on Qt5/QPA, since we don't get the native window handle ... Change-Id: Ia5abf743487b2990feceebed3cec9a4d034065aa Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* Debugger: Bring Qt Creator to foreground if app interruptsKai Koehne2012-03-231-1/+16
| | | | | | Change-Id: I07795f61b79cce9687d0ae2bff3cc19534ec08d6 Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Move EventFilteringMainWindow to utilsKai Koehne2012-03-151-0/+83
Also rename it to AppMainWindow. We add some more functionality to it in following patches. Change-Id: I752ccd07759eaaf6a2e96ec758e35b595bf788a2 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>