BrowserSettings
Properties | |
var | filters |
int | filterType |
bool | foldersFirst |
bool | group |
bool | onlyDirs |
bool | searchBarVisible |
bool | showHiddenFiles |
bool | showThumbnails |
int | sortBy |
int | viewType |
Detailed Description
A group of properties to tweak the browser in the FileBrowser component.
- Warning
- This control is private and only exposed as part of the FileBrowser implementation. Can not be instantiated.
Definition at line 27 of file BrowserSettings.qml.
Property Documentation
◆ filters
|
read |
A list of string text to filter the current location entries.
Definition at line 32 of file BrowserSettings.qml.
◆ filterType
|
read |
Filter the content by mime type.
By default this is set to FMList.NONE
, so there is not any type of mimetype filtering
- See also
- FMList::FILTER
Definition at line 38 of file BrowserSettings.qml.
◆ foldersFirst
|
read |
Whether the folders should be sorted first and then the files.
By default this is set to true
Definition at line 76 of file BrowserSettings.qml.
◆ group
|
read |
Whether to group the entries by the sort type.
- See also
- sortBy By default this is set to
false
. Grouping the entries will make thew view go to the list view type.
Definition at line 65 of file BrowserSettings.qml.
◆ onlyDirs
|
read |
Whether only directories should be listed.
By default this is set to false
Definition at line 43 of file BrowserSettings.qml.
◆ searchBarVisible
|
read |
Whether the search bar should be visible By default this is set to false
Definition at line 81 of file BrowserSettings.qml.
◆ showHiddenFiles
|
read |
Whether to show the hidden file entries.
By default this is set to false
Definition at line 59 of file BrowserSettings.qml.
◆ showThumbnails
|
read |
Whether to show the thumbnail previews of images, videos, text files, and other supported types.
By default this is set to true
Definition at line 54 of file BrowserSettings.qml.
◆ sortBy
|
read |
The sorting field.
By default this is set to FMList.LABEL
, which will sort the entries alphabetically by their file names.
- See also
- FMList::SORTBY
Definition at line 49 of file BrowserSettings.qml.
◆ viewType
|
read |
The preferred view type, Can be a list or a grid.
By default this is set to FMList.ICON_VIEW
- See also
- FMList::VIEW_TYPE
Definition at line 71 of file BrowserSettings.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.