orca-robotics


INTRODUCTION
Overview
Download and Install
Documentation

REPOSITORY
Interfaces
Drivers
Libraries
Utilities
Software Map

DEVELOPER
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

hydroqguielementutil::detail::ShortcutKey Class Reference

#include <shortcutkey.h>

List of all members.

Public Member Functions

 ShortcutKey (QKeySequence keySequence, bool ownExclusively, QObject *parent)


Detailed Description

This class manages actions for a single shortcut key.

e.g. ESC. Shortcuts need to be unique, that's why we need this proxy. Actions can be subscribed to ShortcutKey and are stored in a multimap with their parent as a key. When the parent dies, we need to unsubscribe (Qt style: in the destructor), so we can delete the pointer from the map.

author: Tobias Kaupp, Alex Brooks


Constructor & Destructor Documentation

hydroqguielementutil::detail::ShortcutKey::ShortcutKey QKeySequence  keySequence,
bool  ownExclusively,
QObject *  parent
 

If ownExclusively, only the most-recently-subscribed QObject is triggered. Otherwise, a key-press will trigger _all_ QObjects subscribed for that key.


The documentation for this class was generated from the following files:
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5