Le 22 déc. 2012 à 13:46, Christian Schmitz a écrit:
> Did you see the "QuickLook Panel.rbp" example project?
Sadly, no. As I said, the only QuickLook example I found is the QuickLook Items
file. But it has been several months since I've not downloaded the examples
(since I didn't realise they were now separate than the download). Mine may be
outdated, I'll manage to download them.
> This one works for me, even with just one file.
> You may see several NumberOfPreviewItems calls before you get the first
> previewItemAtIndex call.
Well, it's working well now. I just have to adjust the rectangle on the
SourceFrameOnScreenForPreviewItem event (I'm guessing the coordinates aren't
translated to RB's system, so the “top” is at the bottom).
However, I'm getting this in the console:
22.12.12 13:44:42 My Application.debug[5016] [QL] QLError():
-[QLPreviewPanel setDataSource:] called while the panel has no controller - Fix
this or this will raise soon.
See comments in QLPreviewPanel.h for
-acceptsPreviewPanelControl:/-beginPreviewPanelControl:/-endPreviewPanelControl:.
And
22.12.12 13:44:42 My Application.debug[5016] [QL] QLError():
-[QLPreviewPanel reloadData] called while the panel has no controller - Fix
this or this will raise soon.
See comments in QLPreviewPanel.h for
-acceptsPreviewPanelControl:/-beginPreviewPanelControl:/-endPreviewPanelControl:.
I've checked my QLPreviewPanel.h files but did not find something related (I'm
not an expert in C variants, anyway, that's why I use RB). I'm not hiding the
controller explicitly, so I'm not sure what happens here.
Thanks
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info