Le 02/12/2011 15:48, Bastien AMIEL a écrit :
>> Le 02/12/2011 12:33, Koen Deforche a écrit :
>>
>> something along these lines:
>>
>>     label->clicked().connect("function(o, e) {
>> window.open(\"http://www.google.be\";); }");
> How would you do to open a pdf contained in "resources/User.pdf" ?
>
> ------------------------------------------------------------------------------
Ok I answer to myself :

label->clicked().connect("function(o, e) {
window.open(\"resource/User.pdf\"); }");


But warning: on chrome pdf plugin must be disabled or it will display 
only a blank page (thats why I thought I misunderstood the way it was 
working).





------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to