Grammalecte  Check-in [f077da7669]

Overview
Comment:[tb] lexicon editor: Ui update
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tb | multid
Files: files | file ages | folders
SHA3-256: f077da766953731401bf39ba67c586c12352173ef7f222fb16f5d274a7b778e6
User & Date: olr on 2018-03-06 15:08:06
Other Links: branch diff | manifest | tags
Context
2018-03-06
15:38
[core][fr] générateur de conjugaisons comme module (déplacement de fichiers) check-in: fb9f2914eb user: olr tags: core, fr, multid
15:08
[tb] lexicon editor: Ui update check-in: f077da7669 user: olr tags: multid, tb
11:34
merge trunk check-in: 7ee6b583e8 user: olr tags: multid
Changes

Modified gc_lang/fr/tb/content/lex_editor.css from [3709dc3f3e] to [3d4857dad8].

20
21
22
23
24
25
26














27
28
29

30




31
32
33

34







.m_left {
    margin-left: 20px;
}

.m_left2 {
    margin-left: 40px;
}















#generated_words {
    width: 400px;

}





#lexicon {
    width: 600px;

}














>
>
>
>
>
>
>
>
>
>
>
>
>
>



>

>
>
>
>



>
|
>
>
>
>
>
>
>
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
.m_left {
    margin-left: 20px;
}

.m_left2 {
    margin-left: 40px;
}

.v_usage {
    width: 150px;
}
.v_textbox {
    width: 200px;
}

.other_label {
    width: 80px;
}
.other_textbox {
    width: 250px;
}

#generated_words {
    width: 400px;
    height: 620px;
}

/*
    Lexicon tab
*/

#lexicon {
    width: 600px;
    height: 650px;
}

.info_label {
    width: 120px;
}
.data {
    width: 100px;
}

Modified gc_lang/fr/tb/content/lex_editor.xul from [a92929c8fa] to [ea57ce501b].

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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156

157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184


185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226

227
228
229
230
231
232
233
234
235
236
237
238
                <radio id="o_pos_fem" class="option" label="féminin" />
              </radiogroup>
            </hbox>              

            <checkbox class="subsection" label="Verbe" />
            <hbox class="m_left">
              <vbox>
                <checkbox id="o_v_i" class="option" label="intransitif" />
                <checkbox id="o_v_t" class="option" label="transitif" />
                <checkbox id="o_v_n" class="option" label="transitif indirect" />
                <checkbox id="o_v_p" class="option" label="pronominal" />
                <checkbox id="o_v_m" class="option" label="impersonnel" />
              </vbox>
              <vbox>
                <label value="Auxilaire avec le passé composé" />
                <checkbox id="o_v_ae" class="option" label="être" />
                <checkbox id="o_v_aa" class="option" label="avoir" />
                <label value="" />
                <checkbox id="o_ppas" class="option" label="Participes passés variables" />
              </vbox>
            </hbox>
            <hbox class="m_left">
              <label class="subsection" value="Verbe modèle [Optionnel]" />
              <textbox id="v_pattern" value="" />
            </hbox>

            <checkbox class="subsection" label="Adverbe" />

            <checkbox class="subsection" label="Autre" />
            <hbox class="m_left">
              <vbox>
                <label value="Flexion" />
                <textbox id="flexion" value="" />
              </vbox>
              <vbox>
                <label value="Étiquettes" />
                <textbox id="tags" value="" />
              </vbox>
            </hbox>
          </vbox>

          <vbox>
            <dialogheader title="Mots générés" description="" />
            <listbox id="generated_words">
              <listhead>
                <listheader label="Flexions"/>
                <listheader label="Tags"/>
              </listhead>

              <listcols>
                <listcol flex="4"/>
                <listcol flex="4"/>
              </listcols>

              <listitem>
                <listcell label="George"/>
                <listcell label="House"/>
              </listitem>
              <listitem>
                <listcell label="Mary Ellen"/>
                <listcell label="House"/>
              </listitem>
              <listitem>
                <listcell label="Roger"/>
                <listcell label="House"/>
              </listitem>

            </listbox>
            <hbox>
              <button id="add_to_lexicon" label="Ajouter au lexique" />
              <button id="delete_selection" label="Effacer la sélection" />
            </hbox>
          </vbox>
        </hbox>
      </tabpanel>

      <!-- LEXICON -->
      <tabpanel orient="vertical">
        <dialogheader id="lexicon-title" title="&dialogheader.lexicon.label;" description="" />
        <hbox>
          <vbox>
            <label class="section" value="Lexique" />
            <hbox>
              <label value="Nombre d’entrées ajoutées" />
              <label value="0" />
            </hbox>
            <hbox>
              <label value="Nombre d’entrées supprimées" />
              <label value="0" />
            </hbox>
            <hbox>
              <label value="Nombre d’entrées" />
              <label value="0" />
            </hbox>
            <button id="save" label="Enregistrer" />



            <label class="section" value="Dictionnaire enregistré" />
            <hbox>
              <label value="Date d’enregistrement" />
              <label value="·" />
            </hbox>
            <hbox>
              <label value="Nombre d’entrées" />
              <label value="0" />
            </hbox>
            <button id="save" label="Exporter" />
          </vbox>

          <vbox id="lexicon">
            <listbox>
              <listhead>
                <listheader label="Flexions"/>
                <listheader label="Lemme"/>
                <listheader label="Étiquettes"/>
              </listhead>

              <listcols>
                <listcol flex="4"/>
                <listcol flex="3"/>
                <listcol flex="4"/>
              </listcols>

              <listitem>
                <listcell label="George"/>
                <listcell label="House Painter"/>
                <listcell label="House"/>
              </listitem>
              <listitem>
                <listcell label="Mary Ellen"/>
                <listcell label="Candle Maker"/>
                <listcell label="House"/>
              </listitem>
              <listitem>
                <listcell label="Roger"/>
                <listcell label="Swashbuckler"/>
                <listcell label="House"/>
              </listitem>

            </listbox>
          </vbox>
        </hbox>
      </tabpanel>

    </tabpanels>

  </tabbox>

  <script type="application/x-javascript" src="lex_editor.js" />

</dialog>







|
|
|
|
|



|
|

|



|
|





|
|
|
|
|
|
|
|
|
|







|



|
|


|


|
<
<
<
<
<
<
<
<
>











|




|
|


|
|


|
|


>
>



|
|


|
|




|
|


|









|



|
<
<
<
<
<
<
<
<
<
<
>












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
140
141
142
143
144
145
146
147
148








149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211










212
213
214
215
216
217
218
219
220
221
222
223
224
                <radio id="o_pos_fem" class="option" label="féminin" />
              </radiogroup>
            </hbox>              

            <checkbox class="subsection" label="Verbe" />
            <hbox class="m_left">
              <vbox>
                <checkbox id="o_v_i" class="v_usage" label="intransitif" />
                <checkbox id="o_v_t" class="v_usage" label="transitif" />
                <checkbox id="o_v_n" class="v_usage" label="transitif indirect" />
                <checkbox id="o_v_p" class="v_usage" label="pronominal" />
                <checkbox id="o_v_m" class="v_usage" label="impersonnel" />
              </vbox>
              <vbox>
                <label value="Auxilaire avec le passé composé" />
                <checkbox id="o_v_ae" class="v_usage" label="être" />
                <checkbox id="o_v_aa" class="v_usage" label="avoir" />
                <label value="" />
                <checkbox id="o_ppas" class="v_usage" label="Participes passés variables" />
              </vbox>
            </hbox>
            <hbox class="m_left">
              <label class="subsection" value="Verbe modèle [optionnel]" />
              <textbox id="v_pattern" class="v_textbox" value="" />
            </hbox>

            <checkbox class="subsection" label="Adverbe" />

            <checkbox class="subsection" label="Autre" />
            <vbox class="m_left">
              <hbox>
                <label class="subsection other_label" value="Flexion" />
                <textbox id="flexion" class="other_textbox" value="" />
              </hbox>
              <hbox>
                <label class="subsection other_label" value="Étiquettes" />
                <textbox id="tags" class="other_textbox" value="" />
              </hbox>
            </vbox>
          </vbox>

          <vbox>
            <dialogheader title="Mots générés" description="" />
            <listbox id="generated_words">
              <listhead>
                <listheader label="Flexions"/>
                <listheader label="Étiquettes"/>
              </listhead>

              <listcols>
                <listcol flex="1"/>
                <listcol flex="1"/>
              </listcols>

              <!--<listitem>
                <listcell label="George"/>
                <listcell label="House"/>
              </listitem>-->








              
            </listbox>
            <hbox>
              <button id="add_to_lexicon" label="Ajouter au lexique" />
              <button id="delete_selection" label="Effacer la sélection" />
            </hbox>
          </vbox>
        </hbox>
      </tabpanel>

      <!-- LEXICON -->
      <tabpanel orient="vertical">
        <dialogheader title="&dialogheader.lexicon.label;" description="" />
        <hbox>
          <vbox>
            <label class="section" value="Lexique" />
            <hbox>
              <label class="info_label" value="Entrées ajoutées" />
              <label class="data" value="0" />
            </hbox>
            <hbox>
              <label class="info_label" value="Entrées supprimées" />
              <label class="data" value="0" />
            </hbox>
            <hbox>
              <label class="info_label" value="Nombre d’entrées" />
              <label class="data" value="0" />
            </hbox>
            <button id="save" label="Enregistrer" />

            <label class="" value="" />

            <label class="section" value="Dictionnaire enregistré" />
            <hbox>
              <label class="info_label" value="Date d’enregistrement" />
              <label class="data" value="·" />
            </hbox>
            <hbox>
              <label class="info_label" value="Nombre d’entrées" />
              <label class="data" value="0" />
            </hbox>
            <button id="save" label="Exporter" />
          </vbox>

          <vbox>
            <listbox id="lexicon">
              <listhead>
                <listheader label="Flexions"/>
                <listheader label="Lemmes"/>
                <listheader label="Étiquettes"/>
              </listhead>

              <listcols>
                <listcol flex="4"/>
                <listcol flex="3"/>
                <listcol flex="4"/>
              </listcols>

              <!--<listitem>
                <listcell label="George"/>
                <listcell label="House Painter"/>
                <listcell label="House"/>
              </listitem>-->











            </listbox>
          </vbox>
        </hbox>
      </tabpanel>

    </tabpanels>

  </tabbox>

  <script type="application/x-javascript" src="lex_editor.js" />

</dialog>