21 lines
488 B
C++
21 lines
488 B
C++
#ifndef ExpandInput_H
|
|
#define ExpandInput_H
|
|
#include "../Global.h"
|
|
#include <QLineEdit>
|
|
class ExpandInput : public QLineEdit {
|
|
public:
|
|
explicit ExpandInput(QWidget *parent = nullptr);
|
|
QFont mFont;
|
|
protected:
|
|
void paintEvent(QPaintEvent *event) override;
|
|
void resizeEvent(QResizeEvent *event) override;
|
|
void focusInEvent(QFocusEvent *event) override;
|
|
void focusOutEvent(QFocusEvent *event) override;
|
|
|
|
void keyPressEvent(QKeyEvent *event) override;
|
|
};
|
|
#endif
|
|
|
|
|
|
|