Support for C$ File Explorer
1. Need to implement threaded file explorer to prevent parent thread blocking https://pm.racooncity.org/project/champ/kanban
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
import { AboutSlint, VerticalBox, GridBox, Button, LineEdit, HorizontalBox, TextEdit, SpinBox } from "std-widgets.slint";
|
||||
|
||||
export global ComputerModuleCallbacks {
|
||||
pure callback killCherwell();
|
||||
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 {
|
||||
@@ -19,6 +25,9 @@ export component ComputerModules inherits Window {
|
||||
|
||||
LineEdit {
|
||||
height: 35px;
|
||||
edited(text) => {
|
||||
ComputerModuleCallbacks.computername = self.text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +37,9 @@ export component ComputerModules inherits Window {
|
||||
spacing: 5px;
|
||||
Button {
|
||||
text: "Computer File Explorer";
|
||||
clicked => {
|
||||
ComputerModuleCallbacks.CFE();
|
||||
}
|
||||
}
|
||||
|
||||
Button {
|
||||
|
||||
Reference in New Issue
Block a user