Commit Graph

18 Commits

Author SHA1 Message Date
hjk
8cf500c5bc Utils: Make Layouting a top level namespace
The whole machinery is now almost only layoutbuilder.{h,cpp},
mostly independent of the rest of Utils. Idea is to finish the
separation to make it stand-alone usable also outside creator.

Change-Id: I958aa667d17ae26b21209f22412309c5307a579c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-04-25 13:31:25 +00:00
Kai Köhne
56baf8c058 Remove GPL-3.0+ from license identifiers
Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0,
this applies only to a hypothetical newer version of GPL, that doesn't
exist yet. If such a version emerges, we can still decide to relicense...

While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only

Change was done by running

  find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \;

Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-01-06 11:15:13 +00:00
Lucie Gérard
a7956df3ca Use SPDX license identifiers
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>
2022-08-26 12:27:18 +00:00
hjk
58c5b126d3 Utils: Settle on lowerSnakeCase for LayoutBuilder::Setter
Change-Id: Icfe487d8c7712cc8ad28f0f61e8ae4778a356fc3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-07-27 08:40:12 +00:00
hjk
14257a24f9 Utils: Introduce Layouting::{br,st}
... as "standard" ways to define line breaks and simple stretch.

There have already been too many patterns to do it.

Break() and Stretch() still work for the patches in flight, but
they are planned to be removed.

Change-Id: I9b70dcdc11244a904a496b0c55938dfb0b265fc8
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-25 09:52:15 +00:00
Eike Ziller
3ec87e37ee Merge remote-tracking branch 'origin/8.0'
Conflicts:
	src/plugins/todo/optionsdialog.cpp
	src/plugins/todo/todoprojectsettingswidget.cpp

Change-Id: I24ca90c2fc2cd707df901d42694df6d0e27d696d
2022-07-20 12:03:40 +02:00
hjk
ab90298fde ToDo: Convert to Tr::tr
Change-Id: I2bd081fd484f851234c7e54114a15488271e0df1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-07-13 12:56:47 +00:00
hjk
074282cae4 Todo: Inline todoprojectsettingswidget.ui
Change-Id: I942d1687a6a34a269ce4abd9233975febb4516e8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-13 08:08:21 +00:00
Eike Ziller
11b0cab178 Project settings: Fix missing IDs for global settings links
Change-Id: Id99bf5f9d45dd399c589011ca724914046305c53
Reviewed-by: hjk <hjk@qt.io>
2022-07-13 07:19:27 +00:00
Christian Stenger
555970eeb0 Todo: Replace QRegExp by QRegularExpression
Task-number: QTCREATORBUG-24098
Change-Id: I30d06f78106760ca3ad434b3f89603fd7bab2d71
Reviewed-by: hjk <hjk@qt.io>
2020-06-16 06:17:54 +00:00
Alessandro Portale
24a25eed14 Use isEmpty() instead of count() or size()
Change-Id: I0a89d2808c6d041da0dc41ea5aea58e6e8759bb4
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2020-01-20 20:56:57 +00:00
Alessandro Portale
7ea23f24fb Todo: Modernize
modernize-*

Change-Id: Ib03e15cac77fa15d51f18e3351462a0c5a9ab224
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2018-12-11 05:45:00 +00:00
Andre Hartmann
b1701ae933 TODO: Remove Latin1String
Change-Id: I2765abdafe508ad2d025f6c9b7b3374a6f1c79b5
Reviewed-by: hjk <hjk@qt.io>
2017-10-06 14:22:15 +00:00
Orgad Shaneh
a9f73d079a Todo: Use Qt5-style connects
The heavy lifting was done by clazy.

Change-Id: I6132a266f9d350dfecd7a12b03877bdcbbc31302
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2016-06-06 07:27:32 +00:00
Alessandro Portale
b9e941105d Todo: Fix a premature ::tr() call
The order of meta object initialization and the call of tr() can be
wrong, and then the Todo plugin is not loaded.

Change-Id: I2d8481892e78af5e04d632c427d55d2a2fd67402
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-05-18 10:45:31 +00:00
Takumi ASAKI
3908133b33 Todo: tr()-Fixes
Do not use QObject::tr().

Change-Id: I15656fbfc6529f381cea54c3fcbb35d831cff74f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-04-28 03:59:11 +00:00
Tobias Hunger
397e7f4843 Update License according to agreement with Free Qt Foundation
* Update files in src/plugins

Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-01-19 15:57:01 +00:00
Denis Kormalev
a429ef3d50 TODO plugin: Add file patterns to exclude from parsing
Additional list of regular expressions added to TODO plugin settings
to allow set patterns to be excluded from file list to parse by this plugin.

Change-Id: I718f111ac7592557a6aa86865283468c53d58078
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-06-01 15:45:25 +00:00