1
0
Fork 0
mirror of synced 2024-06-01 18:19:46 +12:00
czkawka/krokiet/ui/common.slint

69 lines
1.2 KiB
Plaintext
Raw Normal View History

export enum CurrentTab {
2024-02-15 21:31:20 +13:00
DuplicateFiles,
EmptyFolders,
2024-02-15 21:31:20 +13:00
BigFiles,
EmptyFiles,
2024-02-15 21:31:20 +13:00
TemporaryFiles,
SimilarImages,
2024-02-15 21:31:20 +13:00
SimilarVideos,
2024-02-15 23:45:59 +13:00
SimilarMusic,
2024-02-15 21:31:20 +13:00
InvalidSymlinks,
BrokenFiles,
BadExtensions,
2024-02-15 10:44:39 +13:00
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,
2024-02-17 05:53:13 +13:00
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
}