BALL::VIEW::EditSingleShortcut Class Reference
[Modular Widgets]

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

Inheritance diagram for BALL::VIEW::EditSingleShortcut:
Inheritance graph
[legend]

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

Definition at line 35 of file editSingleShortcut.h.


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]

Definition at line 47 of file editSingleShortcut.h.

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

Definition at line 61 of file editSingleShortcut.h.

Definition at line 64 of file editSingleShortcut.h.

Definition at line 63 of file editSingleShortcut.h.

Definition at line 65 of file editSingleShortcut.h.

Generated by  doxygen 1.6.3