Platforms to show: All Mac Windows Linux Cross-Platform

Back to QLPreviewViewMBS class.

QLPreviewViewMBS.autostarts as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property QuickLook MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether playback of audio/video files automatically starts.

(Read and Write computed property)

Some examples using this property:

QLPreviewViewMBS.close

Type Topic Plugin Version macOS Windows Linux iOS Targets
method QuickLook MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Closes the receiver, releasing the current preview item.

Once the receiver has closed, it will no longer accept preview items.

The application is required to call close when the receiver is no longer needed if shouldCloseWithWindow is false.
The close method will be called automatically when the window closes if shouldCloseWithWindow is true.

QLPreviewViewMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method QuickLook MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new quicklook preview view with size 100/100 and position 0/0
Example
dim t as new QLPreviewViewMBS

On success the handle property is not zero.

See also:

QLPreviewViewMBS.Constructor(Handle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method QuickLook MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates an object based on the given QLPreviewView handle.
Example
dim t as new QLPreviewViewMBS(0, 0, 100, 100)
dim v as new QLPreviewViewMBS(t.handle)

MsgBox str(v.Bounds.Width)+" x "+str(v.Bounds.Height)

The handle is casted to a QLPreviewView and the plugin retains this handle.

See also:

QLPreviewViewMBS.Constructor(left as Double, top as Double, width as Double, height as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method QuickLook MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new QuickLook preview view with the given size and position.
Example
dim x as new QLPreviewViewMBS(0, 0, 100, 100)

On success the handle property is not zero.

See also:

QLPreviewViewMBS.Constructor(left as Double, top as Double, width as Double, height as Double, style as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method QuickLook MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new QuickLook preview view with the given size and position.
Example
dim view as new QLPreviewViewMBS(0, 0, 200, 200, QLPreviewViewMBS.StyleCompact)

On success the handle property is not zero.

On Mac OS X 10.7 or later we use the new style parameter to create a Preview view with the given style.

See also:

QLPreviewViewMBS.previewItem as folderitem

Type Topic Plugin Version macOS Windows Linux iOS Targets
property QuickLook MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The current visible item in the view.

(Read and Write computed property)

Some examples using this property:

QLPreviewViewMBS.refreshPreviewItem

Type Topic Plugin Version macOS Windows Linux iOS Targets
method QuickLook MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Asks the Preview view to recompute the preview of the currently previewed item.

QLPreviewViewMBS.shouldCloseWithWindow as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property QuickLook MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Set whether the receiver closes when its window closes.

See close method.
(Read and Write computed property)

Some examples using this property:

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...