4 class FileSystemBoxTestWindow : Window
6 text = "FileSystemBox Test Window";
7 background = activeBorder;
14 TabControl tabControl { this, background = activeBorder, anchor = { left = 4, top = 4, right = 4, bottom = 4 } };
16 FileListTab fileListTab { tabControl };
17 JustFilesTab justFilesTab { tabControl };
18 FolderListTab folderListTab { tabControl };
19 FileTreeTab fileTreeTab { tabControl };
20 FolderTreeTab folderTreeTab { tabControl };
21 FileDetails fileDetails { tabControl };
22 FilteredList filteredList { tabControl };
23 FilteredTree filteredTree { tabControl };
24 RootList rootList { tabControl };
25 RootTree rootTree { tabControl };
28 FileSystemBoxTestWindow testWindow { };
32 background = activeBorder;
35 class FileListTab : TestTab
42 navigateFolders = true;
43 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
47 class JustFilesTab : TestTab
55 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
59 class FolderListTab : TestTab
67 navigateFolders = true;
68 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
72 class FileTreeTab : TestTab
80 navigateFolders = true;
81 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
85 class FolderTreeTab : TestTab
94 navigateFolders = true;
95 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
99 class FileDetails : TestTab
101 text = "FileDetails";
106 details = true; // TODO: figure out why commented out (see FileSystemBox) code crashes the form designer
107 navigateFolders = true;
108 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
112 class FilteredList : TestTab
114 text = "FilteredList";
119 extensions = "epj, ec";
120 navigateFolders = true;
121 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
125 class FilteredTree : TestTab
127 text = "FilteredTree";
132 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
133 extensions = "txt, text, nfo, info";
138 class RootList : TestTab
146 navigateFolders = true;
147 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
151 class RootTree : TestTab
160 navigateFolders = true;
161 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
165 class FileSystemBoxTestApp : GuiApplication