Skip to content

Commit

Permalink
Temporary notes on PhonoSearch dialog
Browse files Browse the repository at this point in the history
This lets the user know that phonological search does not work with segments that are only found in pronunciation variants.
  • Loading branch information
stannam committed Dec 17, 2021
1 parent b91248a commit c81409d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions corpustools/gui/psgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,18 @@ def __init__(self, parent, settings, recents, saved, corpus, inventory, showTool
self.pslayout.addWidget(filterFrame)

self.psFrame.setLayout(self.pslayout)

psTempnote_Frame = QFrame()
notelayout = QVBoxLayout()
psTempnote_Frame.setLayout(notelayout)
temp_note = QLabel(text=('* Currently, PCT cannot search for symbols that are only found in '
'pronunciation variants.\n* Even if you can select one in the inventory table,'
' searching for a variant-only segment returns 0.\n'
'* "Syllable search" and "Syllable number filters" only work on a syllabified corpus'))
temp_note.setFont(QFont('Arial', 11))
notelayout.addWidget(temp_note)
self.layout().insertWidget(0, self.psFrame)
self.layout().insertWidget(1, psTempnote_Frame)

self.progressDialog.setWindowTitle('Searching')

Expand Down

1 comment on commit c81409d

@stannam
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

related to #792

Please sign in to comment.