Qt-interest Archive, March 2002
Macs and right mouse buttons
Message 1 in thread
This is kinda related to my previous post, and it's probably a dumb question
If I want my program to work on *nix, windows, and macs, is it wise to
utilize right mouse button clicks?
As I understand it, the standard Mac user isnt sharp enough to handle more
than one button at once...;-)
I dont have a Mac and I havent used one in a long time so I'm clueless, can
anyone catch me up on how right clicks are handled in OSX and qt?
thanks again
Jeremy
Message 2 in thread
Hello!
Jeremy Webster wrote:
> This is kinda related to my previous post, and it's probably a dumb question
>
> If I want my program to work on *nix, windows, and macs, is it wise to
> utilize right mouse button clicks?
>
> As I understand it, the standard Mac user isnt sharp enough to handle more
> than one button at once...;-)
>
> I dont have a Mac and I havent used one in a long time so I'm clueless, can
> anyone catch me up on how right clicks are handled in OSX and qt?
>
> thanks again
> Jeremy
I don't own a Mac either, but you usually want to pop up a context menu
upon a right mouse click.
So, the smartest way is probably to overwrite
QWidget::contexMenuEvent(), which will handle a right mouse click, the
"Windows" keys on the keyboard and the appropriate action on the Mac.
Best regards,
Jan
Message 3 in thread
control+click on Mac OS X == right click.
Many of us plug in something like the Microsoft optical mouse when we
*really* need the right button or a scroll wheel; it just works (no
hassling with drivers) -- including Qt-based apps. Feel free to use
contextual menus (appropriately) in your cross-platform applications.
Bill
On Thursday, March 28, 2002, at 10:00 , Jeremy Webster wrote:
> This is kinda related to my previous post, and it's probably a dumb
> question
>
> If I want my program to work on *nix, windows, and macs, is it wise to
> utilize right mouse button clicks?
>
> As I understand it, the standard Mac user isnt sharp enough to handle more
> than one button at once...;-)
>
> I dont have a Mac and I havent used one in a long time so I'm clueless,
> can
> anyone catch me up on how right clicks are handled in OSX and qt?
>
> thanks again
> Jeremy
>
> --
> List archive and information: http://lists.trolltech.com/qt-interest/
>