Modules Progress
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
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
import { AboutSlint, VerticalBox, GridBox, Button, LineEdit, HorizontalBox, TextEdit, SpinBox } from "std-widgets.slint";
|
||||
|
||||
export global ComputerModuleCallbacks {
|
||||
pure callback CFE();
|
||||
pure callback CLU();
|
||||
pure callback LAPS();
|
||||
pure callback RTC();
|
||||
pure callback RRTC();
|
||||
pure callback SLP();
|
||||
in-out property <string> computername;
|
||||
}
|
||||
|
||||
export component ComputerModules inherits Window {
|
||||
VerticalLayout {
|
||||
spacing: 5px;
|
||||
@@ -15,6 +25,9 @@ export component ComputerModules inherits Window {
|
||||
|
||||
LineEdit {
|
||||
height: 35px;
|
||||
edited(text) => {
|
||||
ComputerModuleCallbacks.computername = self.text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,6 +37,9 @@ export component ComputerModules inherits Window {
|
||||
spacing: 5px;
|
||||
Button {
|
||||
text: "Computer File Explorer";
|
||||
clicked => {
|
||||
ComputerModuleCallbacks.CFE();
|
||||
}
|
||||
}
|
||||
|
||||
Button {
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
import { AboutSlint, VerticalBox, GridBox, Button, LineEdit, HorizontalBox, TextEdit, SpinBox, StandardListView } from "std-widgets.slint";
|
||||
|
||||
export global UserModuleCallbacks {
|
||||
pure callback searchUser();
|
||||
}
|
||||
|
||||
export component UserModules inherits Window {
|
||||
VerticalLayout {
|
||||
spacing: 5px;
|
||||
@@ -29,6 +33,9 @@ export component UserModules inherits Window {
|
||||
Button {
|
||||
text: "Search";
|
||||
primary: true;
|
||||
clicked => {
|
||||
UserModuleCallbacks.searchUser();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user