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
|
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>changeCharacterDialog</class>
<widget class="QDialog" name="changeCharacterDialog">
<property name="windowModality">
<enum>Qt::ApplicationModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>212</width>
<height>160</height>
</rect>
</property>
<property name="windowTitle">
<string>New name</string>
</property>
<property name="modal">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="_2">
<property name="sizeConstraint">
<enum>QLayout::SetFixedSize</enum>
</property>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Character's name:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="editName"/>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Short description:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="editShort"/>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="pushEdit">
<property name="text">
<string>&Validate</string>
</property>
<property name="icon">
<iconset resource="../../ressource.qrc">
<normaloff>:/data/images/check.svg</normaloff>:/data/images/check.svg</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushCancel">
<property name="text">
<string>&Cancel</string>
</property>
<property name="icon">
<iconset resource="../../ressource.qrc">
<normaloff>:/data/images/stop.svg</normaloff>:/data/images/stop.svg</iconset>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources>
<include location="../../ressource.qrc"/>
</resources>
<connections>
<connection>
<sender>pushCancel</sender>
<signal>clicked()</signal>
<receiver>changeCharacterDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>124</x>
<y>96</y>
</hint>
<hint type="destinationlabel">
<x>192</x>
<y>74</y>
</hint>
</hints>
</connection>
</connections>
</ui>
|