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 FolderListTab folderListTab { tabControl };
18 FileTreeTab fileTreeTab { tabControl };
19 FolderTreeTab folderTreeTab { tabControl };
20 FileDetails fileDetails { tabControl };
21 FilteredList filteredList { tabControl };
22 FilteredTree filteredTree { tabControl };
23 RootList rootList { tabControl };
24 RootTree rootTree { tabControl };
27 FileSystemBoxTestWindow testWindow { };
31 background = activeBorder;
34 class FileListTab : TestTab
41 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
45 class FolderListTab : TestTab
53 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
57 class FileTreeTab : TestTab
65 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
69 class FolderTreeTab : TestTab
78 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
82 class FileDetails : TestTab
89 details = true; // TODO: figure out why commented out (see FileSystemBox) code crashes the form designer
90 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
94 class FilteredList : TestTab
96 text = "FilteredList";
101 extensions = "epj, ec";
102 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
106 class FilteredTree : TestTab
108 text = "FilteredTree";
113 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
115 extensions = "txt, text, nfo, info";
120 class RootList : TestTab
128 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
132 class RootTree : TestTab
140 anchor = { left = 4, top = 4, right = 4, bottom = 4 };
146 class FileSystemBoxTestApp : GuiApplication