Class TCastleOpenImageDialog

Unit

Declaration

type TCastleOpenImageDialog = class(TOpenPictureDialog)

Description

Image open dialog. It uses an URL, and additionally initializes the filters to include all the image types our engine can load through CastleImages.LoadImage.

Source: src/lcl/castledialogs.pas (line 99).

Hierarchy

  • TObject
  • TPersistent
  • TComponent
  • TLCLComponent
  • TCommonDialog
  • TFileDialog
  • TOpenDialog
  • TPreviewFileDialog
  • TOpenPictureDialog
  • TCastleOpenImageDialog

Overview

Methods

Protected function DoExecute: boolean; override;
Public constructor Create(AOwner: TComponent); override;
Public function UrlCount: Integer;

Properties

Public property Urls[Index: Integer]: String read GetUrlWithIndex;
Published property Url: String read GetUrl write SetUrl stored false;
Published property AdviceDataDirectory: Boolean read FAdviceDataDirectory write FAdviceDataDirectory default false;
Published property UseCastleDataProtocol: Boolean read FUseCastleDataProtocol write FUseCastleDataProtocol default true;
Published property Filter stored StoreFilterAndFilterIndex;
Published property FilterIndex stored StoreFilterAndFilterIndex;

Description

Methods

Protected function DoExecute: boolean; override;

This item has no description.

Source: src/lcl/castledialogs.pas (line 111).

Public constructor Create(AOwner: TComponent); override;

This item has no description.

Source: src/lcl/castledialogs.pas (line 113).

Public function UrlCount: Integer;

Number of selected images to open (useful when multi-selection is allowed).

Source: src/lcl/castledialogs.pas (line 116).

Properties

Public property Urls[Index: Integer]: String read GetUrlWithIndex;

Get Url of a selected image to open (useful when multi-selection is allowed).

Source: src/lcl/castledialogs.pas (line 119).

Published property Url: String read GetUrl write SetUrl stored false;

This item has no description.

Source: src/lcl/castledialogs.pas (line 121).

Published property AdviceDataDirectory: Boolean read FAdviceDataDirectory write FAdviceDataDirectory default false;

Warn (but still allow) if user selects URL outside of data directory.

Source: src/lcl/castledialogs.pas (line 123).

Published property UseCastleDataProtocol: Boolean read FUseCastleDataProtocol write FUseCastleDataProtocol default true;

If the URL is detected inside data directory ( https://castle-engine.io/data ), make sure it starts with protocol castle-data:/ .

Source: src/lcl/castledialogs.pas (line 126).

Published property Filter stored StoreFilterAndFilterIndex;

This item has no description.

Source: src/lcl/castledialogs.pas (line 127).

Published property FilterIndex stored StoreFilterAndFilterIndex;

This item has no description.

Source: src/lcl/castledialogs.pas (line 128).


Generated by PasDoc 0.17.0.snapshot.