| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Task-number: QTSOLBUG-205
Change-Id: I3374031a1c4ce0b806d4b3c8599fbba20099dfe3
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: Volker Hilsheimer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Setting the "flagNames" attribute causes the QtFlagPropertyManager to
re-create its child properties. This causes the QtVariantPropertyManager
to re-create its wrapping QtVariantProperty instances.
When this happens with a property that is already added to a property
browser, the value icon and text were requested before the
QtVariantPropertyManager had set up the mapping between the wrapping
QtVariantProperty instance and the internal property. This caused the
returned icon and text for the child flag properties to be empty.
Change-Id: If2166136b4ae3931c229c215f90f8582da81d2c3
Reviewed-by: Jarek Kobus <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This could cause an immediate crash or incorrect values might be read
subsequently resulting in incorrect computations.
In QtFlagPropertyManager::uninitializeProperty(QtProperty *): A
pointer to freed memory is dereferenced, used as a function argument, or
otherwise used (CWE-416)
Coverity-Id: 22622
Change-Id: I24fc9d6f7c1c516ddcadaaba2ba7cdaed7c7f807
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
| |
QtStringPropertyManager.
Change-Id: Id2cef6bc826066153572b9c8265eeb5315add158
Reviewed-by: Andy Shaw <[email protected]>
Reviewed-by: Philip Allgaier <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was a rather involved patch, but it avoids the need for using
private API or duplicating QtBoolEdit (which is in a private header).
Apart from adding support for this QtBoolEdit option to the
QtCheckBoxFactory and the QtBoolPropertyManager, the setting can also
be controlled via the 'textVisible' attribute associated with
QtVariantProperty instances.
Change-Id: Ia0c694ca852449c74cbe25429df69413211b45a5
Reviewed-by: Jarek Kobus <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've extended this editor to allow adding a QCompleter to the line edit,
but when changing the value via the QCompleter only the 'textChanged'
and not the 'textEdited' signal is emitted.
'blockSignals' is now used to avoid this signal when applying a change
of property value, like for all other editors.
Change-Id: I1668dd45ad2e2bc651777b97cb143d1525eb5bd0
Reviewed-by: Jarek Kobus <[email protected]>
|
|
|
|
|
| |
Change-Id: Ib44c79aaaa8b777a058e2591986251e2506a4ca8
Reviewed-by: Jarek Kobus <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Makes the focus go to the tree widget when set on the property browser,
since it's not very helpful for it to stay on the property browser
widget.
Change-Id: I7b2a686e37d7a2693ec98133f3a51743aadf7cb4
Reviewed-by: Jarek Kobus <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Added functionality to set read-only mode for string, double and integer
properties using QLineEdit, QDoubleSpinBox and QSpinBox editors respectively).
Read-only status can also be set using attributes of variant properties.
Support for integer properties implemented by
Vincent Wang https://gitorious.org/~linsong
Change-Id: I0946cc44e2c5452e256f7c099427cae13cbb5264
Reviewed-by: Jarek Kobus <[email protected]>
|
|
|
|
|
| |
Change-Id: I4520cf54a4c8d6ff6119dc3762d9aeac42b66af5
Reviewed-by: Andy Shaw <[email protected]>
|
|
|
|
|
|
|
| |
Based on qttools/ec87de9b8b6c7f6690f830086da542770537d4f7.
Change-Id: I65fc7d5b4b00ece6dde1ec41508868749f08ec0a
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
| |
Q_WS_WIN has been removed in Qt 5 so use Q_OS_WIN instead which exists
in both Qt 4 and Qt 5 where appropriate.
Change-Id: Icc9328f8d28da244dc828e670e2d6402c86a419b
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
| |
The module prefix is not needed and removing it adds compatibility
with Qt 5 which has classes moved into different modules.
Change-Id: I20823be670d78ba6cc8eb0e5de1f4f3b6fa2edb6
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
| |
Based on qttools/b97b090d620a23736d4ab5535000ce499509cac5.
Task-number: QTBUG-23272
Change-Id: I480d51909c0115efa7515cb3c4ab0a3580f2160f
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Based on qt/31ba9218c63b6c0177fabae3ff33cc5f3c2df8d5 and
qttools/180e84ad39cf135d5facbd43e9ea3be830b2fe1f.
Task-number: QTBUG-8046
Change-Id: Icfb06eab3d3f7495278e273d70046669ed5f4a40
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
QVariant doesn't have QKeySequence constructor in Qt 5 (effect of
the modularization project), therefore it can't be default
constructed.
Based on qttools/adfa9ccb102131de9739d5d79f320f07cea196ab.
Change-Id: Ia4e69bf37bd94d2c2647128019e6d524c99a88e9
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
| |
Based on qttools/5ef5c6dd2446b04dce0d418816dadf2c0917803b.
Change-Id: I604786cf54d5b62179fce5bfe3164e770ec79cf9
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Ensure comma between elements (1 missing), single space and curly-
braces around title elements, etc.
Based on qttools/5ee351e266782ad51518ad9ad058f3608b277f8e.
Change-Id: I2779e5e6da1b86ba2905ed59a70af6448cc1e63b
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
| |
The QT variable needs widgets added if using Qt 5.
Change-Id: I83b63944dcadd6ee75a2103217bd90671866e811
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
QT_DISABLE_DEPRECATED_BEFORE=0 must be defined to use the deprecated
QHeaderView::setMovable and QHeaderView::setResizeMode methods.
Change-Id: I12387fce109c190fdf3c6d2699a2f606191f0052
Reviewed-by: Olivier Goffart <[email protected]>
Reviewed-by: Stephen Kelly <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Q_TYPENAME is being removed.
Based on qttools/f9aa0fb422ebc6a5a5b1416269eda471887a2c90.
Change-Id: I26ffaf41d21d6fed12457e57e33dc830137255c1
Reviewed-by: Olivier Goffart <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
| |
Change-Id: Ie75877290e0bce06c8b5a24ed664e8aceaf2cac0
Reviewed-by: Andy Shaw <[email protected]>
Reviewed-by: Sergio Ahumada <[email protected]>
|
|
|
|
|
|
| |
editor).
Reviewed-by: Martin Pejcoch
|
|
|
|
|
|
|
|
|
| |
The double property manager used a hardcoded conversion to QString,
this doesn't match a localized conversion used by the spinbox editor,
when the value is being edited. Since there is no connection to a widget
to provide the application's locale the default system locale is used.
Reviewed-by: Andy Shaw
|
|
This commit adds the contents of distribution packages of the
relevant subset of the Qt Solutions components, generated
from the last versions in Perforce.
|