You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
488 B
C++
25 lines
488 B
C++
#ifndef QTPLINEEDIT_H
|
|
#define QTPLINEEDIT_H
|
|
|
|
#include <QtWidgets\qlineedit.h>
|
|
|
|
class QTpLineEdit : public QLineEdit
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QTpLineEdit(QWidget *parent);
|
|
~QTpLineEdit();
|
|
private Q_SLOTS:
|
|
void OnCursorPositionChanged(int nOld, int nNew);
|
|
void OnEditingFinished();
|
|
void OnReturnPressed();
|
|
void OnSelectionChanged();
|
|
void OnTextChanged(const QString& text);
|
|
void OnTextEdited(const QString& text);
|
|
private:
|
|
|
|
};
|
|
|
|
#endif // QTPLINEEDIT_H
|