BALL::VIEW::EditSingleShortcut Class Reference

#include <BALL/VIEW/DIALOGS/editSingleShortcut.h>

Inheritance diagram for BALL::VIEW::EditSingleShortcut:
QDialog Ui_EditSingleShortcutData

List of all members.

Public Slots

virtual void accept ()
virtual void reject ()

Public Member Functions

 EditSingleShortcut (QWidget *parent=NULL, const char *name="EditSingleShortcut", Qt::WFlags fl=0)
 Constructor.
QKeySequence const & getKeySequence () const
void setIndex (const QModelIndex &index)
void reset ()
void setup (const QString &shortcut)

Protected Slots

void modeChanged_ (bool toggled)

Protected Member Functions

void setErrorText (QString error)
void setShortcutText (QString new_keysequence)
void updateText_ ()
void changeMode_ (bool mode)
void keyPressEvent (QKeyEvent *evt)
void keyReleaseEvent (QKeyEvent *evt)
void startRecording_ ()
void stopRecording_ ()

Protected Attributes

bool is_recording_
unsigned int modifiers_
int key_
QKeySequence new_sequence_

Detailed Description

Widget for customizing BALLView shortcuts


Constructor & Destructor Documentation

BALL::VIEW::EditSingleShortcut::EditSingleShortcut ( QWidget parent = NULL,
const char *  name = "EditSingleShortcut",
Qt::WFlags  fl = 0 
)

Constructor.


Member Function Documentation

virtual void BALL::VIEW::EditSingleShortcut::accept ( ) [virtual, slot]
void BALL::VIEW::EditSingleShortcut::changeMode_ ( bool  mode) [protected]
QKeySequence const& BALL::VIEW::EditSingleShortcut::getKeySequence ( ) const [inline]
void BALL::VIEW::EditSingleShortcut::keyPressEvent ( QKeyEvent *  evt) [protected]
void BALL::VIEW::EditSingleShortcut::keyReleaseEvent ( QKeyEvent *  evt) [protected]
void BALL::VIEW::EditSingleShortcut::modeChanged_ ( bool  toggled) [protected, slot]
virtual void BALL::VIEW::EditSingleShortcut::reject ( ) [virtual, slot]
void BALL::VIEW::EditSingleShortcut::reset ( )
void BALL::VIEW::EditSingleShortcut::setErrorText ( QString  error) [protected]
void BALL::VIEW::EditSingleShortcut::setIndex ( const QModelIndex &  index)
void BALL::VIEW::EditSingleShortcut::setShortcutText ( QString  new_keysequence) [protected]
void BALL::VIEW::EditSingleShortcut::setup ( const QString &  shortcut)
void BALL::VIEW::EditSingleShortcut::startRecording_ ( ) [protected]
void BALL::VIEW::EditSingleShortcut::stopRecording_ ( ) [protected]
void BALL::VIEW::EditSingleShortcut::updateText_ ( ) [protected]

Member Data Documentation