BrowserSettings

Search for usage in LXR

BrowserSettings Class Reference
Inheritance diagram for 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

var BrowserSettings::filters
read

A list of string text to filter the current location entries.

Definition at line 32 of file BrowserSettings.qml.

◆ filterType

int BrowserSettings::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

bool BrowserSettings::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

bool BrowserSettings::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

bool BrowserSettings::onlyDirs
read

Whether only directories should be listed.

By default this is set to false

Definition at line 43 of file BrowserSettings.qml.

◆ searchBarVisible

bool BrowserSettings::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

bool BrowserSettings::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

bool BrowserSettings::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

int BrowserSettings::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

int BrowserSettings::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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:51:27 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.