CrashHandler.ui 5.29 KB
Newer Older
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>CrashHandler</class>
 <widget class="QWidget" name="CrashHandler">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
Hugo Beauzee-Luyssen's avatar
Hugo Beauzee-Luyssen committed
9 10
    <width>512</width>
    <height>370</height>
11 12 13
   </rect>
  </property>
  <property name="windowTitle">
14
   <string>VLMC Crash handler</string>
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
  </property>
  <layout class="QGridLayout" name="gridLayout">
   <property name="margin">
    <number>0</number>
   </property>
   <item row="0" column="0">
    <widget class="QWidget" name="widget" native="true">
     <property name="minimumSize">
      <size>
       <width>0</width>
       <height>110</height>
      </size>
     </property>
     <property name="maximumSize">
      <size>
       <width>16777215</width>
       <height>110</height>
      </size>
     </property>
     <property name="palette">
      <palette>
       <active>
        <colorrole role="Base">
         <brush brushstyle="SolidPattern">
          <color alpha="255">
           <red>255</red>
           <green>255</green>
           <blue>255</blue>
          </color>
         </brush>
        </colorrole>
        <colorrole role="Window">
         <brush brushstyle="SolidPattern">
          <color alpha="255">
           <red>255</red>
           <green>255</green>
           <blue>255</blue>
          </color>
         </brush>
        </colorrole>
       </active>
       <inactive>
        <colorrole role="Base">
         <brush brushstyle="SolidPattern">
          <color alpha="255">
           <red>255</red>
           <green>255</green>
           <blue>255</blue>
          </color>
         </brush>
        </colorrole>
        <colorrole role="Window">
         <brush brushstyle="SolidPattern">
          <color alpha="255">
           <red>255</red>
           <green>255</green>
           <blue>255</blue>
          </color>
         </brush>
        </colorrole>
       </inactive>
       <disabled>
        <colorrole role="Base">
         <brush brushstyle="SolidPattern">
          <color alpha="255">
           <red>255</red>
           <green>255</green>
           <blue>255</blue>
          </color>
         </brush>
        </colorrole>
        <colorrole role="Window">
         <brush brushstyle="SolidPattern">
          <color alpha="255">
           <red>255</red>
           <green>255</green>
           <blue>255</blue>
          </color>
         </brush>
        </colorrole>
       </disabled>
      </palette>
     </property>
     <property name="autoFillBackground">
      <bool>true</bool>
     </property>
     <layout class="QGridLayout" name="gridLayout_2">
      <item row="0" column="0" rowspan="3">
       <widget class="QLabel" name="logoLabel">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
         <string/>
        </property>
        <property name="pixmap">
         <pixmap resource="../../../ressources.qrc">:/images/images/vlmc.png</pixmap>
        </property>
       </widget>
      </item>
Hugo Beauzee-Luyssen's avatar
Hugo Beauzee-Luyssen committed
118 119 120 121 122 123 124 125 126 127
      <item row="0" column="1">
       <widget class="QLabel" name="titleLabel">
        <property name="text">
         <string>VLMC Crash handler</string>
        </property>
       </widget>
      </item>
      <item row="1" column="1" rowspan="2">
       <widget class="QLabel" name="label">
        <property name="text">
Nikoli's avatar
Nikoli committed
128
         <string>An error occurred. We're sorry for the inconvenient, though we saved your project. It will be reopened next time you open VLMC.</string>
Hugo Beauzee-Luyssen's avatar
Hugo Beauzee-Luyssen committed
129 130 131 132 133 134
        </property>
        <property name="wordWrap">
         <bool>true</bool>
        </property>
       </widget>
      </item>
135 136 137
     </layout>
    </widget>
   </item>
Hugo Beauzee-Luyssen's avatar
Hugo Beauzee-Luyssen committed
138
   <item row="3" column="0">
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
    <layout class="QHBoxLayout" name="horizontalLayout">
     <item>
      <spacer name="horizontalSpacer">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
154
      <widget class="QPushButton" name="okButton">
155
       <property name="text">
156 157 158 159 160 161 162 163
        <string>Ok</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="restartButton">
       <property name="text">
        <string>Restart</string>
164 165 166 167 168
       </property>
      </widget>
     </item>
    </layout>
   </item>
Hugo Beauzee-Luyssen's avatar
Hugo Beauzee-Luyssen committed
169 170 171 172 173 174 175
   <item row="2" column="0">
    <widget class="QTextEdit" name="backtraceDisplay">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
176
     </property>
Hugo Beauzee-Luyssen's avatar
Hugo Beauzee-Luyssen committed
177 178
     <property name="lineWrapMode">
      <enum>QTextEdit::NoWrap</enum>
179
     </property>
Hugo Beauzee-Luyssen's avatar
Hugo Beauzee-Luyssen committed
180 181 182 183
     <property name="readOnly">
      <bool>true</bool>
     </property>
    </widget>
184 185
   </item>
   <item row="1" column="0">
Hugo Beauzee-Luyssen's avatar
Hugo Beauzee-Luyssen committed
186
    <widget class="QLabel" name="crashDescriptionLabel">
187
     <property name="text">
Hugo Beauzee-Luyssen's avatar
Hugo Beauzee-Luyssen committed
188
      <string>Crash_Description</string>
189 190 191 192 193 194 195 196 197 198
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <resources>
  <include location="../../../ressources.qrc"/>
 </resources>
 <connections/>
</ui>