Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileEdit

Widget with a button which opens a file picker dialog and displays the path in the dialog.

Hierarchy

Index

Constructors

constructor

Properties

enabled

enabled: boolean

If false, the widget cannot be interacted with. Qt documentation: QWidget.enabled

fileUrl

fileUrl: QUrl

The Qt.QUrl of the currently selected file.

fileUrlChanged

fileUrlChanged: Signal<QUrl>

Signal emitted when the selected fileUrl changes.

filter

filter: string

When specified, only files that match the filter are shown.

isDirectory

isDirectory: boolean

If true, the user will be prompted for a directory rather than a file. Defaults to false.

minimumHeight

minimumHeight: number

You can use this property to prevent the widget from being resized to a height below this amount.

minimumWidth

minimumWidth: number

You can use this property to prevent the widget from being resized to a width below this amount.

styleSheet

styleSheet: string

Set this property to override the style sheet for this widget.

See https://doc.qt.io/qt-6/stylesheet.html and https://doc.qt.io/qt-6/stylesheet-examples.html for more information.

toolTip

toolTip: string

The toolTip displayed when the user mouses over this widget

visible

visible: boolean

Controls whether this widget is visible. When toggling this property, the dialog layout will automatically adjust itself based on the visible widgets. Qt documentation: QWidget.visible;

Generated using TypeDoc