1
0
Fork 0
mirror of synced 2024-05-14 09:23:13 +12:00
czkawka/krokiet/ui/common.slint
Rafał Mikrut 0446ff366c
More work on Krokiet (#1210)
* Disable flaky tests

* More

* More

* About

* TODO

* More

* Heh

* Progress

* A little

* Music

* Models

* Subsettings

* Water

* Header

* Saving

* Poprawa elementów

* Ad

* Names
2024-02-17 13:53:42 +01:00

69 lines
1.2 KiB
Plaintext

export enum CurrentTab {
DuplicateFiles,
EmptyFolders,
BigFiles,
EmptyFiles,
TemporaryFiles,
SimilarImages,
SimilarVideos,
SimilarMusic,
InvalidSymlinks,
BrokenFiles,
BadExtensions,
Settings,
About
}
export enum TypeOfOpenedItem {
CurrentItem,
ParentItem,
}
export struct ProgressToSend {
current_progress: int,
all_progress: int,
step_name: string,
}
export struct MainListModel {
checked: bool,
header_row: bool,
full_header_row: bool,
selected_row: bool,
val_str: [string],
val_int: [int]
}
export enum BottomPanelVisibility {
NotVisible,
TextErrors,
Directories
}
export struct IncludedDirectoriesModel {
path: string,
referenced_folder: bool,
selected_row: bool,
}
export struct ExcludedDirectoriesModel {
path: string,
selected_row: bool,
}
export enum SelectMode {
SelectAll,
UnselectAll,
InvertSelection,
SelectTheBiggestSize,
SelectTheBiggestResolution,
SelectTheSmallestSize,
SelectTheSmallestResolution,
SelectNewest,
SelectOldest,
}
export struct SelectModel {
data: SelectMode,
name: string
}