Procs
proc cxLoginDateDialog(title: string = "Login Dialog"; text: string = "Login"): tuple[ name: string, password: string, date: string] {. ...raises: [OSError, IOError, ValueError, Exception], tags: [ExecIOEffect, ReadIOEffect, RootEffect, WriteIOEffect, ReadEnvEffect, TimeEffect, WriteDirEffect], forbids: [].}
-
cxLoginDateDialog
username,password,date dialog
proc cxLoginEncDialog(title: string = "Login Dialog"; text: string = "Login"; enckeytext: string = ""): tuple[name: string, password: string, enckey: string] {....raises: [OSError, IOError, ValueError, Exception], tags: [ExecIOEffect, ReadIOEffect, RootEffect, WriteIOEffect, ReadEnvEffect, TimeEffect, WriteDirEffect], forbids: [].}
-
cxLoginEncDialog
adds possibility to put in an encryption key pressing cancel exits application
proc cxProgress(): string {....raises: [IOError, ValueError], tags: [WriteIOEffect], forbids: [].}
proc cxZCheckbox(): string {....raises: [OSError, IOError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
- with checkbox
proc cxZColorSelector(): string {....raises: [OSError, IOError], tags: [ ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
- colorselector box
proc cxZCombobox(title: string = "cxZComboBox"; text: string = "Selections available"; cchoice: string = "London|Birmingham|Paris|Dubai|Vienna|Hongkong"; width: int = 250): string {. ...raises: [ValueError, OSError, IOError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
- cxZCombobox
proc cxZDialog(title: string = "cxZDialog"; text: string = "Demo Text"; hideText: bool = false): string {. ...raises: [ValueError, OSError, IOError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
- cxZDialog
proc cxZDisplayFile(filename: string; height: int = 400; width: int = 500): string {. ...raises: [OSError, IOError, ValueError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
- display text file , text can be edited and will be returned edited, file remains unchanged
proc cxZDisplayHtmlFile(filename: string; height: int = 600; width: int = 800): string {. ...raises: [OSError, IOError, ValueError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
- display html file , text can be edited and will be returned edited, file remains unchanged
proc cxZError(errortext: string = " An error has occured ") {. ...raises: [OSError, IOError, ValueError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
-
cxError
display an error message
proc cxZInfo(infotext: string = "Stay_calm_, carry_on"; width: int = 300) {. ...raises: [OSError, IOError, ValueError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
proc cxZIPort(): tuple[ip: string, port: string] {....raises: [OSError, IOError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
proc cxZList(): string {....raises: [OSError, IOError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
proc cxZLoginDialog(title: string = "Login Dialog"; text: string = "Login"): tuple[ name: string, password: string] {....raises: [OSError, IOError, ValueError, Exception], tags: [ExecIOEffect, ReadIOEffect, RootEffect, WriteIOEffect, ReadEnvEffect, TimeEffect, WriteDirEffect], forbids: [].}
-
cxZLoginDialog
pressing cancel exits application
proc cxZPwd(): string {....raises: [OSError, IOError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
-
cxZPwd
password input dialog box
proc cxZQuestion(ask: string = "How Are you ?"; cancel: string = "Tired"; ok: string = "Energetic"): bool {. ...raises: [OSError, IOError, ValueError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
- cxZQuestion
proc cxZquickLgLoginDialog(title: string = " QuickLg3 Login "; text: string = ""): tuple[ dbpass: string, accesscode: string] {. ...raises: [OSError, IOError, ValueError, Exception], tags: [ExecIOEffect, ReadIOEffect, RootEffect, WriteIOEffect, ReadEnvEffect, TimeEffect, WriteDirEffect], forbids: [].}
-
cxZquickLgLoginDialog
pressing cancel exits application
proc cxZRadio(): string {....raises: [OSError, IOError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
- with radiobutton
proc cxZScale(text: string = "cxScale"; value: int = 20; min: int = 0; max: int = 100; step: int = 5): int {. ...raises: [OSError, IOError, ValueError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
proc cxZSSHLoginDialog(title: string = "SSH Login Dialog"; text: string = "Login"): tuple[host: string, port: int, username: string, password: string, command: string] {. ...raises: [OSError, IOError, ValueError, Exception], tags: [ExecIOEffect, ReadIOEffect, RootEffect, WriteIOEffect, ReadEnvEffect, TimeEffect, WriteDirEffect], forbids: [].}
-
cxZSSHLoginDialog
pressing cancel exits application
proc cxZWarn(warntext: string = " This is a warning ! Hope you head it ! "; width: int = 250) {....raises: [ValueError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}
-
cxZWarn
display a warning message
proc cxZYesNo(text: string = ""; width: int = 300): string {. ...raises: [OSError, IOError, ValueError], tags: [ExecIOEffect, ReadIOEffect, RootEffect], forbids: [].}