[Okular-devel] Dt. 1st August - status

Albert Astals Cid aacid at kde.org
Thu Aug 1 21:03:04 UTC 2013


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



More information about the Okular-devel mailing list