El Dijous, 1 d'agost de 2013, a les 22:58:33, Jaydeep Solanki va escriure: > Hi, > I solved yesterday's issue, got it working. > I can detect visibility property. > > Now the question is how to hide an element when "visibility : hidden", one > approach I have implemented is make the text color transparent, but that > doesn't solve the issue, because the text is not visible but it can be > selected. > Any other ideas ?
Making the text not selectable somehow, most probably that's not a one liner, since otherwise if it was the Qt guys would have implemented it. > > For, "visibility : collapse", what I'm thinking of is to delete the current > node, which has visibility equal to collapse, but the cache here is, I'm > inside a method of that object and I want to delete the object itself. > Possible ? Looks sensinble. Cheers, Albert > > I'm attaching a diff, if you want to have a look at the implementation. > > Cheers, > Jaydeep _______________________________________________ Okular-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/okular-devel
