aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/qquickoverlay.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Material: sync overlay background dimming with popup animsJ-P Nurmi2015-12-231-28/+43
| | | | | Change-Id: I709ce35ae21cf105d6328071cf8408e1f21e5d42 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Just tidy up QQuickPopup a bitJ-P Nurmi2015-12-191-7/+6
| | | | | Change-Id: Ibc8097299f0796f943682f0c1de628a8da87e430 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Fix laggy background fading for DrawersJ-P Nurmi2015-12-181-4/+15
| | | | | Change-Id: I01bfff39f0018694f0ac4109733a2a441d90da31 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Make Drawers use the overlay background dimmingJ-P Nurmi2015-12-161-4/+34
| | | | | Change-Id: I6ec68983b06918d60acc2d60164d70cac0e37fac Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add Overlay::background that is shown when any modal popup is openJ-P Nurmi2015-12-151-0/+49
| | | | | Change-Id: Idc2a5bbb5cf7a08ff21731537a378b1dd8050833 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* QQuickOverlay: use d-pointerMitch Curtis2015-12-151-14/+37
| | | | | | Change-Id: Ic97452efa8a356d323e74a824a496b947c26187f Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Rename Panel to PopupJ-P Nurmi2015-12-091-31/+31
| | | | | | | | | Popup is a more descriptive name. Furthermore, this name change opens the door for another type called Pane. It gives the appropriate background color for the current style & theme. Change-Id: Idb91d37e807f62e870b50f0b656e84ee2d43a9fb Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Keep the overlay visible when there are any childrenJ-P Nurmi2015-11-171-6/+3
| | | | | Change-Id: I1446e88d7102ebae0e9933710e8e67d8ce925c5b Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Introducing Panel typeGabriel de Dietrich2015-11-141-0/+150
This is the base type to implement all sorts of Popups and Dialogs. Its main role is to keep the panel contents stacked on top of the application window contents and to ensure mouse and key events are forwarded or blocked depending on the visible panels modality. Currently, it only works with ApplicationWindow, which holds a QQuickOverlay. This special item is where the Panel contents gets reparented when the Panel becomes visible. It's also responsible for filtering the mouse events. Future developements may include adding a 'level' property instead of relying on the item's z value. This may or may not result into having several overlays per window. Change-Id: I18a4b8905e4d5a4a4697642b0553a1f9e86b669f Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>