313af54dca
1. Completed Geolocate API Module 2. Started User Search Modules 3. Laid ground work for Computer Modules Added error handling in Geolocate API Added place holder for update check function Support for C$ File Explorer 1. Need to implement threaded file explorer to prevent parent thread blocking https://pm.racooncity.org/project/champ/kanban Support for C$ File Explorer 1. Need to implement multi threaded file explorer to prevent parent thread blocking https://pm.racooncity.org/project/champ/kanban
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
import { StandardListView } from "std-widgets.slint";
|
|
import { UserModules} from "pages/usermodules.slint";
|
|
import { ComputerModules } from "pages/computermodules.slint";
|
|
import { OtherTools } from "pages/othertools.slint";
|
|
import { SettingsModules } from "pages/settings.slint";
|
|
import { SideBar } from "sidebar.slint";
|
|
export { UserModuleCallbacks } from "pages/usermodules.slint";
|
|
export { ComputerModuleCallbacks } from "pages/computermodules.slint";
|
|
export { OtherToolCallbacks } from "pages/othertools.slint";
|
|
|
|
export component MainWindow inherits Window {
|
|
title: @tr("CHAMP");
|
|
preferred-width: 584px;
|
|
preferred-height: 561px;
|
|
HorizontalLayout {
|
|
side-bar := SideBar {
|
|
title: @tr("Menu");
|
|
model: [
|
|
@tr("Menu" => "User Modules"),
|
|
@tr("Menu" => "Computer Modules"),
|
|
@tr("Menu" => "Other Tools"),
|
|
@tr("Menu" => "Settings")
|
|
];
|
|
}
|
|
|
|
if(side-bar.current-item == 0): UserModules { }
|
|
if(side-bar.current-item == 1): ComputerModules { }
|
|
if(side-bar.current-item == 2): OtherTools { }
|
|
if(side-bar.current-item == 3): SettingsModules { }
|
|
}
|
|
}
|