Gui::ModifierLineEdit Class Reference

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...
 

Detailed Description

The ModifierLineEdit class provides a lineedit to specify modifiers.

Constructor & Destructor Documentation

◆ ModifierLineEdit()

ModifierLineEdit::ModifierLineEdit ( QWidget parent = nullptr)

Constructs a line edit with no text.

The parent argument is sent to the QLineEdit constructor.

Member Function Documentation

◆ keyPressEvent()

void ModifierLineEdit::keyPressEvent ( QKeyEvent *  e)
protected

Checks which modifiers are pressed and show it as text.


The documentation for this class was generated from the following files: