Qt Quick Controls 2 came with Qt 5.7, so it is save to use
1.3 for layouts.
Change-Id: Idb500154800312de0c1b2664f44113026525581d
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Otherwise it will be looked up for every value in a none Qt build.
Change-Id: Id5d82333b6fb93242d06c5d7e9fdf8ffa2ce6b38
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
... to the python based cdb dumper.
Now supporting static, namespace and qt builds with a libinfix.
Change-Id: Ib6bcd00dba876adc7a56c23ec4f4280cd3208143
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This is essentially a widgets based re-implementation
of the current design. It is still using the QAIM based
interface layer between to the real data and display even
though this is not needed with this approach.
Removal of this layer would further reduce code size
and cycle counts.
For now:
old new
Load time 215ms 182ms
delete 22ms 2ms
Change-Id: I90d779a60a47a78399eaad0f1bc032d39f3ae3c0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
In certain cases FindFirstType can fail to find a type due to bugs
in lldb. The workaround consists in using FindTypes, and iterating
over the results to find the searched for type.
Change-Id: I1fee3f774d0cf02842f6b55419142af5e9780992
Reviewed-by: hjk <hjk@qt.io>
Lldb fails to find types if they are prefixed with enum.
Therefore don't prepend enum when looking up the type
for QFlags.
Change-Id: If2109f68677c1b9ec48a05d61cad2d6590f375dc
Reviewed-by: hjk <hjk@qt.io>
The editor is taking the complete states editor now.
This avoids certain issues with the scrollbar.
Change-Id: Idfa53a4751ccff10449001fd7a47acb4fc2f6fce
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
The value name is already set in fromNativeValue
Change-Id: I82cdaa33133cde431d23a0f20bd5c3d6d938cf7f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The ExpressionTextField is part of every control, but is only required
if the action is triggered in the menu. Therefore we only create
the ExpressionTextField on demand.
This significantly speeds up the property editor since
the ExtendedFunctionButton is part of nearly every control.
Change-Id: I67a6ab86e70401c53bbe42a16aa1e12d725f16f6
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
When a section in the item library is colllapsed, then
the designer should remember this. This was already implemented,
but the feature stop working, because of refactoring.
Change-Id: Ib4465b87ade7b0c8ff501dea9893ee98caaae753
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
We use a property to control the state and ensure the animation
is not triggered by the initialization.
Change-Id: Icf88e63e6fda34826da6be70369902fa168ea48c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
We get editingFinished twice. By checking visible we able to ignore
the second signal.
Change-Id: Ic5ab91e153b1d658a68321436c71b914e065c6dd
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
For the CONFIG+=no_keywords case, Q_SLOTS expanded to the undefined
"slots".
Task-number: QTCREATORBUG-17371
Change-Id: I7891e4b0595647aa02c97c9f80d61f3f5459a61a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
We reuse the ExpressionTextField but adjust a couple of properties.
Change-Id: Ib11c13e028b1211402eab69ba5a3dd6c9442de7b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This implements the gui to change the type of an item.
Double click the type name in the property editor
to change the type.
Change-Id: I071ad203394691cc6b44f4336d483c473366fc72
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Bail out on error results as early as possible.
The accessor always exists in libQt5Core, but it can't be found
when using a wrongly mangled name. Use the right one, and add
another sanity check before actually using the function.
Change-Id: I57975be188ca6b03836c0968e59d9603b0eecf27
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Needs to make namespace detection work without valid frame
Task-number: QTCREATORBUG-17326
Change-Id: Ia7c7017db4ef384d4f246e11a5601d01f4f366f1
Reviewed-by: hjk <hjk@qt.io>