summaryrefslogtreecommitdiffstats
path: root/sigmodr/widgets/gui/tile.ui
blob: d4eaf0540766e518891437d82f88c68948c29a09 (plain)
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>formTile</class>
 <widget class="QWidget" name="formTile">
  <layout class="QGridLayout">
   <item row="0" column="0">
    <widget class="QLabel" name="labelName">
     <property name="text">
      <string comment="Label for the name of the tile">Name:</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignVCenter</set>
     </property>
     <property name="buddy">
      <cstring>varName</cstring>
     </property>
    </widget>
   </item>
   <item row="0" column="1">
    <widget class="KLineEdit" name="varName">
     <property name="toolTip">
      <string>Name of the tile (internal use only)</string>
     </property>
     <property name="statusTip">
      <string>Name of the tile (internal use only)</string>
     </property>
     <property name="whatsThis">
      <string>Name of the tile (internal use only)</string>
     </property>
     <property name="showClearButton" stdset="0">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item row="1" column="0">
    <widget class="QLabel" name="labelWalkable">
     <property name="text">
      <string>Walkable:</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignVCenter</set>
     </property>
     <property name="buddy">
      <cstring>varWalkable</cstring>
     </property>
    </widget>
   </item>
   <item row="1" column="1">
    <widget class="QCheckBox" name="varWalkable">
     <property name="toolTip">
      <string>Whether the tile ban be walked on or not</string>
     </property>
     <property name="statusTip">
      <string>Whether the tile ban be walked on or not</string>
     </property>
     <property name="whatsThis">
      <string>Whether the tile ban be walked on or not</string>
     </property>
     <property name="text">
      <string>Can walk over</string>
     </property>
    </widget>
   </item>
   <item row="2" column="0">
    <widget class="QLabel" name="labelPreview">
     <property name="text">
      <string>Preview sprite:</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignVCenter</set>
     </property>
     <property name="buddy">
      <cstring>varPreview</cstring>
     </property>
    </widget>
   </item>
   <item row="2" column="1">
    <widget class="KComboBox" name="varPreview">
     <property name="toolTip">
      <string>The sprite used to preview the tile</string>
     </property>
     <property name="statusTip">
      <string>The sprite used to preview the tile</string>
     </property>
     <property name="whatsThis">
      <string>The sprite used to preview the tile</string>
     </property>
    </widget>
   </item>
   <item row="3" column="0" colspan="2">
    <widget class="QGroupBox" name="boxScript">
     <property name="title">
      <string>Script</string>
     </property>
     <layout class="QGridLayout">
      <item row="0" column="0">
       <widget class="Sigmodr::CoreWidgets::ScriptWidget" name="varScript">
        <property name="toolTip">
         <string>The script that is run for this tile</string>
        </property>
        <property name="statusTip">
         <string>The script that is run for this tile</string>
        </property>
        <property name="whatsThis">
         <string>The script that is run for this tile</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>KComboBox</class>
   <extends>QComboBox</extends>
   <header location="global">KComboBox</header>
  </customwidget>
  <customwidget>
   <class>KLineEdit</class>
   <extends>QLineEdit</extends>
   <header location="global">KLineEdit</header>
  </customwidget>
  <customwidget>
   <class>Sigmodr::CoreWidgets::ScriptWidget</class>
   <extends>QWidget</extends>
   <header location="global">sigmodr/corewidgets/ScriptWidget.h</header>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>varName</tabstop>
  <tabstop>varWalkable</tabstop>
  <tabstop>varPreview</tabstop>
  <tabstop>varScript</tabstop>
 </tabstops>
 <resources/>
 <connections/>
</ui>