2
0
mirror of https://github.com/qarmin/czkawka synced 2024-11-10 07:10:40 +00:00
czkawka/krokiet/ui/common.slint
Rafał Mikrut dfb89b2f5e Actions
2024-02-11 10:25:14 +01:00

59 lines
999 B
Plaintext

export enum CurrentTab {
EmptyFolders,
EmptyFiles,
SimilarImages,
Settings
}
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,
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
}