Halves the lookup time compared to parse and evaluate.
Change-Id: I8beda23f444c73816a93e38154d2ca502b701fe8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Create pointer and array types in the python code. Uses
the type cache which leads to less type lookup calls.
Change-Id: I970bbb04da2e8051ed66b4b12dfb62076d7f214d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This dumper relies heavily on calling functions which isn't
supported by the cdb interface.
Change-Id: Iff839a619736755024dd3f406414d352ee543012
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
QChar lookup doesn't always return the expected type. Get ahead of
this by hardcoding the type data on initialization.
Change-Id: Ie25c27521afeddc3da917242ce64df3901bcc80b
Reviewed-by: hjk <hjk@qt.io>
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>