qudi.util.widgets.path_line_edit
This file contains a QWidget very similar to QLineEdit that can also open a file dialog to select directories and files and display them in the QLineEdit.
Classes
|
QLineEdit for editing file system paths directly or via QFileDialog. |
- class qudi.util.widgets.path_line_edit.PathLineEdit(text: str | None = None, parent: QWidget | None = None, dialog_caption: str | None = None, root_directory: str | None = None, filters: str | None = None, select_directory: bool | None = False, follow_symlinks: bool | None = False)[source]
Bases:
PySide2.QtWidgets.QWidgetQLineEdit for editing file system paths directly or via QFileDialog. No validation is performed on the entered string. Multiple paths are separated by single semicolon, e.g. ‘<path1>;<path2>;<path3>’
Specify multiple filters by separating them with double(!) semicolons, e.g.: Images (.png *.xpm *.jpg);;Text files (.txt);;XML files (*.xml)
- property paths: List[str]
!! processed by numpydoc !!
- staticMetaObject = <PySide2.QtCore.QMetaObject object>