sir,
Please tell me in which variable the line is stored so that I can access it and make operations on it.
I have added the following statement after the declaration of textedit:
QObject::connect(te,
SIGNAL(clicked
(int para,
int pos
)),
this,
SLOT(text
(int para
)));
QObject::connect(te,SIGNAL(clicked(int para,int pos)),this,SLOT(text(int para)));
To copy to clipboard, switch view to plain text mode
Is it correct or it gives any errors. And I would like to tell one thing that I need to get the text if I "Double click the mouse" and in above statement, the signal is simply clicked(). why it is so?
Bookmarks