| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Fixes: QTBUG-82781
Change-Id: I98bb77d9118d05b16235cc1107d6e7a74b70fc65
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
| |
|
|
|
|
| |
Change-Id: Id9c60bf10bc0d4fb28ee9a027b84e395e9cb745c
Fixes: QTBUG-74350
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add an actionChosen() signal to DefaultDialogWrapper, allowing the
developer to stop further processing of the event by setting the
"accepted" field to false. This is especially useful when some
validation on the dialog contents need to take place before the dialog
can be accepted.
[ChangeLog][Dialogs] Add a signal to the Dialog class to allow the
client to intercept the button presses and optionally prevent further
processing of the event. This allows performing some validation on the
fields before dismissing the dialog.
Task-number: QTBUG-69095
Change-Id: I19bca0bd9fcbafc72d337a5870776a96634ba748
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This fixes a linking error when Qt is built statically and both
Qt Quick Controls 1 and Qt Quick Controls 2 are used in the same
application, due to Qt Quick Controls 2 also containing a class named
QQuickDialog.
Change-Id: I16ad8b1a3c75d0fa3e4ba1c3ab54a63caf05bbea
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Reviewed-by: Alex Leutgöb <alex@v-play.net>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
|
| |\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
examples/quickcontrols/extras/flat/main.cpp
src/controls/Private/qquickcontrolsettings.cpp
Change-Id: I9eb9342a2ee994611f3cb18daab6dd89eb924ccc
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A group name 'dialogs' conflicts with a page elsewhere in the
documentation. Renamed to be more specific, and removed the
\group command - it's not required for generating annotated
lists, and was not linked to.
Change-Id: I571702ece13d5eb57a984cec47811b7d58cc0121
Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
|
| |/
|
|
|
|
|
| |
Update old header.LGPL3 to header.LGPL
Change-Id: I3c851bc24da89f6300b94199387d1adf16ca4f48
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
|
| |
|
|
|
|
|
|
|
|
| |
We should emit the accepted and rejected signals, not call the accept
and reject slots directly. Also it doesn't make sense to close the
dialog by default for some standard buttons namely Help, Apply and
Reset.
Change-Id: I48a3bc3c870f1d2f97f923fc24c57abd6594073b
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
|
| |
|
|
|
|
| |
Change-Id: I1abdce308929507416b5f24b4442d0b978886a46
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Document clickedButton property for Dialog, MessageDialog
- Update Dialog::accepted() and rejected() documentation
- Remove duplicate documentation for Dialog::visible property
- Update description of modality property for ColorDialog,
FontDialog
- Fix broken links
Change-Id: I5b73ea5cbccf1ad0203351730197336e1c6e1b98
Reviewed-by: Liang Qi <liang.qi@digia.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
|
| |\
| |
| |
| |
| |
| |
| | |
Conflicts:
src/controls/qquickmenupopupwindow.cpp
Change-Id: Ibc10e7da3b3a2983c022b8973cd80cb1a7e110af
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Initialization order, and mistaken use of comparison instead of
assignment.
Change-Id: Ic9fbcac1085d84294386311f967209a6b33f2297
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
| |\|
| |
| |
| | |
Change-Id: I4aa5c960a03616d95f9e1d10b4c8ba222997a24d
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When the dialog becomes visible, no button has been clicked yet: we
are waiting for the user to do that. Failure to initialize
m_clickedButton made the logic in accept() and reject() unreliable:
accept() does not imply OK unless we are sure the user did not click
any other button, and the same with reject() implying Cancel.
Change-Id: I340c18bd0fca6cc9a7274c1063882de425444326
Reviewed-by: Liang Qi <liang.qi@digia.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
buttonClicked() is public API, whereas click(button, role) is called
when a button is clicked. So there is no need to have buttonClicked()
connect to anything internally.
Task-number: QTBUG-40613
Change-Id: I25872d532ba77b4d708a2c25b31b6064fd5da599
Reviewed-by: Liang Qi <liang.qi@digia.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
- Renamed LICENSE.LGPL to LICENSE.LGPLv21
- Added LICENSE.LGPLv3 & LICENSE.GPLv2
- Removed LICENSE.GPL
Change-Id: I470909ba0980db33ab551790d619c59a35978590
Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
Replace the table structure with \value commands for documenting
acceptable values for Dialog::standardButtons and
MessageDialog::standardButtons properties, and remove the
unnecessary \enum definitions.
Task-number: QTBUG-35019
Change-Id: Ifcb9ae8b2fbe6859fae324d855a395e4d1d224c1
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
|
| |
|
|
|
|
|
| |
Also fixed a qWarning and updated example import statement.
Change-Id: I873b52e297bbefe66c6c131573804eee98c40a2f
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- contentItem is a common name for an item inside something such as a
window or a flickable. We now consider it adequate API that you can
directly set this to some item which you want to fill the whole dialog
instead of adding an item as a child of the default property and being
subject to the dialog's margins and space reservation for buttons.
- contentItem MUST be an Item. Allowing the old "implementation"
property to alternatively be a ready-made Window was just a
hypothetical use case, but if anyone made use of that, then it would
be a problem to have that kind of dialog on a GUI that cannot have
windows (such as Android or EGLFS). So there's no point in having
the possibility as long as we cannot emulate windows as items.
- standardButtonsRightModel and standardButtonsLeftModel are
implementation details so they should not be exposed as properties
which Creator can discover; users shouldn't depend on them.
Task-number: QTBUG-38056
Change-Id: Iefa3def314353495cfe8d1ef9f775a8e46d5bcf4
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
| |
|
|
|
| |
Change-Id: I5e06bdf03ba1ba8e5fe7669f690420dc9a039129
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
| |
|
|
|
|
|
|
| |
Replace a number of QtQml module inclusions with their more specific
counterparts, possibly leading to decreased compilation time.
Change-Id: I9b48b06e884d46c6440725a704951dc87e2e93db
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
|
| |
|
|
|
|
|
| |
StandardButton is a 32-bit type again.
Change-Id: I8aba4150cee169ef837891e9d72a64d48db32346
Reviewed-by: Liang Qi <liang.qi@digia.com>
|
| |
|
|
|
| |
Change-Id: Ia453bbe65fb64a7d9523e270e1b6f644d8e3a7a6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
|
|
|
It provides only a button box, so the application developer can
supply the rest of the dialog contents. This is useful for various
kinds of dialogs that prompt the user for input.
[ChangeLog][QtQuickDialogs][Dialog] Dialog is a new wrapper component
for dialogs with standard buttons and custom content items.
Change-Id: I0434bed5f504820dc0a668cb993a94980f99852a
Reviewed-by: Liang Qi <liang.qi@digia.com>
|