Commit Graph

4 Commits

Author SHA1 Message Date
Mitch Curtis eb500f9cd9 Move ApplicationHelper to visualtestutil.h and rename it
This class is useful for other auto tests, like Popup's.

Change-Id: Ie193c07e5b53b67493fceba9a1c32798db2f4e34
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
2015-12-10 09:48:26 +00:00
J-P Nurmi 3a5bd3d4e5 Rename Panel to Popup
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>
2015-12-09 19:26:18 +00:00
Mitch Curtis 09e680cd5d Make Qt::Key_Escape close Menu
Change-Id: Ib7d74b556378f7ec5ac3156c92a02d6834bff82e
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
2015-12-03 12:09:40 +00:00
Mitch Curtis b185fc1ac0 Add Menu
An item-based menu derived from QQuickPanel. Eventually we'd like to
make Panel itself a QQuickItem, as it makes both the implementation
and the actual usage of Menu a lot easier.

Change-Id: Ic1bf2a05ab98d9e17824c402ed8326ef65d26c69
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
2015-12-02 16:16:31 +00:00