aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/qquickabstractbutton_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Add AbstractButton::pressAndHold() signalJ-P Nurmi2016-02-071-0/+1
| | | | | Change-Id: I41e96a61bfb25b81bad748f559894bf8e2984427 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* AbstractButton: remove the mouse params from signalsJ-P Nurmi2016-01-281-5/+4
| | | | | | | | If we ever want to expose these, the name would be something else than "mouse"... :) Change-Id: Ie9dad16e84708059fd0b43d4764925db7b014d64 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Replace Q_DECLARE_TYPEINFO(T, Q_COMPLEX_TYPE) by QML_DECLARE_TYPE(T)J-P Nurmi2015-12-211-2/+2
| | | | | | | | | | | Q_COMPLEX_TYPE tells Qt containers that the type has a ctor/dtor and that it may not be moved in memory using memcpy(). QML types are never stored by value in Qt containers (non-copyable QObjects), so the type info declaration is superfluous. QML_DECLARE_TYPE, however, is useful (QTBUG-49920) and consistently used for all QtQuick types. Change-Id: I3bd1718b306fa7af85a623fa7a17e1b9653d2152 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Promote Button::highlighted to AbstractButtonJ-P Nurmi2015-12-031-0/+5
| | | | | Change-Id: I0e17a6c25dfd89fdb547720e9a626c2ec9d7765a Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Repurpose ExclusiveGroup to ButtonGroupMitch Curtis2015-11-061-0/+1
| | | | | | | | | | This is another way of solving the naming clash with Qt Quick Controls, and narrows our focus to the types of controls that actually make sense to have in an "exclusive" group; buttons (Android calls them "selection controls"). Change-Id: Icf6efe583fe784c3594de8635be84bbf757a55cd Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add AbstractButton::autoExclusiveJ-P Nurmi2015-11-031-2/+4
| | | | | | | | | | | | | | This feature is adopted from QtWidgets' QAbstractButton. It's no longer necessary to create an ExclusiveGroup to manage a simple list of radio buttons: Column { RadioButton { text: "Option 1" } RadioButton { text: "Option 2" } } Change-Id: Ib4cb718c3b3034c9c956b2f23db4b06b00547b8e Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Add AbstractButton::autoRepeatJ-P Nurmi2015-11-021-0/+6
| | | | | Change-Id: Idbb94bac9ccdfae730f6e4da6d63c664971f41a3 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Added QQuickControl::accessibleRole() and etcLiang Qi2015-10-291-0/+1
| | | | | | | | * m_accessibleRole was removed * also applied to QQuickLabel, QQuickTextArea and QQuickTextField Change-Id: I4b487f32cccfba0e16b3dba7e39882e8cd7ea616 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* QQuickControl: dynamically create a11y attached objectLiang Qi2015-10-211-0/+4
| | | | | | | Using QAccessible::ActivationObserver approach. Change-Id: Ib99c1f9b7b0c37a3e8a4747db265c9df77acc1f8 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add CheckBox::tristate & checkStateJ-P Nurmi2015-10-121-0/+3
| | | | | Change-Id: Idf5b8d101db4ee7ace6f1d1d611a7bda3c03f3ea Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Merge Checkable into AbstractButtonJ-P Nurmi2015-10-121-0/+21
| | | | | Change-Id: I2cb3a244a9a084c67a1e3d1d9bc1c955c8cf0722 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Button: add a MouseEvent argument for the signalsJ-P Nurmi2015-10-091-4/+5
| | | | | Change-Id: I7857456cae802ca18069b01b14f3c0131e4ae4c7 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
* Add AbstractButton::doubleClicked() signalJ-P Nurmi2015-10-091-0/+2
| | | | | Change-Id: Ie53124b1186fee8c4b151a6c6bc3fcfe76c0250f Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
* Rename QtQuick.Templates 2.0 to Qt.labs.templates 1.0J-P Nurmi2015-10-011-3/+3
| | | | | | Change-Id: I3263a600065dfa2bfe7334ec44a74e2dca83aa36 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Rename libQtQuickControls to libQtQuickTemplatesJ-P Nurmi2015-09-161-0/+105
Change-Id: I1e663bb7be2be8b3d4edf0c038862cc2150aec40 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>