Anchor-annotator 0.5.0__py3-none-any.whl → 0.6.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Anchor_annotator
3
- Version: 0.5.0
3
+ Version: 0.6.0
4
4
  Summary: Anchor annotator is a program for inspecting corpora for the Montreal Forced Aligner and correcting transcriptions and pronunciations.
5
5
  Home-page: https://github.com/MontrealCorpusTools/Anchor-annotator
6
6
  Author: Montreal Corpus Tools
@@ -1,22 +1,22 @@
1
1
  anchor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  anchor/__main__.py,sha256=5ufG8lcx2x1am-04xI991AG7saJd24dxPw5JzjmB878,45
3
- anchor/_version.py,sha256=aeBju2l8GTMwAhIRG_c2Q_oVPFacRkZZwGtxmvFCGPQ,411
3
+ anchor/_version.py,sha256=2JKwcA-YQ0okV2N-gwTWy_n51igWrPcsKQFm0cnqsvw,411
4
4
  anchor/command_line.py,sha256=EucG805HyWk_zkMO9RXv9Yj0I0JVdDLZb1_DX2_ISjM,503
5
5
  anchor/db.py,sha256=ef4lO6HtCKoxC9CorIc0ZbPxKpjHa576a0ZIBOWNU9E,4956
6
- anchor/main.py,sha256=ZJKMVgh1yFnuqcoCSSDXFWqmw5hxLcoQbA0JaNSK61Y,126473
6
+ anchor/main.py,sha256=t4vREjcD_qj5362wDchCFcA4ecBBfcTAjmC_Ok0P1yM,126411
7
7
  anchor/models.py,sha256=tYtj_doI9LokNOo624b1OmVLTFpIdKBVPfAzCO90ou4,96315
8
- anchor/plot.py,sha256=yNveJ6O52621xC5ggUhFeeSxFp-HWD8D3XVnBWc6vtE,112516
9
- anchor/resources_rc.py,sha256=ad0TsmUT4851Rh4oWpwefIJ9Ijqhg3gwX8cnaRX_90w,8460639
10
- anchor/settings.py,sha256=jyqvKYo2ZMeZkU7D6qmLxkF8xvnJsYh7eyk5_kQMKxY,51884
8
+ anchor/plot.py,sha256=t1LZ-BsmCJlz3v4zyyCoPm42N_jP0ic8w4hXI8DGVkg,112449
9
+ anchor/resources_rc.py,sha256=tzJHrJw3MpjAlnj-DtCmaR4A8gAaLF966XEXs5HNIjc,8464375
10
+ anchor/settings.py,sha256=4ucr440O7wJhkatP1a2eK6lVGRgkVh2UUI2zs-JDlno,51883
11
11
  anchor/ui_corpus_manager.py,sha256=e3ybOd4UdYarrLBATxI8vIFnioa4R_BHrbsEz5mJ5eA,8564
12
12
  anchor/ui_error_dialog.py,sha256=HKbjGT_jtdb9jfn9THQMbl1fmcdWyjYDazM4hCwZ5Yo,3931
13
13
  anchor/ui_main_window.py,sha256=q7dsxdvjhMy-W_7qEqV9EalWUZsca1OwfdrU0EVz8d0,36574
14
14
  anchor/ui_preferences.py,sha256=g3tcjAMFKIAqUJNEke7ww4LkdeTFA1zb8_lrhF6k5fo,43271
15
15
  anchor/undo.py,sha256=HUrTT8N-y1jFrSBX4wSNSGF3G0YiBeKUqKJQQg1qffI,32919
16
- anchor/widgets.py,sha256=iadb6GgR2Q-1eTdle_IPaMyEnkOBXMqBvjC1U6pWtJo,156787
17
- anchor/workers.py,sha256=rjUWKyRJ-NiZpGvgYgoNi5M9ESoMFXpd7zgnx-f0WBY,172378
18
- Anchor_annotator-0.5.0.dist-info/LICENSE,sha256=C0oIsblENEgWQ7XMNdYoXyXsIA5wa3YF0I9lK3H7A1s,1076
19
- Anchor_annotator-0.5.0.dist-info/METADATA,sha256=2ochFmVpqLnnTKHb15k3R4BRxNH2wrrwdZDO0NJFjUg,1500
20
- Anchor_annotator-0.5.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
21
- Anchor_annotator-0.5.0.dist-info/top_level.txt,sha256=wX6ZKxImGRZKFQjs3f6XYw_TfbAp6Xs3SmbLfLbFAJ0,7
22
- Anchor_annotator-0.5.0.dist-info/RECORD,,
16
+ anchor/widgets.py,sha256=q_yfANJ68zvZ5t-4vF8hMHmLFHGp6GCHPSDesdw9iJA,158420
17
+ anchor/workers.py,sha256=YhJ2EEeqzi3xu2NYPdFrYzgnWcyXhFtjnjxgwfeLSqo,172456
18
+ Anchor_annotator-0.6.0.dist-info/LICENSE,sha256=C0oIsblENEgWQ7XMNdYoXyXsIA5wa3YF0I9lK3H7A1s,1076
19
+ Anchor_annotator-0.6.0.dist-info/METADATA,sha256=DuhOE6l8IrlLxszFmFjWfy_FVy3VhzaTQ66K2aAylN8,1500
20
+ Anchor_annotator-0.6.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
21
+ Anchor_annotator-0.6.0.dist-info/top_level.txt,sha256=wX6ZKxImGRZKFQjs3f6XYw_TfbAp6Xs3SmbLfLbFAJ0,7
22
+ Anchor_annotator-0.6.0.dist-info/RECORD,,
anchor/_version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.5.0'
16
- __version_tuple__ = version_tuple = (0, 5, 0)
15
+ __version__ = version = '0.6.0'
16
+ __version_tuple__ = version_tuple = (0, 6, 0)
anchor/main.py CHANGED
@@ -123,6 +123,7 @@ class MainWindow(QtWidgets.QMainWindow):
123
123
  self.media_player = MediaPlayer(self)
124
124
  self.media_player.playbackStateChanged.connect(self.handleAudioState)
125
125
  self.media_player.audioReady.connect(self.file_loaded)
126
+ self.media_player.playingChanged.connect(self.update_play_button)
126
127
  self.media_player.timeChanged.connect(
127
128
  self.ui.utteranceDetailWidget.plot_widget.audio_plot.update_play_line
128
129
  )
@@ -345,14 +346,11 @@ class MainWindow(QtWidgets.QMainWindow):
345
346
  session.commit()
346
347
 
347
348
  def file_loaded(self, ready):
348
- if ready:
349
- self.ui.playAct.setEnabled(ready)
350
- self.ui.muteAct.setEnabled(ready)
351
- else:
352
- self.ui.playAct.setEnabled(False)
353
- self.ui.playAct.setChecked(False)
354
- self.ui.muteAct.setChecked(False)
355
- self.ui.muteAct.setEnabled(False)
349
+ self.ui.playAct.setEnabled(ready)
350
+ self.ui.muteAct.setEnabled(ready)
351
+
352
+ def update_play_button(self, playing):
353
+ self.ui.playAct.setChecked(playing)
356
354
 
357
355
  def corpus_changed(self, clean):
358
356
  if clean:
anchor/plot.py CHANGED
@@ -1328,8 +1328,6 @@ class TextAttributeRegion(pg.GraphicsObject):
1328
1328
  self.picture = QtGui.QPicture()
1329
1329
  self.mouseHovering = False
1330
1330
  self.selected = False
1331
- self.background_brush = self.parentItem().background_brush
1332
- self.selected_brush = self.parentItem().selected_brush
1333
1331
  self.currentBrush = self.parentItem().currentBrush
1334
1332
  self.text.setPos((self.begin + self.end) / 2, self.top_point - (self.height / 2))
1335
1333
  self.begin_line = pg.InfiniteLine()
@@ -1344,10 +1342,7 @@ class TextAttributeRegion(pg.GraphicsObject):
1344
1342
  self._generate_picture()
1345
1343
 
1346
1344
  def setSelected(self, selected):
1347
- if selected:
1348
- new_brush = self.selected_brush
1349
- else:
1350
- new_brush = self.background_brush
1345
+ new_brush = self.parentItem().currentBrush
1351
1346
  if new_brush != self.currentBrush:
1352
1347
  self.currentBrush = new_brush
1353
1348
  self._generate_picture()
@@ -1996,7 +1991,7 @@ class UtteranceRegion(MfaRegion):
1996
1991
  interval_reg.audioSelected.connect(self.setSelected)
1997
1992
  elif "phone_intervals" in lookup:
1998
1993
  color = None
1999
- if interval.confidence is not None:
1994
+ if interval.confidence is not None and max_confidence != min_confidence:
2000
1995
  normalized_confidence = (interval.confidence - min_confidence) / (
2001
1996
  max_confidence - min_confidence
2002
1997
  )
@@ -2063,7 +2058,10 @@ class UtteranceRegion(MfaRegion):
2063
2058
 
2064
2059
  def setSelected(self, selected: bool):
2065
2060
  if selected:
2066
- self.text_edit.setFocus()
2061
+ if not self.selected:
2062
+ self.text_edit.setFocus()
2063
+ else:
2064
+ self.text_edit.clearFocus()
2067
2065
  super().setSelected(selected)
2068
2066
 
2069
2067
  def change_editing(self, editable: bool):
anchor/resources_rc.py CHANGED
@@ -6,7 +6,7 @@
6
6
  from PySide6 import QtCore
7
7
 
8
8
  qt_resource_data = b"\
9
- \x00\x00\x0c\xe2\
9
+ \x00\x00\x0c\xe4\
10
10
  <\
11
11
  ?xml version=\x221.\
12
12
  0\x22 ?><svg xmlns=\
@@ -214,7 +214,7 @@ rm=\x22matrix(.2645\
214
214
  =\x22#C63623\x22 strok\
215
215
  e-width=\x224.2462\x22\
216
216
  />\x0d\x0a </g>\x0d\x0a</svg\
217
- >\
217
+ >\x0d\x0a\
218
218
  \x00\x00/r\
219
219
  <\
220
220
  ?xml version=\x221.\
@@ -159953,7 +159953,164 @@ F1E6\x00\x00\x00\xb8\x00\x00+\x00\xba\x00\x01\x00\
159953
159953
  \x00\x08+\xbf\x00\x06\x00)\x00\x22\x00\x1a\x00\x13\x00\x0c\
159954
159954
  \x00\x00\x00\x08+\x00\xba\x00\x0c\x00\x04\x00\x07+\xb8\x00\
159955
159955
  \x00 E}i\x18D\
159956
- \x00\x00\x00\x90\
159956
+ \x00\x00\x02U\
159957
+ <\
159958
+ ?xml version=\x221.\
159959
+ 0\x22 ?><svg xmlns=\
159960
+ \x22http://www.w3.o\
159961
+ rg/2000/svg\x22 wid\
159962
+ th=\x22448\x22 height=\
159963
+ \x22448\x22 version=\x221\
159964
+ .1\x22 viewBox=\x220 0\
159965
+ 448 448\x22>\x0d\x0a <pa\
159966
+ th d=\x22m292.12 36\
159967
+ 0.26-49.978-159.\
159968
+ 88q-4.7246-14.67\
159969
+ -17.654-66.635h-\
159970
+ 1.9891q-9.9457 4\
159971
+ 3.511-17.405 67.\
159972
+ 134l-51.471 159.\
159973
+ 38h-47.741l-74.3\
159974
+ 45-272.52h43.266\
159975
+ q26.356 102.69 4\
159976
+ 0.03 156.4 13.92\
159977
+ 4 53.709 15.913 \
159978
+ 72.357h1.9891q2.\
159979
+ 7349-14.173 8.70\
159980
+ 26-36.551 6.216-\
159981
+ 22.626 10.692-35\
159982
+ .805l49.978-156.\
159983
+ 4h44.755l48.735 \
159984
+ 156.4q13.924 42.\
159985
+ 767 18.897 71.85\
159986
+ 8h1.9891q0.99454\
159987
+ -8.9513 5.2216-2\
159988
+ 7.6 4.4758-18.64\
159989
+ 8 51.966-200.66h\
159990
+ 42.767l-75.34 27\
159991
+ 2.52z\x22 fill=\x22#0E\
159992
+ 63B3\x22 stroke=\x22#0\
159993
+ E63B3\x22 stroke-wi\
159994
+ dth=\x228.96\x22/>\x0d\x0a</\
159995
+ svg>\
159996
+ \x00\x00\x01\xe4\
159997
+ <\
159998
+ ?xml version=\x221.\
159999
+ 0\x22 ?><svg xmlns=\
160000
+ \x22http://www.w3.o\
160001
+ rg/2000/svg\x22 wid\
160002
+ th=\x22448\x22 height=\
160003
+ \x22448\x22 version=\x221\
160004
+ .1\x22 viewBox=\x220 0\
160005
+ 448 448\x22>\x0d\x0a <pa\
160006
+ th d=\x22m292.12 23\
160007
+ .847 1.543 92.35\
160008
+ 8-93.13-54.798-1\
160009
+ 6.723 28.299 98.\
160010
+ 02 53.255-98.02 \
160011
+ 53.253 16.723 28\
160012
+ .299 92.872-55.0\
160013
+ 54-1.2852 92.614\
160014
+ h33.187l-1.543-9\
160015
+ 2.614 93.13 54.7\
160016
+ 98 16.465-28.299\
160017
+ -97.762-53.255 9\
160018
+ 7.762-52.739-16.\
160019
+ 465-28.299-93.38\
160020
+ 8 54.54 1.8008-9\
160021
+ 2.358h-33.187zm-\
160022
+ 277.85 326.99v73\
160023
+ .321h61.487v-73.\
160024
+ 321z\x22 fill=\x22#0E6\
160025
+ 3B3\x22 stroke=\x22#0E\
160026
+ 63B3\x22 stroke-wid\
160027
+ th=\x228.96\x22/>\x0d\x0a</s\
160028
+ vg>\
160029
+ \x00\x00\x05\x1c\
160030
+ <\
160031
+ ?xml version=\x221.\
160032
+ 0\x22 ?><svg xmlns=\
160033
+ \x22http://www.w3.o\
160034
+ rg/2000/svg\x22 wid\
160035
+ th=\x22448\x22 height=\
160036
+ \x22448\x22 version=\x221\
160037
+ .1\x22 viewBox=\x220 0\
160038
+ 448 448\x22>\x0d\x0a <pa\
160039
+ th d=\x22m156.29 71\
160040
+ .469c-29.228 0-5\
160041
+ 4.667 6.2252-76.\
160042
+ 317 18.674-21.51\
160043
+ 5 12.449-38.025 \
160044
+ 30.174-49.526 53\
160045
+ .179-11.366 23.0\
160046
+ 03-17.049 49.795\
160047
+ -17.049 80.376 1\
160048
+ e-6 48.849 11.84\
160049
+ 86.534 35.521 1\
160050
+ 13.05 23.815 26.\
160051
+ 521 57.576 39.78\
160052
+ 2 101.28 39.782 \
160053
+ 30.175 0 55.547-\
160054
+ 3.8557 76.114-11\
160055
+ .568v-30.244c-26\
160056
+ .521 7.4423-50.1\
160057
+ 34 11.164-70.837\
160058
+ 11.164-33.694 0\
160059
+ -59.673-10.553-7\
160060
+ 7.94-31.662-18.1\
160061
+ 32-21.244-27.199\
160062
+ -51.286-27.199-9\
160063
+ 0.12 0-37.753 9.\
160064
+ 4045-67.454 28.2\
160065
+ 13-89.105 18.944\
160066
+ -21.785 44.723-3\
160067
+ 2.679 77.333-32.\
160068
+ 679 22.462 0 44.\
160069
+ 926 5.2779 67.38\
160070
+ 8 15.832l14.613-\
160071
+ 29.635c-23.274-1\
160072
+ 1.366-50.473-17.\
160073
+ 049-81.595-17.04\
160074
+ 9zm220.83 74.487\
160075
+ c-33.153 0-58.72\
160076
+ 7 10.148-76.724 \
160077
+ 30.445-17.861 20\
160078
+ .297-26.791 49.0\
160079
+ 52-26.791 86.263\
160080
+ 0 36.265 8.7942\
160081
+ 64.342 26.385 8\
160082
+ 4.233 17.726 19.\
160083
+ 756 42.693 29.63\
160084
+ 5 74.897 29.635v\
160085
+ 2e-3c22.597 0 41\
160086
+ .339-3.8558 56.2\
160087
+ 24-11.568v-29.83\
160088
+ 8c-19.485 7.9836\
160089
+ -38.498 11.977-5\
160090
+ 7.036 11.977-21.\
160091
+ 65 0-38.023-7.30\
160092
+ 8-49.118-21.922-\
160093
+ 10.96-14.614-16.\
160094
+ 441-35.588-16.44\
160095
+ 1-62.921 0-57.64\
160096
+ 4 22.597-86.466 \
160097
+ 67.792-86.466 6.\
160098
+ 7658 0 14.546 1.\
160099
+ 0137 23.342 3.04\
160100
+ 3 8.7954 1.8942 \
160101
+ 16.915 4.3318 24\
160102
+ .357 7.3087l10.3\
160103
+ 52-28.619c-6.089\
160104
+ 2-3.1108-14.48-5\
160105
+ .8176-25.17-8.11\
160106
+ 92-10.69-2.3016-\
160107
+ 21.379-3.4532-32\
160108
+ .068-3.4532z\x22 fi\
160109
+ ll=\x22#0E63B3\x22 str\
160110
+ oke=\x22#0E63B3\x22 st\
160111
+ roke-width=\x228.96\
160112
+ \x22/>\x0d\x0a</svg>\
160113
+ \x00\x00\x00\x92\
159957
160114
  [\
159958
160115
  Icon Theme]\x0d\x0aNam\
159959
160116
  e=Anchor light\x0d\x0a\
@@ -159963,7 +160120,8 @@ e\x0d\x0a\x0d\x0a[actions]\x0d\x0a\
159963
160120
  Size=48\x0d\x0aContext\
159964
160121
  =Actions\x0d\x0aType=S\
159965
160122
  calable\x0d\x0aMinSize\
159966
- =1\x0d\x0aMaxSize=256\
160123
+ =1\x0d\x0aMaxSize=256\x0d\
160124
+ \x0a\
159967
160125
  \x00\x00\x03\xf6\
159968
160126
  <\
159969
160127
  ?xml version=\x221.\
@@ -160746,7 +160904,7 @@ m103.81 131.66c-\
160746
160904
  D60A\x22 stroke-wid\
160747
160905
  th=\x222.3706\x22/>\x0d\x0a \
160748
160906
  </g>\x0d\x0a</svg>\x0d\x0a\
160749
- \x00\x00\x02\xee\
160907
+ \x00\x00\x02\xef\
160750
160908
  <\
160751
160909
  ?xml version=\x221.\
160752
160910
  0\x22 ?><svg xmlns=\
@@ -160794,7 +160952,7 @@ V184c0-13.3-10.7\
160794
160952
  \x22 fill=\x22#FFD60A\x22\
160795
160953
  stroke=\x22#FFD60A\
160796
160954
  \x22 stroke-width=\x22\
160797
- 12.8\x22/></svg>\
160955
+ 12.8\x22/></svg>\x0a\
160798
160956
  \x00\x00\x02<\
160799
160957
  <\
160800
160958
  ?xml version=\x221.\
@@ -161586,7 +161744,7 @@ h d=\x22M384 121.9c\
161586
161744
  60A\x22 stroke-widt\
161587
161745
  h=\x2211.52\x22/></svg\
161588
161746
  >\x0a\
161589
- \x00\x00\x01\x80\
161747
+ \x00\x00\x01\x81\
161590
161748
  <\
161591
161749
  ?xml version=\x221.\
161592
161750
  0\x22 ?><svg xmlns=\
@@ -161611,8 +161769,9 @@ l=\x22#FFD60A\x22 d=\x22M\
161611
161769
  15.1-4.4-41 17-4\
161612
161770
  1z\x22 stroke=\x22#FFD\
161613
161771
  60A\x22 stroke-widt\
161614
- h=\x226.4\x22/></svg>\
161615
- \x00\x00\x02\xe3\
161772
+ h=\x226.4\x22/></svg>\x0a\
161773
+ \
161774
+ \x00\x00\x02\xe4\
161616
161775
  <\
161617
161776
  ?xml version=\x221.\
161618
161777
  0\x22 ?><svg xmlns=\
@@ -161660,7 +161819,7 @@ a32 32 0 1 1 64 \
161660
161819
  60A\x22 stroke=\x22#FF\
161661
161820
  D60A\x22 stroke-wid\
161662
161821
  th=\x2210.24\x22/></sv\
161663
- g>\
161822
+ g>\x0a\
161664
161823
  \x00\x00\x02\xec\
161665
161824
  <\
161666
161825
  ?xml version=\x221.\
@@ -162292,7 +162451,7 @@ L17.2 226.1C4.6 \
162292
162451
  =\x22#FFD60A\x22 strok\
162293
162452
  e-width=\x226.4\x22/><\
162294
162453
  /svg>\x0a\
162295
- \x00\x00\x01}\
162454
+ \x00\x00\x01~\
162296
162455
  <\
162297
162456
  ?xml version=\x221.\
162298
162457
  0\x22 ?><svg xmlns=\
@@ -162317,7 +162476,7 @@ FFD60A\x22 d=\x22M279 \
162317
162476
  4.5 41-16.9 41z\x22\
162318
162477
  stroke=\x22#FFD60A\
162319
162478
  \x22 stroke-width=\x22\
162320
- 6.4\x22/></svg>\
162479
+ 6.4\x22/></svg>\x0a\
162321
162480
  \x00\x00\x0c\xe4\
162322
162481
  <\
162323
162482
  ?xml version=\x221.\
@@ -162625,7 +162784,7 @@ A\x22 stroke=\x22#FFD6\
162625
162784
  0A\x22 stroke-width\
162626
162785
  =\x2210.24\x22/></svg>\
162627
162786
  \x0a\
162628
- \x00\x00\x00\x8e\
162787
+ \x00\x00\x00\x90\
162629
162788
  [\
162630
162789
  Icon Theme]\x0d\x0aNam\
162631
162790
  e=Anchor dark\x0d\x0aC\
@@ -162635,7 +162794,7 @@ dark icon theme\x0d\
162635
162794
  ze=48\x0d\x0aContext=A\
162636
162795
  ctions\x0d\x0aType=Sca\
162637
162796
  lable\x0d\x0aMinSize=1\
162638
- \x0d\x0aMaxSize=256\
162797
+ \x0d\x0aMaxSize=256\x0d\x0a\
162639
162798
  \x00\x00\x03\xf6\
162640
162799
  <\
162641
162800
  ?xml version=\x221.\
@@ -163418,7 +163577,7 @@ D3D\x22 stroke=\x22#00\
163418
163577
  1D3D\x22 stroke-wid\
163419
163578
  th=\x222.3706\x22/>\x0d\x0a \
163420
163579
  </g>\x0d\x0a</svg>\x0d\x0a\
163421
- \x00\x00\x02\xee\
163580
+ \x00\x00\x02\xef\
163422
163581
  <\
163423
163582
  ?xml version=\x221.\
163424
163583
  0\x22 ?><svg xmlns=\
@@ -163466,7 +163625,7 @@ V184c0-13.3-10.7\
163466
163625
  \x22 fill=\x22#001D3D\x22\
163467
163626
  stroke=\x22#001D3D\
163468
163627
  \x22 stroke-width=\x22\
163469
- 12.8\x22/></svg>\
163628
+ 12.8\x22/></svg>\x0a\
163470
163629
  \x00\x00\x02<\
163471
163630
  <\
163472
163631
  ?xml version=\x221.\
@@ -164258,7 +164417,7 @@ h d=\x22M384 121.9c\
164258
164417
  D3D\x22 stroke-widt\
164259
164418
  h=\x2211.52\x22/></svg\
164260
164419
  >\x0a\
164261
- \x00\x00\x01\x80\
164420
+ \x00\x00\x01\x81\
164262
164421
  <\
164263
164422
  ?xml version=\x221.\
164264
164423
  0\x22 ?><svg xmlns=\
@@ -164283,8 +164442,9 @@ l=\x22#001D3D\x22 d=\x22M\
164283
164442
  15.1-4.4-41 17-4\
164284
164443
  1z\x22 stroke=\x22#001\
164285
164444
  D3D\x22 stroke-widt\
164286
- h=\x226.4\x22/></svg>\
164287
- \x00\x00\x02\xe3\
164445
+ h=\x226.4\x22/></svg>\x0a\
164446
+ \
164447
+ \x00\x00\x02\xe4\
164288
164448
  <\
164289
164449
  ?xml version=\x221.\
164290
164450
  0\x22 ?><svg xmlns=\
@@ -164332,7 +164492,7 @@ a32 32 0 1 1 64 \
164332
164492
  D3D\x22 stroke=\x22#00\
164333
164493
  1D3D\x22 stroke-wid\
164334
164494
  th=\x2210.24\x22/></sv\
164335
- g>\
164495
+ g>\x0a\
164336
164496
  \x00\x00\x02\xec\
164337
164497
  <\
164338
164498
  ?xml version=\x221.\
@@ -164964,7 +165124,7 @@ L17.2 226.1C4.6 \
164964
165124
  =\x22#001D3D\x22 strok\
164965
165125
  e-width=\x226.4\x22/><\
164966
165126
  /svg>\x0a\
164967
- \x00\x00\x01}\
165127
+ \x00\x00\x01~\
164968
165128
  <\
164969
165129
  ?xml version=\x221.\
164970
165130
  0\x22 ?><svg xmlns=\
@@ -164989,7 +165149,7 @@ wBox=\x220 0 320 51\
164989
165149
  4.5 41-16.9 41z\x22\
164990
165150
  stroke=\x22#001D3D\
164991
165151
  \x22 stroke-width=\x22\
164992
- 6.4\x22/></svg>\
165152
+ 6.4\x22/></svg>\x0a\
164993
165153
  \x00\x00\x0c\xe4\
164994
165154
  <\
164995
165155
  ?xml version=\x221.\
@@ -165387,10 +165547,25 @@ qt_resource_name = b"\
165387
165547
  \x08\xa6\xe8F\
165388
165548
  \x00G\
165389
165549
  \x00e\x00n\x00t\x00i\x00u\x00m\x00P\x00l\x00u\x00s\x00.\x00t\x00t\x00f\
165550
+ \x00\x15\
165551
+ \x0e\x14J\x07\
165552
+ \x00e\
165553
+ \x00d\x00i\x00t\x00-\x00w\x00o\x00r\x00d\x00-\x00c\x00h\x00e\x00c\x00k\x00e\x00d\
165554
+ \x00.\x00s\x00v\x00g\
165555
+ \x00\x16\
165556
+ \x0a\xd3\xa2\x87\
165557
+ \x00e\
165558
+ \x00d\x00i\x00t\x00-\x00r\x00e\x00g\x00e\x00x\x00-\x00c\x00h\x00e\x00c\x00k\x00e\
165559
+ \x00d\x00.\x00s\x00v\x00g\
165390
165560
  \x00\x0c\
165391
165561
  \x0dk\xc34\
165392
165562
  \x00a\
165393
165563
  \x00n\x00c\x00h\x00o\x00r\x00_\x00l\x00i\x00g\x00h\x00t\
165564
+ \x00\x15\
165565
+ \x00\x09\xb3\xe7\
165566
+ \x00e\
165567
+ \x00d\x00i\x00t\x00-\x00c\x00a\x00s\x00e\x00-\x00c\x00h\x00e\x00c\x00k\x00e\x00d\
165568
+ \x00.\x00s\x00v\x00g\
165394
165569
  \x00\x0b\
165395
165570
  \x06\xd5;k\
165396
165571
  \x00a\
@@ -165639,241 +165814,247 @@ qt_resource_name = b"\
165639
165814
  qt_resource_struct = b"\
165640
165815
  \x00\x00\x00\x00\x00\x02\x00\x00\x00\x08\x00\x00\x00\x01\
165641
165816
  \x00\x00\x00\x00\x00\x00\x00\x00\
165642
- \x00\x00\x00X\x00\x02\x00\x00\x00\x01\x00\x00\x00v\
165817
+ \x00\x00\x00X\x00\x02\x00\x00\x00\x01\x00\x00\x00y\
165643
165818
  \x00\x00\x00\x00\x00\x00\x00\x00\
165644
- \x00\x00\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x09\
165819
+ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x05\x00\x00\x00\x09\
165645
165820
  \x00\x00\x00\x00\x00\x00\x00\x00\
165646
165821
  \x00\x00\x00\x10\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
165647
- \x00\x00\x01\x8f,\x03\x9e \
165648
- \x00\x00\x000\x00\x00\x00\x00\x00\x01\x00\x00\x0c\xe6\
165822
+ \x00\x00\x01\x8fE\xde*\xab\
165823
+ \x00\x00\x000\x00\x00\x00\x00\x00\x01\x00\x00\x0c\xe8\
165649
165824
  \x00\x00\x01{\xdc\xe1\xa7\xe9\
165650
- \x00\x00\x00h\x00\x00\x00\x00\x00\x01\x00\x00<\x5c\
165825
+ \x00\x00\x00h\x00\x00\x00\x00\x00\x01\x00\x00<^\
165651
165826
  \x00\x00\x01{\xdc\x9d\xb9,\
165652
- \x00\x00\x00\xb0\x00\x00\x00\x00\x00\x01\x00\x00Ms\
165827
+ \x00\x00\x00\xb0\x00\x00\x00\x00\x00\x01\x00\x00Mu\
165653
165828
  \x00\x00\x01\x86\xb8\xb8\xb9\xa9\
165654
- \x00\x00\x00\x88\x00\x00\x00\x00\x00\x01\x00\x00G\xfa\
165829
+ \x00\x00\x00\x88\x00\x00\x00\x00\x00\x01\x00\x00G\xfc\
165655
165830
  \x00\x00\x01{\xdc\x9a\xfc\xe8\
165656
- \x00\x00\x00\xd8\x00\x00\x00\x00\x00\x01\x00\x00P7\
165831
+ \x00\x00\x00\xd8\x00\x00\x00\x00\x00\x01\x00\x00P9\
165657
165832
  \x00\x00\x01{\xdc\xe2\xa4\xd9\
165658
- \x00\x00\x01D\x00\x02\x00\x00\x00\x02\x00\x00\x00A\
165833
+ \x00\x00\x01\xa6\x00\x00\x00\x00\x00\x01\x00'\x0f\xfa\
165834
+ \x00\x00\x01\x8f,\x03\x9ee\
165835
+ \x00\x00\x01\xd6\x00\x02\x00\x00\x00\x02\x00\x00\x00D\
165659
165836
  \x00\x00\x00\x00\x00\x00\x00\x00\
165660
- \x00\x00\x01&\x00\x02\x00\x00\x00\x02\x00\x00\x00\x0b\
165837
+ \x00\x00\x01V\x00\x00\x00\x00\x00\x01\x00'\x0e\x12\
165838
+ \x00\x00\x01\x8f,\x03\x9e~\
165839
+ \x00\x00\x01\x88\x00\x02\x00\x00\x00\x02\x00\x00\x00\x0e\
165661
165840
  \x00\x00\x00\x00\x00\x00\x00\x00\
165662
- \x00\x00\x01`\x00\x02\x00\x00\x004\x00\x00\x00\x0d\
165841
+ \x00\x00\x01&\x00\x00\x00\x00\x00\x01\x00'\x0b\xb9\
165842
+ \x00\x00\x01\x8f,\x03\x9e\x8c\
165843
+ \x00\x00\x01\xf2\x00\x02\x00\x00\x004\x00\x00\x00\x10\
165663
165844
  \x00\x00\x00\x00\x00\x00\x00\x00\
165664
- \x00\x00\x01t\x00\x00\x00\x00\x00\x01\x00'\xab\x8b\
165665
- \x00\x00\x01\x8f+\x97\xdd\xc8\
165666
- \x00\x00\x07n\x00\x00\x00\x00\x00\x01\x00(\x1a\x16\
165845
+ \x00\x00\x02\x06\x00\x00\x00\x00\x00\x01\x00'\xb4\xf4\
165846
+ \x00\x00\x01\x8fE\xde*\x8d\
165847
+ \x00\x00\x08\x00\x00\x00\x00\x00\x00\x01\x00(#\x84\
165667
165848
  \x00\x00\x01\x8e\xe4\xf3*y\
165668
- \x00\x00\x05*\x00\x00\x00\x00\x00\x01\x00'\xf5\xa0\
165849
+ \x00\x00\x05\xbc\x00\x00\x00\x00\x00\x01\x00'\xff\x0c\
165669
165850
  \x00\x00\x01\x8e\xe4\xf3 +\
165670
- \x00\x00\x05\xe8\x00\x00\x00\x00\x00\x01\x00(\x01\xbe\
165851
+ \x00\x00\x06z\x00\x00\x00\x00\x00\x01\x00(\x0b*\
165671
165852
  \x00\x00\x01\x8e\xe4\xf3+\x01\
165672
- \x00\x00\x06\x8c\x00\x00\x00\x00\x00\x01\x00(\x0d\x1e\
165673
- \x00\x00\x01\x8f,\x03\x9d\xc9\
165674
- \x00\x00\x05\x5c\x00\x00\x00\x00\x00\x01\x00'\xf7^\
165853
+ \x00\x00\x07\x1e\x00\x00\x00\x00\x00\x01\x00(\x16\x8a\
165854
+ \x00\x00\x01\x8fE\xde!\x1a\
165855
+ \x00\x00\x05\xee\x00\x00\x00\x00\x00\x01\x00(\x00\xca\
165675
165856
  \x00\x00\x01\x8e\xe4\xf3 *\
165676
- \x00\x00\x09>\x00\x00\x00\x00\x00\x01\x00(E\x8d\
165857
+ \x00\x00\x09\xd0\x00\x00\x00\x00\x00\x01\x00(N\xfc\
165677
165858
  \x00\x00\x01\x8e\xe4\xf3!\x01\
165678
- \x00\x00\x02\xb2\x00\x00\x00\x00\x00\x01\x00'\xc5j\
165859
+ \x00\x00\x03D\x00\x00\x00\x00\x00\x01\x00'\xce\xd5\
165679
165860
  \x00\x00\x01\x8e\xe4\xf3 \xe6\
165680
- \x00\x00\x04\xc0\x00\x00\x00\x00\x00\x01\x00'\xeeH\
165861
+ \x00\x00\x05R\x00\x00\x00\x00\x00\x01\x00'\xf7\xb4\
165681
165862
  \x00\x00\x01\x8e\xe4\xf3\x1f\xdd\
165682
- \x00\x00\x03\x10\x00\x00\x00\x00\x00\x01\x00'\xccL\
165863
+ \x00\x00\x03\xa2\x00\x00\x00\x00\x00\x01\x00'\xd5\xb7\
165683
165864
  \x00\x00\x01\x8e\xe4\xf3 \xc6\
165684
- \x00\x00\x02\xf0\x00\x00\x00\x00\x00\x01\x00'\xc9\x17\
165865
+ \x00\x00\x03\x82\x00\x00\x00\x00\x00\x01\x00'\xd2\x82\
165685
165866
  \x00\x00\x01\x8e\xe4\xf3\x1f\xdf\
165686
- \x00\x00\x04\xdc\x00\x00\x00\x00\x00\x01\x00'\xf1\x9a\
165867
+ \x00\x00\x05n\x00\x00\x00\x00\x00\x01\x00'\xfb\x06\
165687
165868
  \x00\x00\x01\x8e\xe4\xf3\x1f\xec\
165688
- \x00\x00\x08\xec\x00\x00\x00\x00\x00\x01\x00(7$\
165689
- \x00\x00\x01\x8f,\x03\x9d\xc9\
165690
- \x00\x00\x05\x00\x00\x01\x00\x00\x00\x01\x00'\xf4%\
165869
+ \x00\x00\x09~\x00\x00\x00\x00\x00\x01\x00(@\x92\
165870
+ \x00\x00\x01\x8fE\xde!\x19\
165871
+ \x00\x00\x05\x92\x00\x01\x00\x00\x00\x01\x00'\xfd\x91\
165691
165872
  \x00\x00\x01\x8e\xe4\xf3 Y\
165692
- \x00\x00\x01\x90\x00\x00\x00\x00\x00\x01\x00'\xac\x1d\
165873
+ \x00\x00\x02\x22\x00\x00\x00\x00\x00\x01\x00'\xb5\x88\
165693
165874
  \x00\x00\x01\x8e\xe4\xf3 \xe6\
165694
- \x00\x00\x09\x08\x00\x00\x00\x00\x00\x01\x00(8\xa5\
165875
+ \x00\x00\x09\x9a\x00\x00\x00\x00\x00\x01\x00(B\x14\
165695
165876
  \x00\x00\x01\x8e\xe4\xf3*\xb7\
165696
- \x00\x00\x06\x08\x00\x00\x00\x00\x00\x01\x00(\x04\x19\
165877
+ \x00\x00\x06\x9a\x00\x00\x00\x00\x00\x01\x00(\x0d\x85\
165697
165878
  \x00\x00\x01\x8e\xe4\xf3 &\
165698
- \x00\x00\x09l\x00\x00\x00\x00\x00\x01\x00(KY\
165879
+ \x00\x00\x09\xfe\x00\x00\x00\x00\x00\x01\x00(T\xc8\
165699
165880
  \x00\x00\x01\x8e\xe4\xf3\x1f\x5c\
165700
- \x00\x00\x06\xfa\x00\x00\x00\x00\x00\x01\x00(\x14y\
165881
+ \x00\x00\x07\x8c\x00\x00\x00\x00\x00\x01\x00(\x1d\xe7\
165701
165882
  \x00\x00\x01\x8e\xe4\xf3 *\
165702
- \x00\x00\x08\xca\x00\x00\x00\x00\x00\x01\x00(5\x89\
165883
+ \x00\x00\x09\x5c\x00\x00\x00\x00\x00\x01\x00(>\xf7\
165703
165884
  \x00\x00\x01\x8e\xe4\xf3\x1fo\
165704
- \x00\x00\x09\x8a\x00\x00\x00\x00\x00\x01\x00(H\x87\
165885
+ \x00\x00\x0a\x1c\x00\x00\x00\x00\x00\x01\x00(Q\xf6\
165705
165886
  \x00\x00\x01\x8e\xe4\xf3 \xc0\
165706
- \x00\x00\x01\xe0\x00\x00\x00\x00\x00\x01\x00'\xb1\xdb\
165887
+ \x00\x00\x02r\x00\x00\x00\x00\x00\x01\x00'\xbbF\
165707
165888
  \x00\x00\x01\x8e\xe4\xf3\x1f\xdc\
165708
- \x00\x00\x04\x98\x00\x00\x00\x00\x00\x01\x00'\xea\xc1\
165889
+ \x00\x00\x05*\x00\x00\x00\x00\x00\x01\x00'\xf4-\
165709
165890
  \x00\x00\x01\x8e\xe4\xf3 ]\
165710
- \x00\x00\x03\xf4\x00\x00\x00\x00\x00\x01\x00'\xe0D\
165891
+ \x00\x00\x04\x86\x00\x00\x00\x00\x00\x01\x00'\xe9\xb0\
165711
165892
  \x00\x00\x01\x8e\xe4\xf3!\x02\
165712
- \x00\x00\x02\xd2\x00\x00\x00\x00\x00\x01\x00'\xc7W\
165893
+ \x00\x00\x03d\x00\x00\x00\x00\x00\x01\x00'\xd0\xc2\
165713
165894
  \x00\x00\x01\x8e\xe4\xf3\x1fp\
165714
- \x00\x00\x02H\x00\x00\x00\x00\x00\x01\x00'\xbdr\
165895
+ \x00\x00\x02\xda\x00\x00\x00\x00\x00\x01\x00'\xc6\xdd\
165715
165896
  \x00\x00\x01\x8e\xe4\xf3 :\
165716
- \x00\x00\x03z\x00\x00\x00\x00\x00\x01\x00'\xd6?\
165897
+ \x00\x00\x04\x0c\x00\x00\x00\x00\x00\x01\x00'\xdf\xaa\
165717
165898
  \x00\x00\x01\x8e\xe4\xf3*m\
165718
- \x00\x00\x02z\x00\x00\x00\x00\x00\x01\x00'\xc1`\
165899
+ \x00\x00\x03\x0c\x00\x00\x00\x00\x00\x01\x00'\xca\xcb\
165719
165900
  \x00\x00\x01\x8e\xe4\xf3!\x00\
165720
- \x00\x00\x03\xac\x00\x00\x00\x00\x00\x01\x00'\xdb\x12\
165721
- \x00\x00\x01\x8f,\x01\xa3\xc5\
165722
- \x00\x00\x05\x8e\x00\x00\x00\x00\x00\x01\x00'\xfa\xa1\
165901
+ \x00\x00\x04>\x00\x00\x00\x00\x00\x01\x00'\xe4}\
165902
+ \x00\x00\x01\x8fE\xde!\x16\
165903
+ \x00\x00\x06 \x00\x00\x00\x00\x00\x01\x00(\x04\x0d\
165723
165904
  \x00\x00\x01\x8e\xe4\xf3 \xc0\
165724
- \x00\x00\x07\xa2\x00\x00\x00\x00\x00\x01\x00(!\xf9\
165905
+ \x00\x00\x084\x00\x00\x00\x00\x00\x01\x00(+g\
165725
165906
  \x00\x00\x01\x8e\xe4\xf3\x1f\xdf\
165726
- \x00\x00\x08\x00\x00\x00\x00\x00\x00\x01\x00('\x5c\
165907
+ \x00\x00\x08\x92\x00\x00\x00\x00\x00\x01\x00(0\xca\
165727
165908
  \x00\x00\x01\x8e\xe4\xf3\x1f\xeb\
165728
- \x00\x00\x07\xcc\x00\x00\x00\x00\x00\x01\x00($2\
165909
+ \x00\x00\x08^\x00\x00\x00\x00\x00\x01\x00(-\xa0\
165729
165910
  \x00\x00\x01\x8e\xe4\xf3!\x00\
165730
- \x00\x00\x07\x8a\x00\x00\x00\x00\x00\x01\x00(\x1f\xcb\
165911
+ \x00\x00\x08\x1c\x00\x00\x00\x00\x00\x01\x00()9\
165731
165912
  \x00\x00\x01\x8e\xe4\xf3!\x01\
165732
- \x00\x00\x06.\x00\x00\x00\x00\x00\x01\x00(\x08\x96\
165913
+ \x00\x00\x06\xc0\x00\x00\x00\x00\x00\x01\x00(\x12\x02\
165733
165914
  \x00\x00\x01\x8e\xe4\xf3 Z\
165734
- \x00\x00\x04R\x00\x00\x00\x00\x00\x01\x00'\xe6M\
165915
+ \x00\x00\x04\xe4\x00\x00\x00\x00\x00\x01\x00'\xef\xb9\
165735
165916
  \x00\x00\x01\x8e\xe4\xf3*|\
165736
- \x00\x00\x040\x00\x00\x00\x00\x00\x01\x00'\xe3\x0f\
165917
+ \x00\x00\x04\xc2\x00\x00\x00\x00\x00\x01\x00'\xec{\
165737
165918
  \x00\x00\x01\x8e\xe4\xf3\x1fm\
165738
- \x00\x00\x08 \x00\x00\x00\x00\x00\x01\x00(*#\
165919
+ \x00\x00\x08\xb2\x00\x00\x00\x00\x00\x01\x00(3\x91\
165739
165920
  \x00\x00\x01\x8e\xe4\xf3*k\
165740
- \x00\x00\x04t\x00\x00\x00\x00\x00\x01\x00'\xe87\
165921
+ \x00\x00\x05\x06\x00\x00\x00\x00\x00\x01\x00'\xf1\xa3\
165741
165922
  \x00\x00\x01\x8e\xe4\xf3 8\
165742
- \x00\x00\x05\xd0\x00\x00\x00\x00\x00\x01\x00'\xfe\x1f\
165923
+ \x00\x00\x06b\x00\x00\x00\x00\x00\x01\x00(\x07\x8b\
165743
165924
  \x00\x00\x01\x8e\xe4\xf3 W\
165744
- \x00\x00\x03:\x00\x00\x00\x00\x00\x01\x00'\xce\xd9\
165925
+ \x00\x00\x03\xcc\x00\x00\x00\x00\x00\x01\x00'\xd8D\
165745
165926
  \x00\x00\x01\x8e\xe4\xf3 7\
165746
- \x00\x00\x01\xac\x00\x00\x00\x00\x00\x01\x00'\xb0\x17\
165927
+ \x00\x00\x02>\x00\x00\x00\x00\x00\x01\x00'\xb9\x82\
165747
165928
  \x00\x00\x01\x8e\xe4\xf3 G\
165748
- \x00\x00\x06\xac\x00\x00\x00\x00\x00\x01\x00(\x0e\xa2\
165749
- \x00\x00\x01\x8f,\x03\x9d\xb3\
165750
- \x00\x00\x08\x80\x00\x00\x00\x00\x00\x01\x00(0\xa5\
165929
+ \x00\x00\x07>\x00\x00\x00\x00\x00\x01\x00(\x18\x0f\
165930
+ \x00\x00\x01\x8fE\xde \xe6\
165931
+ \x00\x00\x09\x12\x00\x00\x00\x00\x00\x01\x00(:\x13\
165751
165932
  \x00\x00\x01\x8e\xe4\xf3 K\
165752
- \x00\x00\x03Z\x00\x00\x00\x00\x00\x01\x00'\xd1I\
165933
+ \x00\x00\x03\xec\x00\x00\x00\x00\x00\x01\x00'\xda\xb4\
165753
165934
  \x00\x00\x01\x8e\xe4\xf3 I\
165754
- \x00\x00\x03\xce\x00\x00\x00\x00\x00\x01\x00'\xde\x04\
165935
+ \x00\x00\x04`\x00\x00\x00\x00\x00\x01\x00'\xe7p\
165755
165936
  \x00\x00\x01\x8e\xe4\xf3 #\
165756
- \x00\x00\x08\xa2\x00\x00\x00\x00\x00\x01\x00(3F\
165937
+ \x00\x00\x094\x00\x00\x00\x00\x00\x01\x00(<\xb4\
165757
165938
  \x00\x00\x01\x8e\xe4\xf3 )\
165758
- \x00\x00\x02\x06\x00\x00\x00\x00\x00\x01\x00'\xb4\x95\
165939
+ \x00\x00\x02\x98\x00\x00\x00\x00\x00\x01\x00'\xbe\x00\
165759
165940
  \x00\x00\x01\x8e\xe4\xf3 \xe5\
165760
- \x00\x00\x072\x00\x00\x00\x00\x00\x01\x00(\x16\xec\
165941
+ \x00\x00\x07\xc4\x00\x00\x00\x00\x00\x01\x00( Z\
165761
165942
  \x00\x00\x01\x8e\xe4\xf3 I\
165762
- \x00\x00\x06\xd6\x00\x00\x00\x00\x00\x01\x00(\x11\x89\
165943
+ \x00\x00\x07h\x00\x00\x00\x00\x00\x01\x00(\x1a\xf7\
165763
165944
  \x00\x00\x01\x8e\xe4\xf3 \xe7\
165764
- \x00\x00\x08J\x00\x00\x00\x00\x00\x01\x00(/\x1d\
165945
+ \x00\x00\x08\xdc\x00\x00\x00\x00\x00\x01\x00(8\x8b\
165765
165946
  \x00\x00\x01\x8e\xe4\xf3 !\
165766
- \x00\x00\x06d\x00\x00\x00\x00\x00\x01\x00(\x0a\x87\
165947
+ \x00\x00\x06\xf6\x00\x00\x00\x00\x00\x01\x00(\x13\xf3\
165767
165948
  \x00\x00\x01\x8e\xe4\xf3 Y\
165768
- \x00\x00\x02(\x00\x00\x00\x00\x00\x01\x00'\xb8P\
165949
+ \x00\x00\x02\xba\x00\x00\x00\x00\x00\x01\x00'\xc1\xbb\
165769
165950
  \x00\x00\x01\x8e\xe4\xf3*x\
165770
- \x00\x00\x01`\x00\x02\x00\x00\x003\x00\x00\x00C\
165951
+ \x00\x00\x01\xf2\x00\x02\x00\x00\x003\x00\x00\x00F\
165771
165952
  \x00\x00\x00\x00\x00\x00\x00\x00\
165772
- \x00\x00\x01t\x00\x00\x00\x00\x00\x01\x00'\x0b\xb7\
165773
- \x00\x00\x01\x8f.\x04\xbb4\
165774
- \x00\x00\x07n\x00\x00\x00\x00\x00\x01\x00'zD\
165953
+ \x00\x00\x02\x06\x00\x00\x00\x00\x00\x01\x00'\x15\x1a\
165954
+ \x00\x00\x01\x8fE\xde*\xbf\
165955
+ \x00\x00\x08\x00\x00\x00\x00\x00\x00\x01\x00'\x83\xac\
165775
165956
  \x00\x00\x01\x8e\xe4\xf3*\xab\
165776
- \x00\x00\x05*\x00\x00\x00\x00\x00\x01\x00'U\xce\
165957
+ \x00\x00\x05\xbc\x00\x00\x00\x00\x00\x01\x00'_4\
165777
165958
  \x00\x00\x01\x8e\xe4\xf3 )\
165778
- \x00\x00\x05\xe8\x00\x00\x00\x00\x00\x01\x00'a\xec\
165959
+ \x00\x00\x06z\x00\x00\x00\x00\x00\x01\x00'kR\
165779
165960
  \x00\x00\x01\x8e\xe4\xf3*\xf4\
165780
- \x00\x00\x06\x8c\x00\x00\x00\x00\x00\x01\x00'mL\
165781
- \x00\x00\x01\x8f,\x03\x9d\xf6\
165782
- \x00\x00\x05\x5c\x00\x00\x00\x00\x00\x01\x00'W\x8c\
165961
+ \x00\x00\x07\x1e\x00\x00\x00\x00\x00\x01\x00'v\xb2\
165962
+ \x00\x00\x01\x8fE\xde!\x1d\
165963
+ \x00\x00\x05\xee\x00\x00\x00\x00\x00\x01\x00'`\xf2\
165783
165964
  \x00\x00\x01\x8e\xe4\xf3\x1f[\
165784
- \x00\x00\x09>\x00\x00\x00\x00\x00\x01\x00'\xa5\xbb\
165965
+ \x00\x00\x09\xd0\x00\x00\x00\x00\x00\x01\x00'\xaf$\
165785
165966
  \x00\x00\x01\x8e\xe4\xf3!\x01\
165786
- \x00\x00\x02\xb2\x00\x00\x00\x00\x00\x01\x00'%\x98\
165967
+ \x00\x00\x03D\x00\x00\x00\x00\x00\x01\x00'.\xfd\
165787
165968
  \x00\x00\x01\x8e\xe4\xf3 [\
165788
- \x00\x00\x04\xc0\x00\x00\x00\x00\x00\x01\x00'Nv\
165969
+ \x00\x00\x05R\x00\x00\x00\x00\x00\x01\x00'W\xdc\
165789
165970
  \x00\x00\x01\x8e\xe4\xf3\x1f\xeb\
165790
- \x00\x00\x03\x10\x00\x00\x00\x00\x00\x01\x00',z\
165971
+ \x00\x00\x03\xa2\x00\x00\x00\x00\x00\x01\x00'5\xdf\
165791
165972
  \x00\x00\x01\x8e\xe4\xf3 `\
165792
- \x00\x00\x02\xf0\x00\x00\x00\x00\x00\x01\x00')E\
165973
+ \x00\x00\x03\x82\x00\x00\x00\x00\x00\x01\x00'2\xaa\
165793
165974
  \x00\x00\x01\x8e\xe4\xf3 \xee\
165794
- \x00\x00\x04\xdc\x00\x00\x00\x00\x00\x01\x00'Q\xc8\
165975
+ \x00\x00\x05n\x00\x00\x00\x00\x00\x01\x00'[.\
165795
165976
  \x00\x00\x01\x8e\xe4\xf3 !\
165796
- \x00\x00\x08\xec\x00\x00\x00\x00\x00\x01\x00'\x97R\
165797
- \x00\x00\x01\x8f,\x03\x9d\xf6\
165798
- \x00\x00\x05\x00\x00\x01\x00\x00\x00\x01\x00'TS\
165977
+ \x00\x00\x09~\x00\x00\x00\x00\x00\x01\x00'\xa0\xba\
165978
+ \x00\x00\x01\x8fE\xde \xe5\
165979
+ \x00\x00\x05\x92\x00\x01\x00\x00\x00\x01\x00']\xb9\
165799
165980
  \x00\x00\x01\x8e\xe4\xf3 Y\
165800
- \x00\x00\x01\x90\x00\x00\x00\x00\x00\x01\x00'\x0cK\
165981
+ \x00\x00\x02\x22\x00\x00\x00\x00\x00\x01\x00'\x15\xb0\
165801
165982
  \x00\x00\x01\x8e\xe4\xf3 Y\
165802
- \x00\x00\x09\x08\x00\x00\x00\x00\x00\x01\x00'\x98\xd3\
165983
+ \x00\x00\x09\x9a\x00\x00\x00\x00\x00\x01\x00'\xa2<\
165803
165984
  \x00\x00\x01\x8e\xe4\xf3*\xb8\
165804
- \x00\x00\x06\x08\x00\x00\x00\x00\x00\x01\x00'dG\
165985
+ \x00\x00\x06\x9a\x00\x00\x00\x00\x00\x01\x00'm\xad\
165805
165986
  \x00\x00\x01\x8e\xe4\xf3 )\
165806
- \x00\x00\x09l\x00\x00\x00\x00\x00\x01\x00'\xa8\xb5\
165987
+ \x00\x00\x09\xfe\x00\x00\x00\x00\x00\x01\x00'\xb2\x1e\
165807
165988
  \x00\x00\x01\x8e\xe4\xf3 #\
165808
- \x00\x00\x06\xfa\x00\x00\x00\x00\x00\x01\x00't\xa7\
165989
+ \x00\x00\x07\x8c\x00\x00\x00\x00\x00\x01\x00'~\x0f\
165809
165990
  \x00\x00\x01\x8e\xe4\xf3 \xff\
165810
- \x00\x00\x08\xca\x00\x00\x00\x00\x00\x01\x00'\x95\xb7\
165991
+ \x00\x00\x09\x5c\x00\x00\x00\x00\x00\x01\x00'\x9f\x1f\
165811
165992
  \x00\x00\x01\x8e\xe4\xf3 I\
165812
- \x00\x00\x01\xe0\x00\x00\x00\x00\x00\x01\x00'\x12\x09\
165993
+ \x00\x00\x02r\x00\x00\x00\x00\x00\x01\x00'\x1bn\
165813
165994
  \x00\x00\x01\x8e\xe4\xf3 +\
165814
- \x00\x00\x04\x98\x00\x00\x00\x00\x00\x01\x00'J\xef\
165995
+ \x00\x00\x05*\x00\x00\x00\x00\x00\x01\x00'TU\
165815
165996
  \x00\x00\x01\x8e\xe4\xf3 J\
165816
- \x00\x00\x03\xf4\x00\x00\x00\x00\x00\x01\x00'@r\
165997
+ \x00\x00\x04\x86\x00\x00\x00\x00\x00\x01\x00'I\xd8\
165817
165998
  \x00\x00\x01\x8e\xe4\xf3 \xe5\
165818
- \x00\x00\x02\xd2\x00\x00\x00\x00\x00\x01\x00''\x85\
165999
+ \x00\x00\x03d\x00\x00\x00\x00\x00\x01\x00'0\xea\
165819
166000
  \x00\x00\x01\x8e\xe4\xf3 _\
165820
- \x00\x00\x02H\x00\x00\x00\x00\x00\x01\x00'\x1d\xa0\
166001
+ \x00\x00\x02\xda\x00\x00\x00\x00\x00\x01\x00''\x05\
165821
166002
  \x00\x00\x01\x8e\xe4\xf3\x1f\x5c\
165822
- \x00\x00\x03z\x00\x00\x00\x00\x00\x01\x00'6m\
166003
+ \x00\x00\x04\x0c\x00\x00\x00\x00\x00\x01\x00'?\xd2\
165823
166004
  \x00\x00\x01\x8e\xe4\xf3*\xff\
165824
- \x00\x00\x02z\x00\x00\x00\x00\x00\x01\x00'!\x8e\
166005
+ \x00\x00\x03\x0c\x00\x00\x00\x00\x00\x01\x00'*\xf3\
165825
166006
  \x00\x00\x01\x8e\xe4\xf3 \xc6\
165826
- \x00\x00\x03\xac\x00\x00\x00\x00\x00\x01\x00';@\
165827
- \x00\x00\x01\x8f,\x01\xa4b\
165828
- \x00\x00\x05\x8e\x00\x00\x00\x00\x00\x01\x00'Z\xcf\
166007
+ \x00\x00\x04>\x00\x00\x00\x00\x00\x01\x00'D\xa5\
166008
+ \x00\x00\x01\x8fE\xde!6\
166009
+ \x00\x00\x06 \x00\x00\x00\x00\x00\x01\x00'd5\
165829
166010
  \x00\x00\x01\x8e\xe4\xf3 \xe8\
165830
- \x00\x00\x07\xa2\x00\x00\x00\x00\x00\x01\x00'\x82'\
166011
+ \x00\x00\x084\x00\x00\x00\x00\x00\x01\x00'\x8b\x8f\
165831
166012
  \x00\x00\x01\x8e\xe4\xf3\x1f\xeb\
165832
- \x00\x00\x08\x00\x00\x00\x00\x00\x00\x01\x00'\x87\x8a\
166013
+ \x00\x00\x08\x92\x00\x00\x00\x00\x00\x01\x00'\x90\xf2\
165833
166014
  \x00\x00\x01\x8e\xe4\xf3 9\
165834
- \x00\x00\x07\xcc\x00\x00\x00\x00\x00\x01\x00'\x84`\
166015
+ \x00\x00\x08^\x00\x00\x00\x00\x00\x01\x00'\x8d\xc8\
165835
166016
  \x00\x00\x01\x8e\xe4\xf3 $\
165836
- \x00\x00\x07\x8a\x00\x00\x00\x00\x00\x01\x00'\x7f\xf9\
166017
+ \x00\x00\x08\x1c\x00\x00\x00\x00\x00\x01\x00'\x89a\
165837
166018
  \x00\x00\x01\x8e\xe4\xf3\x1f\xdd\
165838
- \x00\x00\x06.\x00\x00\x00\x00\x00\x01\x00'h\xc4\
166019
+ \x00\x00\x06\xc0\x00\x00\x00\x00\x00\x01\x00'r*\
165839
166020
  \x00\x00\x01\x8e\xe4\xf3 \xe7\
165840
- \x00\x00\x04R\x00\x00\x00\x00\x00\x01\x00'F{\
166021
+ \x00\x00\x04\xe4\x00\x00\x00\x00\x00\x01\x00'O\xe1\
165841
166022
  \x00\x00\x01\x8e\xe4\xf3*\xf5\
165842
- \x00\x00\x040\x00\x00\x00\x00\x00\x01\x00'C=\
166023
+ \x00\x00\x04\xc2\x00\x00\x00\x00\x00\x01\x00'L\xa3\
165843
166024
  \x00\x00\x01\x8e\xe4\xf3 \xc6\
165844
- \x00\x00\x08 \x00\x00\x00\x00\x00\x01\x00'\x8aQ\
166025
+ \x00\x00\x08\xb2\x00\x00\x00\x00\x00\x01\x00'\x93\xb9\
165845
166026
  \x00\x00\x01\x8e\xe4\xf3*\xfe\
165846
- \x00\x00\x04t\x00\x00\x00\x00\x00\x01\x00'He\
166027
+ \x00\x00\x05\x06\x00\x00\x00\x00\x00\x01\x00'Q\xcb\
165847
166028
  \x00\x00\x01\x8e\xe4\xf3 \xe5\
165848
- \x00\x00\x05\xd0\x00\x00\x00\x00\x00\x01\x00'^M\
166029
+ \x00\x00\x06b\x00\x00\x00\x00\x00\x01\x00'g\xb3\
165849
166030
  \x00\x00\x01\x8e\xe4\xf3\x1f\xde\
165850
- \x00\x00\x03:\x00\x00\x00\x00\x00\x01\x00'/\x07\
166031
+ \x00\x00\x03\xcc\x00\x00\x00\x00\x00\x01\x00'8l\
165851
166032
  \x00\x00\x01\x8e\xe4\xf3\x1f\xea\
165852
- \x00\x00\x01\xac\x00\x00\x00\x00\x00\x01\x00'\x10E\
166033
+ \x00\x00\x02>\x00\x00\x00\x00\x00\x01\x00'\x19\xaa\
165853
166034
  \x00\x00\x01\x8e\xe4\xf3 ]\
165854
- \x00\x00\x06\xac\x00\x00\x00\x00\x00\x01\x00'n\xd0\
165855
- \x00\x00\x01\x8f,\x03\x9e=\
165856
- \x00\x00\x08\x80\x00\x00\x00\x00\x00\x01\x00'\x90\xd3\
166035
+ \x00\x00\x07>\x00\x00\x00\x00\x00\x01\x00'x7\
166036
+ \x00\x00\x01\x8fE\xde \xe5\
166037
+ \x00\x00\x09\x12\x00\x00\x00\x00\x00\x01\x00'\x9a;\
165857
166038
  \x00\x00\x01\x8e\xe4\xf3 K\
165858
- \x00\x00\x03Z\x00\x00\x00\x00\x00\x01\x00'1w\
166039
+ \x00\x00\x03\xec\x00\x00\x00\x00\x00\x01\x00':\xdc\
165859
166040
  \x00\x00\x01\x8e\xe4\xf3 S\
165860
- \x00\x00\x03\xce\x00\x00\x00\x00\x00\x01\x00'>2\
166041
+ \x00\x00\x04`\x00\x00\x00\x00\x00\x01\x00'G\x98\
165861
166042
  \x00\x00\x01\x8e\xe4\xf3 K\
165862
- \x00\x00\x08\xa2\x00\x00\x00\x00\x00\x01\x00'\x93t\
166043
+ \x00\x00\x094\x00\x00\x00\x00\x00\x01\x00'\x9c\xdc\
165863
166044
  \x00\x00\x01\x8e\xe4\xf3 $\
165864
- \x00\x00\x02\x06\x00\x00\x00\x00\x00\x01\x00'\x14\xc3\
166045
+ \x00\x00\x02\x98\x00\x00\x00\x00\x00\x01\x00'\x1e(\
165865
166046
  \x00\x00\x01\x8e\xe4\xf3!\x00\
165866
- \x00\x00\x072\x00\x00\x00\x00\x00\x01\x00'w\x1a\
166047
+ \x00\x00\x07\xc4\x00\x00\x00\x00\x00\x01\x00'\x80\x82\
165867
166048
  \x00\x00\x01\x8e\xe4\xf3 ^\
165868
- \x00\x00\x06\xd6\x00\x00\x00\x00\x00\x01\x00'q\xb7\
166049
+ \x00\x00\x07h\x00\x00\x00\x00\x00\x01\x00'{\x1f\
165869
166050
  \x00\x00\x01\x8e\xe4\xf3\x1f\xde\
165870
- \x00\x00\x08J\x00\x00\x00\x00\x00\x01\x00'\x8fK\
166051
+ \x00\x00\x08\xdc\x00\x00\x00\x00\x00\x01\x00'\x98\xb3\
165871
166052
  \x00\x00\x01\x8e\xe4\xf3 )\
165872
- \x00\x00\x06d\x00\x00\x00\x00\x00\x01\x00'j\xb5\
166053
+ \x00\x00\x06\xf6\x00\x00\x00\x00\x00\x01\x00't\x1b\
165873
166054
  \x00\x00\x01\x8e\xe4\xf3 V\
165874
- \x00\x00\x02(\x00\x00\x00\x00\x00\x01\x00'\x18~\
166055
+ \x00\x00\x02\xba\x00\x00\x00\x00\x00\x01\x00'!\xe3\
165875
166056
  \x00\x00\x01\x8e\xe4\xf3*\xff\
165876
- \x00\x00\x01\x02\x00\x00\x00\x00\x00\x01\x00\x09\xc5k\
166057
+ \x00\x00\x01\x02\x00\x00\x00\x00\x00\x01\x00\x09\xc5m\
165877
166058
  \x00\x00\x01IC\xc0\xb4z\
165878
166059
  "
165879
166060
 
anchor/settings.py CHANGED
@@ -909,7 +909,7 @@ class AnchorSettings(QtCore.QSettings):
909
909
  }}
910
910
  QToolButton:checked {{
911
911
  color: {active_color};
912
- background-color: {active_background_color};
912
+ background-color: {hover_background_color};
913
913
  border-color: {active_border_color};
914
914
  }}
915
915
  QPushButton:disabled, QToolButton:disabled {{
anchor/widgets.py CHANGED
@@ -2,6 +2,7 @@ from __future__ import annotations
2
2
 
3
3
  import os
4
4
  import re
5
+ import time
5
6
  import typing
6
7
  from typing import TYPE_CHECKING, Optional
7
8
 
@@ -93,13 +94,6 @@ class MediaPlayer(QtMultimedia.QMediaPlayer): # pragma: no cover
93
94
  self.fade_in_anim.setEasingCurve(QtCore.QEasingCurve.Type.Linear)
94
95
  self.fade_in_anim.setKeyValueAt(0.1, 0.1)
95
96
 
96
- self.fade_out_anim = QtCore.QPropertyAnimation(self._audio_output, b"volume")
97
- self.fade_out_anim.setDuration(5)
98
- self.fade_out_anim.setStartValue(self._audio_output.volume())
99
- self.fade_out_anim.setEndValue(0)
100
- self.fade_out_anim.setEasingCurve(QtCore.QEasingCurve.Type.Linear)
101
- self.fade_out_anim.setKeyValueAt(0.1, self._audio_output.volume())
102
- self.fade_out_anim.finished.connect(super().pause)
103
97
  self.file_path = None
104
98
  self.set_volume(self.settings.value(self.settings.VOLUME))
105
99
 
@@ -113,6 +107,12 @@ class MediaPlayer(QtMultimedia.QMediaPlayer): # pragma: no cover
113
107
  def play(self) -> None:
114
108
  if self.startTime() is None:
115
109
  return
110
+ if self.mediaStatus() not in {
111
+ QtMultimedia.QMediaPlayer.MediaStatus.BufferedMedia,
112
+ QtMultimedia.QMediaPlayer.MediaStatus.LoadedMedia,
113
+ QtMultimedia.QMediaPlayer.MediaStatus.EndOfMedia,
114
+ }:
115
+ return
116
116
  fade_in = self.settings.value(self.settings.ENABLE_FADE)
117
117
  if fade_in:
118
118
  self._audio_output.setVolume(0.1)
@@ -167,7 +167,7 @@ class MediaPlayer(QtMultimedia.QMediaPlayer): # pragma: no cover
167
167
  if selection_model is None:
168
168
  return
169
169
  self.selection_model = selection_model
170
- self.selection_model.fileChanged.connect(self.loadNewFile)
170
+ self.selection_model.fileChanged.connect(self.load_new_file)
171
171
  self.selection_model.viewChanged.connect(self.update_times)
172
172
  self.selection_model.selectionAudioChanged.connect(self.update_selection_times)
173
173
 
@@ -175,24 +175,23 @@ class MediaPlayer(QtMultimedia.QMediaPlayer): # pragma: no cover
175
175
  self.settings.setValue(self.settings.VOLUME, volume)
176
176
  if self.audioOutput() is None:
177
177
  return
178
- linearVolume = QtMultimedia.QtAudio.convertVolume(
178
+ linearVolume = QtMultimedia.QAudio.convertVolume(
179
179
  volume / 100.0,
180
- QtMultimedia.QtAudio.VolumeScale.LogarithmicVolumeScale,
181
- QtMultimedia.QtAudio.VolumeScale.LinearVolumeScale,
180
+ QtMultimedia.QAudio.VolumeScale.LogarithmicVolumeScale,
181
+ QtMultimedia.QAudio.VolumeScale.LinearVolumeScale,
182
182
  )
183
183
  self.audioOutput().setVolume(linearVolume)
184
184
  self.fade_in_anim.setEndValue(linearVolume)
185
- self.fade_out_anim.setStartValue(linearVolume)
186
185
 
187
186
  def volume(self) -> int:
188
187
  if self.audioOutput() is None:
189
188
  return 100
190
189
  volume = self.audioOutput().volume()
191
190
  volume = int(
192
- QtMultimedia.QtAudio.convertVolume(
191
+ QtMultimedia.QAudio.convertVolume(
193
192
  volume,
194
- QtMultimedia.QtAudio.VolumeScale.LinearVolumeScale,
195
- QtMultimedia.QtAudio.VolumeScale.LogarithmicVolumeScale,
193
+ QtMultimedia.QAudio.VolumeScale.LinearVolumeScale,
194
+ QtMultimedia.QAudio.VolumeScale.LogarithmicVolumeScale,
196
195
  )
197
196
  * 100
198
197
  )
@@ -211,9 +210,13 @@ class MediaPlayer(QtMultimedia.QMediaPlayer): # pragma: no cover
211
210
  self.stop()
212
211
  self.setCurrentTime(self.startTime())
213
212
 
214
- def loadNewFile(self, *args):
215
- self.audioReady.emit(False)
216
- self.stop()
213
+ def load_new_file(self, *args):
214
+ if self.playbackState() in {
215
+ QtMultimedia.QMediaPlayer.PlaybackState.PlayingState,
216
+ QtMultimedia.QMediaPlayer.PlaybackState.PausedState,
217
+ }:
218
+ self.stop()
219
+ time.sleep(0.1)
217
220
  try:
218
221
  new_file = self.selection_model.model().file.sound_file.sound_file_path
219
222
  except Exception:
@@ -227,8 +230,6 @@ class MediaPlayer(QtMultimedia.QMediaPlayer): # pragma: no cover
227
230
  self.setSource(QtCore.QUrl())
228
231
  return
229
232
  self.setSource(f"file:///{new_file}")
230
- self.setPosition(0)
231
- self.audioReady.emit(True)
232
233
 
233
234
  def currentTime(self):
234
235
  pos = self.position()
@@ -1063,21 +1064,72 @@ class SearchBox(ClearableField):
1063
1064
 
1064
1065
  def __init__(self, *args):
1065
1066
  super().__init__(*args)
1067
+ settings = AnchorSettings()
1066
1068
  self.returnPressed.connect(self.activate)
1067
1069
  self.setObjectName("search_box")
1068
1070
 
1069
1071
  self.clear_action.triggered.connect(self.returnPressed.emit)
1070
1072
 
1071
- regex_icon = QtGui.QIcon.fromTheme("edit-regex")
1073
+ regex_icon = QtGui.QIcon()
1074
+ word_icon = QtGui.QIcon()
1075
+ case_icon = QtGui.QIcon()
1076
+ if (
1077
+ settings.theme_preset == "Native"
1078
+ and QtGui.QGuiApplication.styleHints().colorScheme() == QtCore.Qt.ColorScheme.Dark
1079
+ ):
1080
+ regex_icon.addFile(
1081
+ ":icons/anchor_dark/actions/edit-regex.svg",
1082
+ mode=QtGui.QIcon.Mode.Normal,
1083
+ state=QtGui.QIcon.State.Off,
1084
+ )
1085
+ word_icon.addFile(
1086
+ ":icons/anchor_dark/actions/edit-word.svg",
1087
+ mode=QtGui.QIcon.Mode.Normal,
1088
+ state=QtGui.QIcon.State.Off,
1089
+ )
1090
+ case_icon.addFile(
1091
+ ":icons/anchor_dark/actions/edit-case.svg",
1092
+ mode=QtGui.QIcon.Mode.Normal,
1093
+ state=QtGui.QIcon.State.Off,
1094
+ )
1095
+ else:
1096
+ regex_icon.addFile(
1097
+ ":icons/anchor_light/actions/edit-regex.svg",
1098
+ mode=QtGui.QIcon.Mode.Normal,
1099
+ state=QtGui.QIcon.State.Off,
1100
+ )
1101
+ word_icon.addFile(
1102
+ ":icons/anchor_light/actions/edit-word.svg",
1103
+ mode=QtGui.QIcon.Mode.Normal,
1104
+ state=QtGui.QIcon.State.Off,
1105
+ )
1106
+ case_icon.addFile(
1107
+ ":icons/anchor_light/actions/edit-case.svg",
1108
+ mode=QtGui.QIcon.Mode.Normal,
1109
+ state=QtGui.QIcon.State.Off,
1110
+ )
1111
+ regex_icon.addFile(
1112
+ ":icons/edit-regex-checked.svg",
1113
+ mode=QtGui.QIcon.Mode.Normal,
1114
+ state=QtGui.QIcon.State.On,
1115
+ )
1116
+ word_icon.addFile(
1117
+ ":icons/edit-word-checked.svg",
1118
+ mode=QtGui.QIcon.Mode.Normal,
1119
+ state=QtGui.QIcon.State.On,
1120
+ )
1121
+ case_icon.addFile(
1122
+ ":icons/edit-case-checked.svg",
1123
+ mode=QtGui.QIcon.Mode.Normal,
1124
+ state=QtGui.QIcon.State.On,
1125
+ )
1072
1126
 
1073
1127
  self.regex_action = QtGui.QAction(icon=regex_icon, parent=self)
1074
1128
  self.regex_action.setCheckable(True)
1075
1129
 
1076
- word_icon = QtGui.QIcon.fromTheme("edit-word")
1077
1130
  self.word_action = QtGui.QAction(icon=word_icon, parent=self)
1078
1131
  self.word_action.setCheckable(True)
1079
1132
 
1080
- case_icon = QtGui.QIcon.fromTheme("edit-case")
1081
1133
  self.case_action = QtGui.QAction(icon=case_icon, parent=self)
1082
1134
  self.case_action.setCheckable(True)
1083
1135
 
@@ -2205,8 +2257,7 @@ class SpeakerTableView(AnchorTableView):
2205
2257
  | QtWidgets.QAbstractItemView.EditTrigger.DoubleClicked
2206
2258
  )
2207
2259
  self.speaker_model: SpeakerModel = None
2208
- self.view_delegate = ButtonDelegate(":magnifying-glass.svg", self)
2209
- self.delete_delegate = ButtonDelegate(":expand.svg", self)
2260
+ self.view_delegate = ButtonDelegate("edit-find", self)
2210
2261
  self.edit_delegate = EditableDelegate(self)
2211
2262
  self.speaker_delegate = SpeakerViewDelegate(self)
2212
2263
  self.setItemDelegateForColumn(1, self.speaker_delegate)
@@ -2500,7 +2551,7 @@ class ButtonDelegate(QtWidgets.QStyledItemDelegate):
2500
2551
  options = QtWidgets.QStyleOptionViewItem(option)
2501
2552
  options.rect = QtCore.QRect(x, y, self.settings.icon_size, self.settings.icon_size)
2502
2553
  self.initStyleOption(options, index)
2503
- icon = QtGui.QIcon(self.icon_path)
2554
+ icon = QtGui.QIcon.fromTheme(self.icon_path)
2504
2555
  icon.paint(painter, options.rect, QtCore.Qt.AlignmentFlag.AlignCenter)
2505
2556
 
2506
2557
  painter.restore()
anchor/workers.py CHANGED
@@ -3386,7 +3386,9 @@ class ImportCorpusWorker(FunctionWorker): # pragma: no cover
3386
3386
  logging_name="inspect_dataset_engine",
3387
3387
  ).execution_options(logging_token="inspect_dataset_engine")
3388
3388
  with sqlalchemy.orm.Session(engine) as session:
3389
- dictionary = session.query(Dictionary.path).first()
3389
+ dictionary = (
3390
+ session.query(Dictionary.path).filter(Dictionary.path != "").first()
3391
+ )
3390
3392
  if dictionary is not None:
3391
3393
  self.dictionary_path = dictionary[0]
3392
3394
  except (sqlalchemy.exc.OperationalError, sqlalchemy.exc.ProgrammingError):