Platforms to show: All Mac Windows Linux Cross-Platform
QuickLook
Use QuickLook, Apple's engine to generate previews of documents.
- Classes
- class QLPreviewControllerMBS
- method AddItem(item as FolderItem)
- method AddItem(item as FolderItem, title as String)
- method AddItems(items() as FolderItem)
- shared method canPreviewItem(file as FolderItem) as Boolean
- method ClearItems
- method Constructor
- method Destructor
- method Dismiss
- method Items as FolderItem()
- method Present
- method refreshCurrentPreviewItem
- method reloadData
- method SetItems(items() as FolderItem)
- property currentPreviewItem as FolderItem
- property currentPreviewItemIndex as Integer
- property Handle as Integer
- event DidDismiss
- event didSaveEditedCopyOfPreviewItem(Item as FolderItem, modifiedContentsFile as FolderItem)
- event didUpdateContentsOfPreviewItem(Item as FolderItem)
- event editingModeForPreviewItem(Item as FolderItem) as Integer
- event shouldOpenURL(URL as String, Item as FolderItem) as Boolean
- event WillDismiss
- class QLPreviewPanelMBS
- shared method Available as boolean
- method Constructor
- method currentPreviewItem as folderitem
- method enterFullScreenMode(screen as NSScreenMBS)
- method exitFullScreenMode
- method refreshCurrentPreviewItem
- method reloadData
- method updateController
- property currentPreviewItemIndex as Integer
- property inFullScreenMode as boolean
- property PreviewView as QLPreviewViewMBS
- event beginPreviewPanel
- event didLoadPreviewItem(file as folderitem)
- event endPreviewPanel
- event handleEvent(e as NSEventMBS) as boolean
- event numberOfPreviewItems as Integer
- event previewItemAtIndex(index as Integer) as folderitem
- event sourceFrameOnScreenForPreviewItem(file as folderitem) as NSRectMBS
- event transitionImageForPreviewItem(file as folderitem, byref contentRect as NSRectMBS) as NSImageMBS
- event willLoadPreviewItem(file as folderitem)
- class QLPreviewViewMBS
- shared method Available as boolean
- method close
- method Constructor
- method Constructor(Handle as Integer)
- method Constructor(left as Double, top as Double, width as Double, height as Double)
- method Constructor(left as Double, top as Double, width as Double, height as Double, style as Integer)
- method refreshPreviewItem
- property autostarts as boolean
- property previewItem as folderitem
- property shouldCloseWithWindow as boolean
- class QLThumbnailGenerationRequestMBS
- method Constructor(File as FolderItem, width as Integer = 512, height as Integer = 512, scale as double = 2.0, representationTypes as Integer = &hFF)
- property contentType as String
- property Handle as Integer
- property height as Double
- property iconMode as Boolean
- property minimumDimension as Double
- property representationTypes as Integer
- property scale as Double
- property width as Double
- class QLThumbnailGeneratorMBS
- method cancelRequest(request as QLThumbnailGenerationRequestMBS)
- method Constructor
- method generateBestRepresentationForRequest(request as QLThumbnailGenerationRequestMBS)
- method generateRepresentationsForRequest(request as QLThumbnailGenerationRequestMBS)
- method saveBestRepresentationForRequest(request as QLThumbnailGenerationRequestMBS, file as FolderItem, contentType as String)
- shared method sharedGenerator as QLThumbnailGeneratorMBS
- property Handle as Integer
- event generateBestRepresentationForRequestCompleted(request as QLThumbnailGenerationRequestMBS, thumbnail as QLThumbnailRepresentationMBS, error as NSErrorMBS)
- event generateRepresentationsForRequestUpdated(request as QLThumbnailGenerationRequestMBS, thumbnail as QLThumbnailRepresentationMBS, type as Integer, error as NSErrorMBS)
- event saveBestRepresentationForRequestCompleted(request as QLThumbnailGenerationRequestMBS, error as NSErrorMBS, file as FolderItem)
- class QLThumbnailRepresentationMBS
- method Constructor
- property CGImage as Variant
- property contentRectHeight as Double
- property contentRectLeft as Double
- property contentRectTop as Double
- property contentRectWidth as Double
- property Handle as Integer
- property NSImage as NSImageMBS
- property Picture as Picture
- property Type as Integer
- class QLPreviewControllerMBS
- Class Extensions
- class FolderItem
- method QuickLookMBS(MaxWidth as Integer = 500, MaxHeight as Integer = 500, IconMode as Boolean = false, ScaleFactor as Double = 1.0) as picture
- method QuickLookMTMBS(MaxWidth as Integer = 500, MaxHeight as Integer = 500, IconMode as Boolean = false, ScaleFactor as Double = 1.0) as picture
- class FolderItem
- Controls
- control DesktopQLPreviewViewControlMBS
- property View as QLPreviewViewMBS
- event BoundsChanged
- event Closing
- event ConstructContextualMenu(base as DesktopMenuItem, x as Integer, y as Integer) As Boolean
- event ContextualMenuItemSelected(selectedItem As DesktopMenuItem) As Boolean
- event didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- event FocusLost
- event FocusReceived
- event FrameChanged
- event MenuBarSelected
- event MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
- event MouseDrag(x as Integer, y as Integer)
- event MouseUp(x as Integer, y as Integer)
- event Opening
- event ScaleFactorChanged(NewFactor as Double)
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- control QLPreviewViewControlMBS
- property View as QLPreviewViewMBS
- event BoundsChanged
- event Close
- event Closing
- event ConstructContextualMenu(base as MenuItem, x as Integer, y as Integer) as Boolean
- event ContextualMenuAction(hitItem as MenuItem) as Boolean
- event didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- event EnableMenuItems
- event FocusLost
- event FocusReceived
- event FrameChanged
- event GotFocus
- event LostFocus
- event MenuBarSelected
- event MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
- event MouseDrag(x as Integer, y as Integer)
- event MouseUp(x as Integer, y as Integer)
- event Open
- event Opening
- event ScaleFactorChanged(NewFactor as Double)
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- control DesktopQLPreviewViewControlMBS
- Examples
- /Audio/PortAudio
- /CURL/FTP/CURLS ftp file upload with progress
- /DynaPDF/PlaceTemplate test
- /Images/LCMS2/CMYK/RGB to CMYK and back
- /MacCF/My details MacOSX
- /MacCocoa/NSImage EPS Test/NSImage EPS Test
- /MacControls/TextEdit MBS
- /MacOSX/Disk Arbitration/Events
- /MacOSX/Permission test
- /XL/AutoFilter Sort
- Blog Entries
- News from the MBS Xojo Plugins Version 25.5
- MonkeyBread Software Releases the MBS Xojo Plugins in version 25.5
- News from the MBS Xojo Plugins Version 23.3
- MonkeyBread Software Releases the MBS Xojo Plugins in version 23.3
- Adding QuickLook preview for iOS to Xojo
- News from the MBS Xojo Plugins in version 21.5
- New desktop controls
- MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 15.0
- File Previews on Windows
- MBS Plugins 10.3 Release Notes
Release notes
- Version 26.2
- Added beginPreviewPanel and endPreviewPanel events to QLPreviewPanelMBS class.
- Version 25.5
- Added AddItem() method variant to QLPreviewControllerMBS class, which takes an title text.
- Version 24.4
- Changed QLThumbnailGeneratorMBS to retain your instance while the asynchronous operation works.
- Version 24.3
- Fixed memory leak in QLThumbnailGeneratorMBS class.
- Version 24.2
- Added AllowRotation parameter for QLPreviewControllerMBS class constructor to allow more rotation than the parent view.
- Added QLThumbnailGenerationRequestMBS, QLThumbnailGeneratorMBS and QLThumbnailRepresentationMBS classes.
- Version 23.3
- Added QLPreviewControllerMBS class for iOS to preview documents and markup PDFs.
- Version 21.1
- Fixed problem in QLPreviewPanelMBS, broken in version 21.0.
- Version 19.5
- Changed QLPreviewPanelMBS to not switch to empty content if you switch to other Xojo window.
The items on this page are in the following plugins: MBS Audio Plugin, MBS CURL Plugin, MBS DynaPDF Plugin, MBS Images Plugin, MBS iOS Plugin, MBS MacCF Plugin, MBS MacCocoa Plugin, MBS MacControls Plugin, MBS MacFrameworks Plugin, MBS MacOSX Plugin, MBS XL Plugin.