[Konsole-devel] konsole kpart and mouse interaction

Giacomo delleceste at gmail.com
Tue Jun 24 14:29:48 UTC 2008


2008/6/24 Robert Knight <robertknight at gmail.com>:
> 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)

This sounds good!
Thank you!

Giacomo

>
> 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
>>
>
> _______________________________________________
> konsole-devel mailing list
> konsole-devel at kde.org
> https://mail.kde.org/mailman/listinfo/konsole-devel
>



-- 
Giacomo S.
http://www.giacomos.it

- - - - - - - - - - - - - - - - - - - - - -

* Aprile 2008: iqfire-wall, un progetto
 open source che implementa un
 filtro di pacchetti di rete per Linux,
 e` disponibile per il download qui:
 http://sourceforge.net/projects/ipfire-wall

* Informazioni e pagina web ufficiale:
 http://www.giacomos.it/iqfire/index.html

- - - - - - - - - - - - - - - - - - - - - -

 . '' `.
: :' :
 `. ` '
 `- Debian GNU/Linux -- The power of freedom
 http://www.debian.org



More information about the konsole-devel mailing list