napari_track_edit.import_export.menus.file_dialog_options

Functions

load_dialog_options([directories]) → qtpy.QtWidgets.QFileDialog.Option

Options for the file dialogs that pick something to load.

Module Contents

napari_track_edit.import_export.menus.file_dialog_options.load_dialog_options(directories: bool = False) → qtpy.QtWidgets.QFileDialog.Option

Options for the file dialogs that pick something to load.

On Linux the Qt-drawn dialog is used instead of the native one: inside the app, the native dialog (seen on Ubuntu 22.04) ignores the start directory and opens at “Recent”, so the last load location could not be offered.

Parameters:

directories (bool) – the dialog picks a directory, so only show those. Passed explicitly because giving options replaces the ShowDirsOnly that getExistingDirectory sets by default.