1 2 3 4 5 6 7 8 9 10 11 12 13 14 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
|
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DialogQuitApp</class>
<widget class="QDialog" name="DialogQuitApp">
<property name="windowModality">
<enum>Qt::NonModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>564</width>
<height>159</height>
</rect>
</property>
<property name="windowTitle">
<string>Quit RaySession</string>
</property>
<property name="modal">
<bool>false</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="labelMainText">
<property name="text">
<string><p>Session <bold>%s</bold> is running.</p><p>RaySession will be closed.</p><p>Do you want to save session ?</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="pushButtonSaveQuit">
<property name="text">
<string>Save && Quit</string>
</property>
<property name="icon">
<iconset theme="document-save">
<normaloff>.</normaloff>.</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonQuitNoSave">
<property name="text">
<string>Quit Without Saving</string>
</property>
<property name="icon">
<iconset theme="dialog-close">
<normaloff>.</normaloff>.</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonDaemon">
<property name="text">
<string>Keep Daemon Running</string>
</property>
<property name="icon">
<iconset theme="daemon">
<normaloff>.</normaloff>.</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonCancel">
<property name="text">
<string>Cancel</string>
</property>
<property name="icon">
<iconset theme="dialog-cancel">
<normaloff>.</normaloff>.</iconset>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>pushButtonCancel</sender>
<signal>clicked()</signal>
<receiver>DialogQuitApp</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>326</x>
<y>120</y>
</hint>
<hint type="destinationlabel">
<x>187</x>
<y>79</y>
</hint>
</hints>
</connection>
</connections>
</ui>
|