SettingsForm.ui.qml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. import QtQuick 2.12
  2. import QtQuick.Controls 2.5
  3. Page {
  4. width: 1280
  5. height: 470
  6. font.capitalization: Font.MixedCase
  7. ComboBox {
  8. id: settingsCovertMethodPicker
  9. x: 328
  10. y: 59
  11. width: 285
  12. height: 48
  13. model: ListModel {
  14. ListElement {
  15. text: "Method 1"
  16. }
  17. ListElement {
  18. text: "Method 2"
  19. }
  20. ListElement {
  21. text: "Method 3"
  22. }
  23. }
  24. }
  25. Text {
  26. id: settingsCovertMethodText
  27. x: 56
  28. y: 71
  29. color: "#ffffff"
  30. text: qsTr("Covert Channel Method:")
  31. font.pixelSize: 20
  32. }
  33. Button {
  34. id: settingsSwitchServerButton
  35. x: 549
  36. y: 343
  37. width: 182
  38. height: 71
  39. text: qsTr("Switch Server")
  40. font.pointSize: 15
  41. // @disable-check M223
  42. onClicked: {
  43. // @disable-check M222
  44. _qmlHandler.onSettingsSwitchServerButton()
  45. }
  46. }
  47. Text {
  48. id: settingsSaveIpText
  49. x: 56
  50. y: 154
  51. color: "#ffffff"
  52. text: qsTr("Save last IP:")
  53. font.pixelSize: 20
  54. }
  55. Switch {
  56. id: settingsSaveIpSwitch
  57. x: 328
  58. y: 142
  59. text: qsTr("")
  60. checked: false
  61. display: AbstractButton.IconOnly
  62. }
  63. }