Skip to content

Commit a38e7bd

Browse files
committed
add marks (red asterisks) to required fields for predefined widgets and forms
1 parent 32876bd commit a38e7bd

9 files changed

+34
-34
lines changed

arho_feature_template/gui/components/additional_information_widget.ui

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<item row="0" column="0">
9797
<widget class="QLabel" name="label_4">
9898
<property name="text">
99-
<string>Laji</string>
99+
<string>Laji:</string>
100100
</property>
101101
</widget>
102102
</item>

arho_feature_template/gui/components/general_regulation_group_widget.ui

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
</font>
135135
</property>
136136
<property name="text">
137-
<string>Nimi</string>
137+
<string>Otsikko:</string>
138138
</property>
139139
</widget>
140140
</item>

arho_feature_template/gui/components/plan_document_widget.ui

+10-10
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<item row="0" column="0">
8080
<widget class="QLabel" name="label">
8181
<property name="text">
82-
<string>Nimi</string>
82+
<string>Nimi:</string>
8383
</property>
8484
</widget>
8585
</item>
@@ -116,7 +116,7 @@
116116
<item row="1" column="0">
117117
<widget class="QLabel" name="url_label">
118118
<property name="text">
119-
<string>URL</string>
119+
<string>URL:</string>
120120
</property>
121121
</widget>
122122
</item>
@@ -126,7 +126,7 @@
126126
<item row="2" column="0">
127127
<widget class="QLabel" name="document_type_label">
128128
<property name="text">
129-
<string>Tyyppi</string>
129+
<string>&lt;span style=&quot;color: red;&quot;&gt;*&lt;/span&gt; Tyyppi:</string>
130130
</property>
131131
</widget>
132132
</item>
@@ -136,7 +136,7 @@
136136
<item row="3" column="0">
137137
<widget class="QLabel" name="publicity_label">
138138
<property name="text">
139-
<string>Julkisuusluokka</string>
139+
<string>&lt;span style=&quot;color: red;&quot;&gt;*&lt;/span&gt; Julkisuusluokka:</string>
140140
</property>
141141
</widget>
142142
</item>
@@ -146,7 +146,7 @@
146146
<item row="4" column="0">
147147
<widget class="QLabel" name="language_label">
148148
<property name="text">
149-
<string>Kieli</string>
149+
<string>&lt;span style=&quot;color: red;&quot;&gt;*&lt;/span&gt; Kieli:</string>
150150
</property>
151151
</widget>
152152
</item>
@@ -162,7 +162,7 @@
162162
<item row="8" column="0">
163163
<widget class="QLabel" name="decision_label">
164164
<property name="text">
165-
<string>Päätös</string>
165+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;*&lt;/span&gt; Päätös:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
166166
</property>
167167
</widget>
168168
</item>
@@ -175,21 +175,21 @@
175175
</sizepolicy>
176176
</property>
177177
<property name="text">
178-
<string> </string>
178+
<string/>
179179
</property>
180180
</widget>
181181
</item>
182182
<item row="6" column="0">
183183
<widget class="QLabel" name="personal_data_content_label">
184184
<property name="text">
185-
<string>Henkilötietosisältö</string>
185+
<string>&lt;span style=&quot;color: red;&quot;&gt;*&lt;/span&gt; Henkilötietosisältö:</string>
186186
</property>
187187
</widget>
188188
</item>
189189
<item row="5" column="0">
190190
<widget class="QLabel" name="retention_time_label">
191191
<property name="text">
192-
<string>Säilytysaika</string>
192+
<string>&lt;span style=&quot;color: red;&quot;&gt;*&lt;/span&gt; Säilytysaika:</string>
193193
</property>
194194
</widget>
195195
</item>
@@ -203,7 +203,7 @@
203203
<item row="7" column="0">
204204
<widget class="QLabel" name="document_date_label">
205205
<property name="text">
206-
<string>Asiakirjan päivämäärä</string>
206+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;*&lt;/span&gt; Asiakirjan päivämäärä:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
207207
</property>
208208
</widget>
209209
</item>

arho_feature_template/gui/components/plan_proposition_widget.ui

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
<item row="0" column="0">
108108
<widget class="QLabel" name="value_label">
109109
<property name="text">
110-
<string>Sisältö</string>
110+
<string>&lt;span style=&quot;color: red;&quot;&gt;*&lt;/span&gt; Sisältö:</string>
111111
</property>
112112
</widget>
113113
</item>

arho_feature_template/gui/components/plan_regulation_group_widget.ui

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
</font>
144144
</property>
145145
<property name="text">
146-
<string>Nimi</string>
146+
<string>Otsikko:</string>
147147
</property>
148148
</widget>
149149
</item>
@@ -163,7 +163,7 @@
163163
<item row="1" column="0">
164164
<widget class="QLabel" name="short_name_label">
165165
<property name="text">
166-
<string>Lyhyt nimi</string>
166+
<string>Lyhyt nimi:</string>
167167
</property>
168168
</widget>
169169
</item>

arho_feature_template/gui/components/plan_regulation_widget.ui

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<item row="0" column="0">
102102
<widget class="QLabel" name="label_4">
103103
<property name="text">
104-
<string>Laji</string>
104+
<string>Laji:</string>
105105
</property>
106106
</widget>
107107
</item>

arho_feature_template/gui/dialogs/plan_attribute_form.ui

+6-6
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<item row="0" column="0">
8181
<widget class="QLabel" name="label">
8282
<property name="text">
83-
<string>Pysyvä kaavatunnus:</string>
83+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Pysyvä kaavatunnus:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
8484
</property>
8585
<property name="buddy">
8686
<cstring>permanent_identifier_line_edit</cstring>
@@ -97,7 +97,7 @@
9797
<item row="1" column="0">
9898
<widget class="QLabel" name="nimiLabel">
9999
<property name="text">
100-
<string>Nimi*:</string>
100+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;*&lt;/span&gt; Nimi:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
101101
</property>
102102
<property name="buddy">
103103
<cstring>name_line_edit</cstring>
@@ -114,7 +114,7 @@
114114
<item row="2" column="0">
115115
<widget class="QLabel" name="kuvausLabel">
116116
<property name="text">
117-
<string>Kuvaus:</string>
117+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Kuvaus:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
118118
</property>
119119
<property name="buddy">
120120
<cstring>description_text_edit</cstring>
@@ -131,7 +131,7 @@
131131
<item row="4" column="0">
132132
<widget class="QLabel" name="tyyppiLabel">
133133
<property name="text">
134-
<string>Kaavalaji*:</string>
134+
<string>&lt;span style=&quot;color: red;&quot;&gt;*&lt;/span&gt; Kaavalaji:</string>
135135
</property>
136136
<property name="buddy">
137137
<cstring>plan_type_combo_box</cstring>
@@ -148,7 +148,7 @@
148148
<item row="5" column="0">
149149
<widget class="QLabel" name="elinkaarenTilaLabel">
150150
<property name="text">
151-
<string>Elinkaaren tila*:</string>
151+
<string>&lt;span style=&quot;color: red;&quot;&gt;*&lt;/span&gt; Elinkaaren tila:</string>
152152
</property>
153153
<property name="buddy">
154154
<cstring>lifecycle_status_combo_box</cstring>
@@ -165,7 +165,7 @@
165165
<item row="3" column="0">
166166
<widget class="QLabel" name="label_5">
167167
<property name="text">
168-
<string>Organisaatio*:</string>
168+
<string>&lt;span style=&quot;color: red;&quot;&gt;*&lt;/span&gt; Organisaatio:</string>
169169
</property>
170170
</widget>
171171
</item>

arho_feature_template/gui/dialogs/plan_feature_form.ui

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<item row="0" column="0">
2727
<widget class="QLabel" name="feature_name_label">
2828
<property name="text">
29-
<string>Nimi</string>
29+
<string>Nimi:</string>
3030
</property>
3131
</widget>
3232
</item>
@@ -36,7 +36,7 @@
3636
<item row="1" column="0">
3737
<widget class="QLabel" name="feature_description_label">
3838
<property name="text">
39-
<string>Kuvaus</string>
39+
<string>Kuvaus:</string>
4040
</property>
4141
</widget>
4242
</item>
@@ -53,7 +53,7 @@
5353
<item row="2" column="0">
5454
<widget class="QLabel" name="feature_underground_label">
5555
<property name="text">
56-
<string>Maanalaisuus</string>
56+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;*&lt;/span&gt; Maanalaisuus:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
5757
</property>
5858
</widget>
5959
</item>

arho_feature_template/gui/dialogs/plan_regulation_group_form.ui

+9-9
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<item row="0" column="0">
3030
<widget class="QLabel" name="label_2">
3131
<property name="text">
32-
<string>Otsikko</string>
32+
<string>Otsikko:</string>
3333
</property>
3434
</widget>
3535
</item>
@@ -39,7 +39,7 @@
3939
<item row="1" column="0">
4040
<widget class="QLabel" name="label_3">
4141
<property name="text">
42-
<string>Lyhyt nimi</string>
42+
<string>Lyhyt nimi:</string>
4343
</property>
4444
</widget>
4545
</item>
@@ -49,7 +49,7 @@
4949
<item row="2" column="0">
5050
<widget class="QLabel" name="label">
5151
<property name="text">
52-
<string>Ryhmänumero</string>
52+
<string>Ryhmänumero:</string>
5353
</property>
5454
</widget>
5555
</item>
@@ -69,7 +69,7 @@
6969
<item row="3" column="0">
7070
<widget class="QLabel" name="label_5">
7171
<property name="text">
72-
<string>Värikoodi</string>
72+
<string>Värikoodi:</string>
7373
</property>
7474
</widget>
7575
</item>
@@ -79,7 +79,7 @@
7979
<item row="4" column="0">
8080
<widget class="QLabel" name="label_7">
8181
<property name="text">
82-
<string>Tyyppi</string>
82+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;*&lt;/span&gt; Tyyppi:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
8383
</property>
8484
</widget>
8585
</item>
@@ -154,8 +154,8 @@ p, li { white-space: pre-wrap; }
154154
<rect>
155155
<x>0</x>
156156
<y>0</y>
157-
<width>38</width>
158-
<height>18</height>
157+
<width>587</width>
158+
<height>577</height>
159159
</rect>
160160
</property>
161161
<layout class="QVBoxLayout" name="regulations_layout">
@@ -193,8 +193,8 @@ p, li { white-space: pre-wrap; }
193193
<rect>
194194
<x>0</x>
195195
<y>0</y>
196-
<width>120</width>
197-
<height>49</height>
196+
<width>851</width>
197+
<height>577</height>
198198
</rect>
199199
</property>
200200
<layout class="QVBoxLayout" name="propositions_layout">

0 commit comments

Comments
 (0)