Platforms to show: All Mac Windows Linux Cross-Platform
Back to QLPreviewPanelMBS class.
QLPreviewPanelMBS.didLoadPreviewItem(file as folderitem)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | QuickLook | MBS MacFrameworks Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ❌ No |
QLPreviewPanelMBS.handleEvent(e as NSEventMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | QuickLook | MBS MacFrameworks Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Returns true if you did not handle this event.
Some examples using this event:
QLPreviewPanelMBS.numberOfPreviewItems as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | QuickLook | MBS MacFrameworks Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Some examples using this event:
QLPreviewPanelMBS.previewItemAtIndex(index as Integer) as folderitem
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | QuickLook | MBS MacFrameworks Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Some examples using this event:
QLPreviewPanelMBS.sourceFrameOnScreenForPreviewItem(file as folderitem) as NSRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | QuickLook | MBS MacFrameworks Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Return a zero rect if there is no origin point, this will produce a fade of the panel. The coordinates are screen based.
Some examples using this event:
QLPreviewPanelMBS.transitionImageForPreviewItem(file as folderitem, byref contentRect as NSRectMBS) as NSImageMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | QuickLook | MBS MacFrameworks Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Invoked when the preview panel opens or closes to provide a smooth transition when zooming.
contentRect: The rect within the image that actually represents the content of the document. For example, for icons the actual rect is generally smaller than the icon itself.
Return an image the panel will crossfade with when opening or closing. You can specify the actual "document" content rect in the image in contentRect.
QLPreviewPanelMBS.willLoadPreviewItem(file as folderitem)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | QuickLook | MBS MacFrameworks Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ❌ No |
The items on this page are in the following plugins: MBS MacFrameworks Plugin.