Protocol

QLPreviewPanelDelegate

QLPreviewPanelDelegate is the protocol for the delegate of the Quick Look preview panel (QLPreviewPanel) object.

Declaration

protocol QLPreviewPanelDelegate

Overview

You can implement these methods to perform custom tasks in response to events in the preview panel.

Topics

Optional Methods

func previewPanel(QLPreviewPanel!, handle: NSEvent!) -> Bool

Invoked by the preview panel when it receives an event it doesn't handle. This method is optional.

func previewPanel(QLPreviewPanel!, sourceFrameOnScreenFor: QLPreviewItem!) -> NSRect

Returns the screen rectangle for a given preview item. This method is optional.

func previewPanel(QLPreviewPanel!, transitionImageFor: QLPreviewItem!, contentRect: UnsafeMutablePointer<NSRect>!) -> Any!

Returns the image to use for the transition zoom effect for a given item. This method is optional.

Relationships

Inherits From