config_dialog.ui 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?xml version="1.0"?>
  2. <interface>
  3. <requires lib="gtk+" version="2.16"/>
  4. <!-- interface-naming-policy toplevel-contextual -->
  5. <object class="GtkWindow" id="window1">
  6. <child>
  7. <object class="GtkTable" id="config_table">
  8. <property name="visible">True</property>
  9. <property name="border_width">6</property>
  10. <property name="n_rows">4</property>
  11. <property name="n_columns">2</property>
  12. <property name="column_spacing">7</property>
  13. <property name="row_spacing">5</property>
  14. <child>
  15. <object class="GtkLabel" id="label1">
  16. <property name="visible">True</property>
  17. <property name="xalign">0</property>
  18. <property name="label" translatable="yes">command 1:</property>
  19. </object>
  20. <packing>
  21. <property name="x_options">GTK_FILL</property>
  22. <property name="y_options">GTK_FILL</property>
  23. </packing>
  24. </child>
  25. <child>
  26. <object class="GtkLabel" id="label2">
  27. <property name="visible">True</property>
  28. <property name="xalign">0</property>
  29. <property name="label" translatable="yes">command 2:</property>
  30. </object>
  31. <packing>
  32. <property name="top_attach">1</property>
  33. <property name="bottom_attach">2</property>
  34. <property name="x_options">GTK_FILL</property>
  35. <property name="y_options">GTK_FILL</property>
  36. </packing>
  37. </child>
  38. <child>
  39. <object class="GtkEntry" id="command1">
  40. <property name="width_request">300</property>
  41. <property name="visible">True</property>
  42. <property name="can_focus">True</property>
  43. <property name="invisible_char">&#x25CF;</property>
  44. </object>
  45. <packing>
  46. <property name="left_attach">1</property>
  47. <property name="right_attach">2</property>
  48. <property name="y_options"/>
  49. </packing>
  50. </child>
  51. <child>
  52. <object class="GtkEntry" id="command2">
  53. <property name="visible">True</property>
  54. <property name="can_focus">True</property>
  55. <property name="invisible_char">&#x25CF;</property>
  56. </object>
  57. <packing>
  58. <property name="left_attach">1</property>
  59. <property name="right_attach">2</property>
  60. <property name="top_attach">1</property>
  61. <property name="bottom_attach">2</property>
  62. <property name="y_options"/>
  63. </packing>
  64. </child>
  65. <child>
  66. <object class="GtkLabel" id="label3">
  67. <property name="visible">True</property>
  68. <property name="xalign">0</property>
  69. <property name="label" translatable="yes">command 1:</property>
  70. </object>
  71. <packing>
  72. <property name="top_attach">2</property>
  73. <property name="bottom_attach">3</property>
  74. <property name="x_options">GTK_FILL</property>
  75. <property name="y_options">GTK_FILL</property>
  76. </packing>
  77. </child>
  78. <child>
  79. <object class="GtkEntry" id="group">
  80. <property name="visible">True</property>
  81. <property name="can_focus">True</property>
  82. <property name="invisible_char">&#x25CF;</property>
  83. </object>
  84. <packing>
  85. <property name="left_attach">1</property>
  86. <property name="right_attach">2</property>
  87. <property name="top_attach">2</property>
  88. <property name="bottom_attach">3</property>
  89. <property name="y_options"/>
  90. </packing>
  91. </child>
  92. <child>
  93. <object class="GtkCheckButton" id="flash_cb">
  94. <property name="label" translatable="yes">Do not flash the LED, only switch it on.</property>
  95. <property name="visible">True</property>
  96. <property name="can_focus">True</property>
  97. <property name="receives_default">False</property>
  98. <property name="draw_indicator">True</property>
  99. </object>
  100. <packing>
  101. <property name="left_attach">1</property>
  102. <property name="right_attach">2</property>
  103. <property name="top_attach">3</property>
  104. <property name="bottom_attach">4</property>
  105. <property name="y_options"/>
  106. </packing>
  107. </child>
  108. <child>
  109. <object class="GtkCheckButton" id="group_cb">
  110. <property name="label" translatable="yes">Check if event come from a user with a specific group.</property>
  111. <property name="visible">True</property>
  112. <property name="can_focus">True</property>
  113. <property name="receives_default">False</property>
  114. <property name="draw_indicator">True</property>
  115. </object>
  116. <packing>
  117. <property name="left_attach">1</property>
  118. <property name="right_attach">2</property>
  119. <property name="top_attach">4</property>
  120. <property name="bottom_attach">5</property>
  121. <property name="y_options"/>
  122. </packing>
  123. </child>
  124. <child>
  125. <placeholder/>
  126. </child>
  127. </object>
  128. </child>
  129. </object>
  130. </interface>