The ModifierLineEdit class provides a lineedit to specify modifiers. More...
#include <Widgets.h>
Public Member Functions | |
ModifierLineEdit (QWidget *parent=nullptr) | |
Constructs a line edit with no text. More... | |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *e) |
Checks which modifiers are pressed and show it as text. More... | |
The ModifierLineEdit class provides a lineedit to specify modifiers.
ModifierLineEdit::ModifierLineEdit | ( | QWidget * | parent = nullptr | ) |
Constructs a line edit with no text.
The parent argument is sent to the QLineEdit constructor.
|
protected |
Checks which modifiers are pressed and show it as text.