
Originally Posted by
anda_skoa
You don't need sendText(), you can just connect to the QLIneEdit's textChanged(QString) signal.
yea we went over this , was just making it clearer by emitting his own signal.
in the header file just add :
signals:
signals:
void sendText(QString);
To copy to clipboard, switch view to plain text mode
and in the .cpp file in the method where you need to emit the signal add:
emit sendText(/*your string */);
emit sendText(/*your string */);
To copy to clipboard, switch view to plain text mode
Bookmarks