solversuccessdialog.ui 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.22.1 -->
  3. <interface domain="sc">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkDialog" id="SolverSuccessDialog">
  6. <property name="can_focus">False</property>
  7. <property name="border_width">6</property>
  8. <property name="title" translatable="yes" context="solversuccessdialog|SolverSuccessDialog">Solving Result</property>
  9. <property name="resizable">False</property>
  10. <property name="modal">True</property>
  11. <property name="default_width">0</property>
  12. <property name="default_height">0</property>
  13. <property name="type_hint">dialog</property>
  14. <child>
  15. <placeholder/>
  16. </child>
  17. <child internal-child="vbox">
  18. <object class="GtkBox" id="dialog-vbox1">
  19. <property name="can_focus">False</property>
  20. <property name="orientation">vertical</property>
  21. <property name="spacing">12</property>
  22. <child internal-child="action_area">
  23. <object class="GtkButtonBox" id="dialog-action_area1">
  24. <property name="can_focus">False</property>
  25. <property name="layout_style">end</property>
  26. <child>
  27. <object class="GtkButton" id="ok">
  28. <property name="label" translatable="yes" context="solversuccessdialog|ok">Keep Result</property>
  29. <property name="visible">True</property>
  30. <property name="can_focus">True</property>
  31. <property name="can_default">True</property>
  32. <property name="has_default">True</property>
  33. <property name="receives_default">True</property>
  34. <property name="use_underline">True</property>
  35. </object>
  36. <packing>
  37. <property name="expand">False</property>
  38. <property name="fill">True</property>
  39. <property name="position">0</property>
  40. </packing>
  41. </child>
  42. <child>
  43. <object class="GtkButton" id="cancel">
  44. <property name="label" translatable="yes" context="solversuccessdialog|cancel">Restore Previous</property>
  45. <property name="visible">True</property>
  46. <property name="can_focus">True</property>
  47. <property name="receives_default">True</property>
  48. <property name="use_underline">True</property>
  49. </object>
  50. <packing>
  51. <property name="expand">False</property>
  52. <property name="fill">True</property>
  53. <property name="position">1</property>
  54. </packing>
  55. </child>
  56. </object>
  57. <packing>
  58. <property name="expand">False</property>
  59. <property name="fill">True</property>
  60. <property name="pack_type">end</property>
  61. <property name="position">2</property>
  62. </packing>
  63. </child>
  64. <child>
  65. <!-- n-columns=1 n-rows=1 -->
  66. <object class="GtkGrid" id="grid1">
  67. <property name="visible">True</property>
  68. <property name="can_focus">False</property>
  69. <property name="row_spacing">24</property>
  70. <child>
  71. <object class="GtkLabel" id="label1">
  72. <property name="visible">True</property>
  73. <property name="can_focus">False</property>
  74. <property name="label" translatable="yes" context="solversuccessdialog|label1">Do you want to keep the result or do you want to restore previous values?</property>
  75. <property name="wrap">True</property>
  76. <property name="max_width_chars">40</property>
  77. <property name="xalign">0</property>
  78. </object>
  79. <packing>
  80. <property name="left_attach">0</property>
  81. <property name="top_attach">2</property>
  82. </packing>
  83. </child>
  84. <child>
  85. <object class="GtkLabel" id="label2">
  86. <property name="visible">True</property>
  87. <property name="can_focus">False</property>
  88. <property name="label" translatable="yes" context="solversuccessdialog|label2">Solving successfully finished.</property>
  89. <property name="xalign">0</property>
  90. </object>
  91. <packing>
  92. <property name="left_attach">0</property>
  93. <property name="top_attach">0</property>
  94. </packing>
  95. </child>
  96. <child>
  97. <object class="GtkLabel" id="result">
  98. <property name="visible">True</property>
  99. <property name="can_focus">False</property>
  100. <property name="label" translatable="yes" context="solversuccessdialog|result">Result:</property>
  101. <property name="xalign">0</property>
  102. </object>
  103. <packing>
  104. <property name="left_attach">0</property>
  105. <property name="top_attach">1</property>
  106. </packing>
  107. </child>
  108. </object>
  109. <packing>
  110. <property name="expand">False</property>
  111. <property name="fill">True</property>
  112. <property name="position">0</property>
  113. </packing>
  114. </child>
  115. </object>
  116. </child>
  117. <action-widgets>
  118. <action-widget response="-5">ok</action-widget>
  119. <action-widget response="-6">cancel</action-widget>
  120. </action-widgets>
  121. </object>
  122. </interface>