aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/welcome
Commit message (Collapse)AuthorAgeFilesLines
* Do not talk about Qt Quick Designer in overviewKai Köhne2021-12-031-1/+1
| | | | | Change-Id: Ia0a4e196ba1ca863f31393c4dea7d23b60852750 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Welcome: Add a dedicated session settings iconAlessandro Portale2021-09-283-0/+2
| | | | | | | | | | | The re-used toolbar settings icon from Utils appears a bit small in comparison to the other icons on the welcome screen. This change adds a dedicated, properly sized "Settings" icon which fits better. Change-Id: I8af239a93806eaa6f355d504be282691b2463f3a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Merge remote-tracking branch 'origin/5.0'Eike Ziller2021-09-201-2/+1
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: cmake/QtCreatorIDEBranding.cmake qbs/modules/qtc/qtc.qbs qtcreator_ide_branding.pri src/libs/utils/processreaper.cpp src/plugins/android/androidbuildapkstep.cpp src/plugins/cmakeprojectmanager/cmakeprocess.cpp Change-Id: I353a445b5862f63362ea954749b5565360951283
| * Welcome: Remove spacing between the link buttons on Welcome screenAlessandro Portale2021-09-171-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The 5-pixel spacing causes the sensation of flickering while hovering over the buttons. Other elements on the welcome screen (recent projectsm sessions, etc.) don't have spacing, and therefore, the hovering feels "smoother". This change removes the spacing and compensates that by increasing the link height accordingly. Fixes: QTCREATORBUG-26275 Change-Id: I0159d65d941971c169faf2f156cd4f8c0ddd365c Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | Utils: Introduce a FilePath constructor from char arrayshjk2021-08-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Similar to QT_RESTRICTED_CAST_FROM_ASCII to avoid the need for decorations in user code. At the same time, drop some convenience constructors and functions in CommandLine and Icon essentially serving the same purpose. Change-Id: Ida4e5ac19c2da0a4298a97b2a8e1511d56bbb79d Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Merge remote-tracking branch 'origin/5.0'Eike Ziller2021-08-121-1/+2
|\| | | | | | | Change-Id: I86049934ae744e22e4a728ab79c0cf6880ff3c7d
| * Welcome: Point Get Started button to Qt Creator's Geting Started pageEike Ziller2021-08-111-1/+2
| | | | | | | | | | | | | | Fixes: QTCREATORBUG-26054 Change-Id: I4fd9cc5d18bddc812a97cdbc4b757ba617fe7098 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* | Core: Use FilePath in some functions related to opening fileshjk2021-07-291-1/+1
|/ | | | | Change-Id: I9610855a914d315d7934996c755fb69ad399320f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Use qAsConst with non-const Qt containers in range-loopsAlessandro Portale2021-02-171-1/+1
| | | | | | | ... in various places Change-Id: Ic6c0c1b9437a1ed402105c7a14a1f5f9454a68d4 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Welcome: Do not save default value to settingsEike Ziller2021-02-161-5/+9
| | | | | | Task-number: QTCREATORBUG-24762 Change-Id: I9a587c76dfabee1cd707e6861de5bbc0e3e7583e Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Welcome screen: Add "Get Qt" linkKai Koehne2020-10-254-0/+3
| | | | | Change-Id: Ic3a6210a0b1600ae308bbdb43f0c50fc72d910e8 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Qt6: enterEvent now gets passed a QEnterEventEike Ziller2020-09-291-3/+4
| | | | | | | | Add a Utils::EnterEvent for porting. Task-number: QTCREATORBUG-24098 Change-Id: I2782fe33e41a813b5562676f6dc87d6d53babdd3 Reviewed-by: hjk <hjk@qt.io>
* Some Qt6 portinghjk2020-07-221-1/+1
| | | | | | | | | - new ambiguous overloads for mapToGlobal - some functions now return qsizetype instead of int Task-number: QTCREATORBUG-24098 Change-Id: I0020e5689e093653e9e0e6f0d6263720bc2e003b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Core/Utils: Migrate further to Utils::Idhjk2020-07-061-1/+1
| | | | | | | The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Move InfoBar to UtilsEike Ziller2020-06-181-3/+3
| | | | | | | | | The only reason it was required to be in Core plugin, was its use of Id, which now is available in Utils. Change-Id: I66ce863c24924e6448d339b3422538a7fe167336 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Add final specifies to classesIgor Sidorov2020-02-051-1/+1
| | | | | | | Warning -Wfinal-dtor-non-final-class in clang trunk Change-Id: I2bf17064bf8898eab10b82b69583a283157766d0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Welcome: Fix regression of displaying Projects by defaultChristian Stenger2020-01-291-1/+1
| | | | | | | | | Latest refactorings made the Welcome page display by default the list of projects instead of the examples page. This patch amends 938068d1e8cb83e8bdf06e6ac002f75008646ad7. Change-Id: Ie91f16e4fc7e891a34476d23c3e1b370fd7a7d68 Reviewed-by: David Schulz <david.schulz@qt.io>
* Welcome: Fix logic for page orderChristian Stenger2020-01-161-1/+1
| | | | | | | | | | | If we want to rely on the priority for ordering the buttons of the welcome page we should also keep the order of the pages in sync with the buttons. Change-Id: Idcb06f18c6e7ea7c8fd19eac46c53abbed2b9dbd Reviewed-by: hjk <hjk@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* Merge remote-tracking branch 'origin/4.10' into 4.11Eike Ziller2019-10-281-7/+0
|\ | | | | | | | | | | | | | | Conflicts: src/libs/utils/fancymainwindow.cpp src/plugins/projectexplorer/msvctoolchain.cpp Change-Id: I7aaeeb4f96c95fefd4944c083c1ddf9a19cd81d6
| * macOS: Remove workaround for bug that was fixed in Qt 5.9.2Eike Ziller2019-10-211-7/+0
| | | | | | | | | | | | | | | | | | Removing the dummy OpenGL widget gets rid of flicker and scaling issues when moving between monitors with different DPI. Fixes: QTCREATORBUG-23064 Change-Id: I2373862244353b545e8756afe294f9beeefda422 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | ProjectExplorer: Fix some problems with plugin unloadingChristian Kandeler2019-10-161-0/+7
| | | | | | | | | | | | | | | | It was not possible to return false from ProjectExplorerPlugin::initialize() without triggering crashes. Change-Id: I96b2f80c835e69769f64f9b9c61f473e9ff88623 Reviewed-by: hjk <hjk@qt.io>
* | Core: Make InfoBar::GlobalSuppressionMode an enum classAndre Hartmann2019-09-121-1/+1
| | | | | | | | | | Change-Id: I859a727196a887f7699a667fbe07e1bfead4cb2b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Remove usages of deprecated APIsSona Kurazyan2019-09-032-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | Replaced: QPalette::ColorRole::Background -> QPalette::ColorRole::Window QPalette::ColorRole::Foreground -> QPalette::ColorRole::WindowText Qt::ItemDataRole::TextColorRole -> Qt::ItemDataRole::ForegroundRole QFontMetrics::width() -> QFontMetrics::horizontalAdvance() Task-number: QTBUG-76491 Change-Id: I1302e6b569e725daa6f7be1428ffe055657fc644 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Remove usages of deprecated APIs of QLayoutSona Kurazyan2019-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | Replaced: QLayout::setMargin() -> QLayout::setContentsMargins() QLayout::margin() -> QLayout::getContentsMargins() Task-number: QTBUG-76491 Change-Id: If28ef6910b3afe5d04e4746b74f9362a3e3b3c8e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Add global notification area and use for UI Tour infoEike Ziller2019-08-121-21/+18
|/ | | | | | | | | | | | Adds a global info bar display above the main window's status bar that can be accessed via ICore::infoBar(). Replace the blocking "Take UI Tour" dialog by a notification there. Fixes: QTCREATORBUG-22819 Change-Id: I733f1bfd2d1db0295754ed2e28bb202f927d0edb Reviewed-by: hjk <hjk@qt.io> Reviewed-by: André Hartmann <aha_1980@gmx.de>
* Qt Creator CMake portCristian Adam2019-05-171-0/+8
| | | | | | | | | | | | | | Based on Tobias Hunger's work from a few months ago. The CMake configuration needs libclang and Qt paths specified as CMAKE_PREFIX_PATH. Auto tests are run with "ctest". At the moment the pass rate is 87%. Change-Id: Iba98e39bf22077d52706dce6c85986be67a6eab0 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Simplify the text that invites a developer to take a UI tourKavindra Palaraja2019-04-021-3/+3
| | | | | | Change-Id: Ib8ee635bf6eba8d4a80a0b0b5e0dfa9c6d04fe7e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Welcome: Add a -notour argumenthjk2019-03-182-10/+22
| | | | | | | | Helpful for a quick startup, e.g. in cases of forced clean settings. Change-Id: I5b247d77e1157448187453c71b6c2a07b77f3889 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Remove icon from UI Tour dialogEike Ziller2019-03-181-1/+0
| | | | | | | | Not needed, and can look ugly in certain setups Change-Id: I3d0a6774f660a58ce697c1072065c3801629945e Fixes: QTCREATORBUG-22132 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* UI Tour: Fix pluralRobert Loehning2019-02-151-1/+1
| | | | | Change-Id: Ib84f8acda7701c5fb8efc29035c31ab047573e40 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* UI Introduction: Allow left cursor key for "back"Eike Ziller2019-02-131-2/+12
| | | | | | | Or right cursor in case of right-to-left layout direction Change-Id: I058ad4ecc5e07f572cf16abc8a94da430b65fda3 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Help: Avoid multiple lookups of help id for context helpEike Ziller2019-01-291-1/+1
| | | | | | | | | | | Context help would first query the database with potential IDs, and afterwards the help plugin would look up the links for the resulting ID again. Pass the HelpItem (which potentially contains the cached links) directly to context help. Change-Id: I73bddcd3cd4eacaea412b98d53c5e5354a31f3d5 Reviewed-by: David Schulz <david.schulz@qt.io>
* UI Tour: Another GCC 5 fixEike Ziller2018-12-201-1/+1
| | | | | | | GCC 5 doesn't want to convert "const char *" to QString in these cases. Change-Id: I706a5d79932409a57992d3b13f28db3336cfb71f Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Welcome: Fix qbs buildChristian Kandeler2018-12-191-0/+2
| | | | | | | | Amends 8770d83fc8. Change-Id: I45809354d3562c9360e014270d0e1570f54cf7e6 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Welcome: Drop unneeded indirectionhjk2018-12-182-3/+3
| | | | | Change-Id: I6ab30110eb9b490a36c1a213438761a761173ebc Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* UI Tour: Fix build with GCC 5Eike Ziller2018-12-181-14/+17
| | | | | Change-Id: If41e7e0e8b2fa7aaab8abd34d95f516f7b87675d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Add general UI introductionEike Ziller2018-12-186-1/+502
| | | | | | | | | | | | | | | | Adds a Help > UI Introduction, which highlights basic aspects of the Qt Creator UI. The pages to show are defined in a format that can later move into a text based configuration file like JSON. It specifies an optional object name of a widget to highlight, a title, a brief description and a longer description (potentially with tables, lists and other simple HTML). Fixes: QTCREATORBUG-21585 Change-Id: Idb64c87e1d752bc24437588278093a96be0eeddb Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Show examples page in welcome mode on first startEike Ziller2018-07-091-2/+6
| | | | | | | | | This change might help first-time users getting started. Task-number: QTCREATORBUG-20674 Change-Id: If55402160bf6b1515142bb64f281654fe4c68134 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Plugins: Re-categorize plugins which are in "Qt Creator" categoryRazi Alavizadeh2018-03-201-1/+1
| | | | | | | | | | | | | Category of DiffEditor, ImageViewer, Macros and UpdateInfo was removed, i.e., they were moved to "Utilities" category. Category of other plugins that were in "Qt Creator" category, changed to "Core". By this patch, forks of QtCreator don't need to change *.json.in files locally. Change-Id: I243c6b1831c0b880d32b2118db71f0b281590b7b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Welcome: Detach Welcome page registration for global object poolhjk2018-02-071-6/+0
| | | | | | | We require individual pages to be provided in Plugin::initialize() Change-Id: I431112b523ed4cc803c07e5c6df8aa8d4ed1663b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Welcome: Remove one unneeded usage of global object poolhjk2018-02-061-2/+1
| | | | | Change-Id: Iaf94a26eb49c49648ac89f7e463b8849e86cba9e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Welcome: Relax the SideBar spacings a bitAlessandro Portale2018-01-031-5/+16
| | | | | | | | | | | I got a new Laptop with 720px screen height (actually 1440px with 200% scaling). That causes an unpleasant scrollbar in the SideBar, even with fullscreen maximized Qt Creator. This makes the spaces between the three content blocks shrinkable. Change-Id: I188a38580cc59b410ecf25fa2422a8d94a44b9f0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* De-emphasize PluginManager::getObjects<Type>()hjk2017-12-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... by additionally keeping local (currently non-owning) pools per "interesting" type. Current situation: - The global object pool does not scale well for looking up objects, as iteration plus qobject_cast typically iterates over all pooled objects. - User code that can use typed results from the object pool need to have access to the full type definition anyway, i.e. depend on the plugin of the target class anyway. The patch here solves the scaling problem is to have local type-specific pools to which objects register in their constructors and deregister in their destructors. This patch here does *not* change the ownership model of the pooled objects, however, it opens the possibility to change the ownership model per type (e.g. by not putting things into the global pool at all anymore and make the local pool 'owning') and the intent is to handle that in later patchs. Even without the follow-up patches this here is a performance improvement for the cases that access the local pools instead the global one, i.e. "practically all". Change-Id: Ib11a42df2c4ecf5e1155534730083a520dd1995b Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Welcome: Use https-linksRobert Loehning2017-12-061-2/+2
| | | | | | Change-Id: I6eec438e5c881da8e6946b3d167e1e71f49ba574 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Welcome: Show the url of link buttons as tool tipAlessandro Portale2017-10-161-1/+2
| | | | | | | Less secretiveness about what these buttons do. Change-Id: I145e5a3e62ccaffd2d1cb97614154a0ef43e1369 Reviewed-by: hjk <hjk@qt.io>
* Welcome: Remove unused imageAlessandro Portale2017-09-202-1/+0
| | | | | | | mode_edit_mask.png must have been added there by mistake Change-Id: I94c0380f267f473c1ae1347f567ea959f0752496 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Unify the dimensions for all mode/action bar iconsAlessandro Portale2017-09-194-0/+0
| | | | | | | | | | | | | | Having icons of all different kinds of sizes makes it difficult to get the painting right in all cases. It definitely fails when the szsytem is running in multi-monitor mode with different scaling factors. Unifying the dimensions makes it possible. This change should not cause any visual difference in a purely scaled or unscaled screen. Task-number: QTCREATORBUG-18869 Change-Id: I3a864c9a86036b4f4f3b350a489077b247ca85b7 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Drop unused variables and lambda capturesUlf Hermann2017-09-081-1/+1
| | | | | | | | | Also, add context to connect() expressions where we are or were capturing "this". Change-Id: I6e006ba6f83d532478018550d148ee93eca59605 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Merge remote-tracking branch 'origin/4.4'Eike Ziller2017-09-061-1/+8
|\ | | | | | | | | | | | | | | Conflicts: qbs/modules/qtc/qtc.qbs qtcreator.pri Change-Id: I9620928b431cefa995a06db85ecfcb92f225f732
| * Welcome: Squish: Assign object name to fix Squish testsChristian Stenger2017-09-061-0/+1
| | | | | | | | | | | | | | | | | | | | Latest change of adding QScrollArea around Welcome's sidebar made the objects lookup fragile. Using the QScrollArea inside Squish tests helped for some but not all lookups. Simplify the lookup by assigning an object name. Change-Id: I5f37ee69bf20eaf02c9717cbaa5ba541d8ffbc17 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>