Grammalecte  Check-in [9c201aff2f]

Overview
Comment:[lo] Enumerator: adjustments
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | lo
Files: files | file ages | folders
SHA3-256: 9c201aff2fe6e8f193b61ab257b811a0cbb1b88ae9ed6c9c690232cd9ed1e11e
User & Date: olr on 2018-02-24 08:19:42
Other Links: manifest | tags
Context
2018-02-24
08:20
[graphspell] spellchecker: new function getTokenizer() check-in: aae2892638 user: olr tags: graphspell, trunk
08:19
[lo] Enumerator: adjustments check-in: 9c201aff2f user: olr tags: lo, trunk
07:55
[lo] Enumerator: new labels check-in: fd2d476ebf user: olr tags: lo, trunk
Changes

Modified gc_lang/fr/oxt/Lexicographer/Enumerator.py from [753041f6b5] to [fb0c4a2aa0].

   116    116           nY2 = nY1 + 225
   117    117   
   118    118           nWidth = self.xDialog.Width - 20
   119    119           nHeight = 10
   120    120   
   121    121           # List
   122    122           self._addWidget("list_section", 'FixedLine', nX, nY1, nWidth, nHeight, Label = self.dUI.get("list_section", "#err"), FontDescriptor = xFDTitle)
   123         -        self._addWidget('count_button', 'Button', nX, nY1+12, 70, 10, Label = self.dUI.get('count_button', "#err"))
   124         -        self._addWidget('count2_button', 'Button', nX+75, nY1+12, 70, 10, Label = self.dUI.get('count2_button', "#err"))
   125         -        self._addWidget('unknown_button', 'Button', nX+150, nY1+12, 70, 10, Label = self.dUI.get('unknown_button', "#err"))
   126         -        self.xGridModel = self._addGrid("list_grid", nX, nY1+25, nWidth, 180, [
          123  +        self._addWidget('count_button', 'Button', nX, nY1+12, 70, 11, Label = self.dUI.get('count_button', "#err"))
          124  +        self._addWidget('count2_button', 'Button', nX+75, nY1+12, 70, 11, Label = self.dUI.get('count2_button', "#err"))
          125  +        self._addWidget('unknown_button', 'Button', nX+150, nY1+12, 70, 11, Label = self.dUI.get('unknown_button', "#err"))
          126  +        self.xGridModel = self._addGrid("list_grid", nX, nY1+25, nWidth, 181, [
   127    127               {"Title": self.dUI.get("words", "#err"), "ColumnWidth": 175},
   128    128               {"Title": "Occurrences", "ColumnWidth": 45}
   129    129           ])
   130    130           self._addWidget('num_of_entries', 'FixedText', nX, nY1+210, 60, nHeight, Label = self.dUI.get('num_of_entries', "#err"), Align = 2)
   131    131           self.xNumWord = self._addWidget('num_of_entries_res', 'FixedText', nX+65, nY1+210, 30, nHeight, Label = "—")
   132    132           self._addWidget('tot_of_entries', 'FixedText', nX+100, nY1+210, 60, nHeight, Label = self.dUI.get('tot_of_entries', "#err"), Align = 2)
   133    133           self.xTotWord = self._addWidget('tot_of_entries_res', 'FixedText', nX+165, nY1+210, 30, nHeight, Label = "—")
................................................................................
   142    142           self.xNoAccent = self._addWidget('noaccentuation', 'RadioButton', nX+155, nY2+12, 40, nHeight, Label = self.dUI.get('noaccentuation', "#err"))
   143    143   
   144    144           self.xTag = self._addWidget('tag_button', 'Button', self.xDialog.Width-40, nY2+10, 30, 11, Label = self.dUI.get('tag_button', "#err"), FontDescriptor = xFDTitle, TextColor = 0x005500)
   145    145           
   146    146           # Progress bar
   147    147           self.xProgressBar = self._addWidget('progress_bar', 'ProgressBar', nX, self.xDialog.Height-25, 160, 14)
   148    148           self.xProgressBar.ProgressValueMin = 0
   149         -        self.xProgressBar.ProgressValueMax = 1 # to calculate
          149  +        self.xProgressBar.ProgressValueMax = 1 # to calculate later
   150    150   
   151    151           # Close
   152    152           self._addWidget('close_button', 'Button', self.xDialog.Width-60, self.xDialog.Height-25, 50, 14, Label = self.dUI.get('close_button', "#err"), FontDescriptor = xFDTitle, TextColor = 0x550000)
   153    153   
   154    154           # container
   155    155           self.xContainer = self.xSvMgr.createInstanceWithContext('com.sun.star.awt.UnoControlDialog', self.ctx)
   156    156           self.xContainer.setModel(self.xDialog)