18 lines
351 B
C++
18 lines
351 B
C++
|
#include "LineEditWithPopup.h"
|
||
|
|
||
|
LineEditWithPopup::LineEditWithPopup(QWidget *parent) : QLineEdit(parent)
|
||
|
{
|
||
|
connect(this, SIGNAL(signalCallPopup()), this, SLOT(slotShowPopup));
|
||
|
}
|
||
|
|
||
|
|
||
|
void LineEditWithPopup::mousePressEvent(QMouseEvent *event)
|
||
|
{
|
||
|
|
||
|
QLineEdit::mousePressEvent(event);
|
||
|
}
|
||
|
|
||
|
void LineEditWithPopup::slotShowPopup()
|
||
|
{
|
||
|
}
|