| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Change-Id: I81c229523e0d896f25d6d961c9857b615218ecbb
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
(cherry picked from commit 47b91fe6ce0e56e8abc8b2a5e1ba5dbf4453e9f8)
|
|
|
|
|
|
|
|
|
|
| |
Make sure that minimumSectionSize is handled before currentSectionSize
so a current section size lower than the default minimum section is
properly handled.
The same is done for QtBase in 7aa1078ecb8afd96050771635c0d3fa4238d3338.
Change-Id: Id33ff11ef35cc92e0adf13402dc847b8f45c38a9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
qttools.pro
Change-Id: Ibf247399306794b1d79ebbcd230b853896d0bc87
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The AbstractItemEditor was using the default flags from an
QListWidgetItem as the default values for QList/Tree/tableWidgetItem
which is wrong because the different classes have different default
flags. This lead to an inconsistent behavior during runtime. E.g. a
QTableWidgetItem was not editable but during runtime it was editable.
This fix adds a new function to retrieve the correct default flags
dependending on the selected widget type.
Change-Id: I96e1dec5a459a4d746b469bd773ddb7526e65357
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: I0b3b98813053be4eaba2109e50bbd5258da209b7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Matches qtbase b5d249f9538bf3dc44f11879c2244deb5a37bf97.
Fixes: QTBUG-71012
Change-Id: I36203b7dac414e3eb9effffd15667415e7d133cd
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Generate
#include <QtQuickWidgets/QQuickWidget>
instead of
#include "QtQuickWidgets/QQuickWidget"
Task-number: QTBUG-72641
Change-Id: I6f2870bbe95ac582fb2137fa3540c79cfe61d06c
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|/ /
| |
| |
| |
| |
| | |
Task-number: QTBUG-72635
Change-Id: If5acb99bff8715101ab338a694b9f2d61e066ea3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\ \
| | |
| | |
| | | |
Change-Id: Ia61820d18d28e3ee24ff0568e763f94e53bee193
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Change qtools/548a75049efaa3f9b3087016e3e36cc9b4f23e2e caused
icon/pixmap properties to leak when setting a null object on the
property editor since the code removing the properties was not
executed.
Default to the active form window when trying to find a form window
for the object in question and bail out with a warning if that fails.
Fixes: QTBUG-71809
Task-number: QTBUG-68507
Change-Id: I3fd96dd9b72d822c47071286b641254530f1568d
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make the file visible in the IDE.
Change-Id: Ide7011bae10bef7796edaf54294f5a33e17ede37
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In the introductory paragraph, add a link to the
Layout Management overwiew.
Distinguish between top level layouts and layout objects
and move the section on top level layout above the other.
Flesh out the sections on layouts and top level layouts.
Mention the Shift-Click selection and on that occasion fix the
shortcut for multiselection, which was fixed to conform to standards
in Qt 4.
Change-Id: Id8d8e28c77cbec07c7ac816e4425a8ce337b28c1
Fixes: QTBUG-70841
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
It is so far only accessible from the introductory chapter
which not everyone might read completely.
Task-number: QTBUG-70841
Change-Id: I0cf983e81b2519a60e9123b7ea4f4a88469d4b9a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix an apparent oversight. QUndoView (since 4.2) showed up as custom
widget in .ui files. It is a proper Qt class, though.
Task-number: PYSIDE-797
Change-Id: I6d2ee62b64daa9564d2c75e1e6ea81d79859768a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Replace the old QT_NO... define checks by the configure features where
applicable.
Join the sections for the QTimeEdit/QDateEdit (inheriting
QDateTimeEdit).
For the printer, introduce a define depending on the availability
of the printsupport library and QPrintDialog (cf textedit example)
to accommodate platforms that don't build QtPrintSupport.
Task-number: PYSIDE-797
Change-Id: I752d99a19b55616fa2ac5c36fad803d6d861e327
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows for some simplification in the follow-up patch porting
to the new configure system.
Task-number: PYSIDE-797
Change-Id: I5d4227fb946ac908717ffb08807762e5f1178ca2
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes:
qdesigner.h:70:10: warning: 'event' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool event(QEvent *ev);
Change-Id: I09f027dc412b259fdb2edc8fdca6792a96237f65
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The offending includes are not required, so remove them.
Fixes: QTBUG-70948
Change-Id: I365df84659f0bb02f8d6cbe06298b79e1e23ab28
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The box was populated using QFontDatabase::standardSizes(), which
varies by platform.
Task-number: QTBUG-70430
Change-Id: Ie19359bea1e517af206e0d0dfc770668566b4fa0
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|\|
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/macdeployqt/shared/shared.h
src/qdoc/sections.cpp
Change-Id: I708a20d0061e82b99ecced7d24e7a2b8c475f706
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Initialize DesignerPropertyManager::m_object
in the constructor
Task-number: QTCREATORBUG-18342
Change-Id: I7acc7c12855b4775544a85fd000089cdcd6277af
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Use QHash instead of QMap for pointer type keys
- Use const ref to avoid copies
- Fix C-style casts
- Add parentheses to macro parameters
Change-Id: I74c060fc32c6f7761582d81d219455b1e58c6ff9
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Factor out a helper routine to check on the widget so that the
caching pattern becomes clearer. Change the heap-allocated
QPointer<QWidget> to a static variable.
Change-Id: I5dfc5a9ebc791dbd2e13a9cbde72f77c3e2c6104
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
- Replace index-based loops by range-based for
Change-Id: I074a52631cbf5233e1c762cee99064b8897abc30
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Simplify/streamline if statmenents (comparison against bool literal)
- Change else if to if after return/break/continue
- Fix indentation
- Do not check for non-null before invoking delete on pointer
Change-Id: I1b803b01cffd56b3f11e63c3e2e7ae103b1d8799
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Use multi-arg form of QString::arg()
- Fix static method calls
- Prefer QFileInfo::exists()
- Use isEmpty() for containers instead of checking size()
- Use QOverload
Change-Id: I31e92f77d0fa377932c1369afe2503abc8ecceac
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change the return type from a QMap<QWidget *,bool> to a QSet<QWidget *>
to fix a clang-tidy warning that a QHash should be used. The bool is
redundant, though.
Change-Id: Ib0bced9166cb6050e48195851abd6cb2b5109537
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Use ' = default' for trivial constructors/destructors
- replace virtual by override or add override where applicable
- Return *this from assignment operators of custom iterators
- Replace trivial constructors by member initialization for simple structs
- Add Q_DISABLE_COPY
Change-Id: I67fb07cb82ccba93a41d58a8a0782628c9c681d9
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Replace parsing by QVersionNumber.
Change-Id: I793a30f7d5746ea3f2644be94a2a57fbfb0f2769
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Collect all widgets before applying the order and bail out
if one cannot be found. The algorithm cannot do any meaningful
if one is missing. Change the loop applying the order to
a one-liner.
Change-Id: I52a2d7e8252d346f6d697889e796c76f114a56f2
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I08932d5a2599831a4cc53f5a70709d7c3a27a35b
|
| |
| |
| |
| |
| | |
Change-Id: I4b0257108498efa2e10a1c4fa5deda3acb74187f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Extract the functionality to read the DomUI with version check
to QFormBuilderExtra so that the reading can be split into DomUI
and widget creation.
In FormWindow, check the success of the DomUI creation before
modifying Qt Designer's internal state.
Task-number: QTCREATORBUG-20742
Change-Id: I095f80e90966eba67d8994cd68e83c3e11aa0ee9
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Silence clang-tidy warnings in the generated files
- use nullptr [modernize-use-nullptr]:
Use nullptr where applicable and simplify the switch()
statement in write() on this occasion to use member variables
instead of accessors.
- use '= default' to define a trivial destructor [modernize-use-equals-default]
Check if any delete statements are required. If not, use "= default".
- use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
Use auto.
Change-Id: I48abfd8719b1ee66d68014cc02038a7decb70d4c
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Remove export from classes that are not accessed by the components.
Change-Id: I75c91d4428b63eee69297897a85b7382c4f21943
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove virtual and change the visibility of the addPage()/removePage()
helpers to protected. Apparently, introducing a class hierarchy
for them was intended at some point, but never implemented.
Change-Id: I571664210c33affc33fe0b1837f5c063241d47cc
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I91242ffea8752c3006c2aa28ac953ce74f4b6750
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bail out of PropertyEditor::setObject() when no form window
can be found for the current widget, which can happen when
setting the buddy property in morph macro sequences.
Task-number: QTBUG-68507
Change-Id: I61955121d57e1c18e2ccf93d63e51d2df24f0827
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Mark redo()/undo() and some destructors as override.
Change-Id: Id45f8e5cb181e7ab3929ab952f2f27093ac23e21
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change
#include <QtCore/QDebug>
to
#include <QtCore/qdebug.h>
according to the coding style.
Change-Id: I2ba2e99d003f245c61ce836acb5af3208e1e0b29
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add QTemporaryFile::errorString().
Task-number: QTBUG-67758
Change-Id: I611e0f0daa6a772553dec4b230266da566b1a953
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I71af843e012fa9a4157cb082afba885aa5f0cddc
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add missing documentation for QDesignerFormWindowInterface,
fix \fn commands and missing namespace specifiers.
Change-Id: I3481781d30760768d4b79d8ea889c1c17b251f67
Reviewed-by: Martin Smith <martin.smith@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Ifa1d05c3f578d04db599c68ec96ef343e293fd51
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Otherwise, all new forms saved will contain
<ui version="4.0" idbasedtr="false"> which causes unnecessary
changes and upsets older versions of uic.
Amends 85624e87256005a2560a658722da5c982c8374ad.
Task-number: QTBUG-34610
Change-Id: Ie688c5b9d1075bca96374d98b682dbbfb8bf7eca
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace the hardcoded licenses in the .xsl files and replace by a
special @LICENSE@ keyword.
Read out the license from the source files in qttools/qtbase
respectively and create temporary .xsl files with the keywords
replaced accordingly.
Use the same mechanism for the #include directive in the ui4.cpp source.
Change-Id: I8a7937013041397954a30c676a9b699e0332a1e0
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
| |
Amends 909a00a4f3d1882eb974ad2953024c4670e2e392.
Change-Id: I13a0257d221d87eb7dc668f58f3bf5faf7218a9d
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I83e2382427eb4a8ee0d52d3c4f379242ef80e09e
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-65810
Change-Id: I3d9befbc56e1c7a63c383e872977e10d1eaa3734
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Qt UI Tools library is built statically by default. We should
therefore release it under a more liberal license than BSD. This follows
the example of the qtmain library, which is also available under BSD.
[ChangeLog][Licensing] The Qt UI Tools library got relicensed to
commercial + BSD.
Change-Id: I0de0f5213305d148dcc64ab02177b92e99e3eb43
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|