[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-frameworks-devel
Subject: Re: KGuiAddons and QGestures like tap/click-and-hold to open context menu?
From: Martin Klapetek <martin.klapetek () gmail ! com>
Date: 2017-03-13 14:59:55
Message-ID: CAPLgePrB24t=voJSZYLNBGhf4H3L-3BAN3uTmN+wK2V9HRXKKw () mail ! gmail ! com
[Download RAW message or body]
On Sun, Mar 12, 2017 at 4:03 AM, Ren=C3=A9 J.V. Bertin <rjvbertin@gmail.com=
>
wrote:
> Hello,
>
> The other day I had to add a context menu to a widget (QPushbutton)
> defined in a .ui file and went a bit further when I realised it could be
> nice to be able to open such a menu without using a right-click or menu
> button. After all, not all platforms have a (physical) right mouse button
> or a menu key; Macs come to mind but also mobile devices.
> The usual way to open the context menu on such platforms is
> click/tap-and-hold - I think that was actually introduced in an early Mac
> OS X version.
>
Macs however always have two-fingers secondary click;
their magic mouse have both (it's mouse-touchpad hybrid).
Worth noting that the tap-and-hold is used only in very few
places of the macOS shell, like the bottom launcher and
Launchpad, pretty much nothing else accepts tap-and-hold
for context menu, certainly not any of the regular apps.
So I wouldn't say that is "the usual way" on mac at all.
Just to provide some more insight for non-mac folks.
Cheers
--
Martin Klapetek
[Attachment #3 (text/html)]
<div dir="ltr"><div class="gmail_extra"><div><div \
class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div>On \
Sun, Mar 12, 2017 at 4:03 AM, René J.V. Bertin <span dir="ltr"><<a \
href="mailto:rjvbertin@gmail.com" \
target="_blank">rjvbertin@gmail.com</a>></span> \
wrote:<br></div></div></div></div></div></div></div><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px \
0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">Hello,<br> <br>
The other day I had to add a context menu to a widget (QPushbutton) defined \
in a .ui file and went a bit further when I realised it could be nice to be \
able to open such a menu without using a right-click or menu button. After \
all, not all platforms have a (physical) right mouse button or a menu key; \
Macs come to mind but also mobile devices. </blockquote><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> <br>
The usual way to open the context menu on such platforms is \
click/tap-and-hold - I think that was actually introduced in an early Mac \
OS X version.<br></blockquote><div><br></div><div><div>Macs however always \
have two-fingers secondary click;</div><div>their magic mouse have both \
(it's mouse-touchpad hybrid).</div><div><br></div><div>Worth noting \
that the tap-and-hold is used only in very few</div><div>places of the \
macOS shell, like the bottom launcher and </div><div>Launchpad, pretty \
much nothing else accepts tap-and-hold</div><div>for context menu, \
certainly not any of the regular apps.</div></div><div>So I wouldn't \
say that is "the usual way" on mac at \
all.</div><div><br></div><div>Just to provide some more insight for non-mac \
folks.</div><div><br></div><div>Cheers</div><div><div><span \
style="color:rgb(102,102,102)">--</span></div><div><span \
style="color:rgb(102,102,102)">Martin \
Klapetek</span></div></div></div></div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic