The AccelLineEdit class provides a lineedit to specfify shortcuts. More...

#include <Widgets.h>

Public Member Functions

 AccelLineEdit (QWidget *parent=0)
 Constructs a line edit with no text. More...
 
bool isNone () const
 

Protected Member Functions

void keyPressEvent (QKeyEvent *e)
 Checks which keys are pressed and show it as text. More...
 

Detailed Description

The AccelLineEdit class provides a lineedit to specfify shortcuts.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ AccelLineEdit()

AccelLineEdit::AccelLineEdit ( QWidget parent = 0)

Constructs a line edit with no text.

The parent and name arguments are sent to the QLineEdit constructor.

Member Function Documentation

◆ isNone()

bool AccelLineEdit::isNone ( ) const

◆ keyPressEvent()

void AccelLineEdit::keyPressEvent ( QKeyEvent *  e)
protected

Checks which keys are pressed and show it as text.


The documentation for this class was generated from the following files:
  • src/Gui/Widgets.h
  • src/Gui/Widgets.cpp