D10792: Raise annotation window when clicking on annotation

Albert Astals Cid noreply at phabricator.kde.org
Sat Mar 31 21:50:15 UTC 2018


aacid added a comment.


  In D10792#237224 <https://phabricator.kde.org/D10792#237224>, @simgunz wrote:
  
  > Ok. I figured it out myself.
  >
  > I need to export `AnnotWindow` (add `OKULARCORE_EXPORT` to the class `AnnotWindow`)  if I want to use `findChild` to retrieve it. I am not sure if this should be exported just for the autotest. Maybe  there is an alternative method to avoid this.
  
  
  Do you need AnnotWindow itself? Probably you're just fine searching/using QFrame (its parent class)? In this case you don't need to export AnnowWindow.

REPOSITORY
  R223 Okular

REVISION DETAIL
  https://phabricator.kde.org/D10792

To: simgunz, #okular, aacid
Cc: ngraham, #okular, michaelweghorn, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20180331/1ebb4b83/attachment.html>


More information about the Okular-devel mailing list