The AccelLineEdit class provides a lineedit to specify shortcuts. More...
#include <Widgets.h>
Public Member Functions | |
AccelLineEdit (QWidget *parent=nullptr) | |
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... | |
The AccelLineEdit class provides a lineedit to specify shortcuts.
AccelLineEdit::AccelLineEdit | ( | QWidget * | parent = nullptr | ) |
Constructs a line edit with no text.
The parent argument is sent to the QLineEdit constructor.
bool AccelLineEdit::isNone | ( | ) | const |
Referenced by keyPressEvent().
|
protected |
Checks which keys are pressed and show it as text.
References isNone().