[Konsole-devel] konsole kpart and mouse interaction

Robert Knight robertknight at gmail.com
Tue Jun 24 13:06:50 UTC 2008


Hi Giacomo,

No, the KPart does not provide an interface to get information about the
mouse position.  When text is selected it is immediately copied into the
X11 selection buffer, so you can retrieve it using
QApplication::clipboard()->text(QClipboard::Selection)

Regards,
Robert.

On Tue, 2008-06-24 at 13:56 +0200, Giacomo wrote:
> Good morning.
> 
> Just a simple question..
> is it possible in a konsole embedded in an application as a KPart to
> interact in some way
> with the mouse, for instance to get the row that the mouse is over, or
> the selected text
> (without copy/paste of course)??
> 
> Thanks for the attention and for any suggestion.
> 
> Giacomo
> 




More information about the konsole-devel mailing list