Remove search button and reword search bar hint
This commit is contained in:
parent
692aa16f6b
commit
9bfe8e3840
@ -83,7 +83,7 @@ browsing-reposition = Reposition...
|
|||||||
browsing-reposition-new-cards = Reposition New Cards
|
browsing-reposition-new-cards = Reposition New Cards
|
||||||
browsing-reschedule = Reschedule
|
browsing-reschedule = Reschedule
|
||||||
browsing-save-current-filter = Save Current Filter...
|
browsing-save-current-filter = Save Current Filter...
|
||||||
browsing-search-bar-hint = Search cards/notes
|
browsing-search-bar-hint = Type here and press Enter to search for cards and notes.
|
||||||
browsing-search-in = Search in:
|
browsing-search-in = Search in:
|
||||||
browsing-search-within-formatting-slow = Search within formatting (slow)
|
browsing-search-within-formatting-slow = Search within formatting (slow)
|
||||||
browsing-shift-position-of-existing-cards = Shift position of existing cards
|
browsing-shift-position-of-existing-cards = Shift position of existing cards
|
||||||
|
@ -603,7 +603,6 @@ class Browser(QMainWindow):
|
|||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
def setupSearch(self):
|
def setupSearch(self):
|
||||||
qconnect(self.form.searchButton.clicked, self.onSearchActivated)
|
|
||||||
qconnect(self.form.searchEdit.lineEdit().returnPressed, self.onSearchActivated)
|
qconnect(self.form.searchEdit.lineEdit().returnPressed, self.onSearchActivated)
|
||||||
self.form.searchEdit.setCompleter(None)
|
self.form.searchEdit.setCompleter(None)
|
||||||
self.form.searchEdit.lineEdit().setPlaceholderText(
|
self.form.searchEdit.lineEdit().setPlaceholderText(
|
||||||
|
@ -162,9 +162,7 @@ class CustomStudy(QDialog):
|
|||||||
if i == RADIO_FORGOT:
|
if i == RADIO_FORGOT:
|
||||||
search = self.mw.col.build_search_string(
|
search = self.mw.col.build_search_string(
|
||||||
SearchTerm(
|
SearchTerm(
|
||||||
rated=SearchTerm.Rated(
|
rated=SearchTerm.Rated(days=spin, rating=SearchTerm.RATING_AGAIN)
|
||||||
days=spin, rating=SearchTerm.RATING_AGAIN
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
dyn["terms"][0] = [search, DYN_MAX_SIZE, DYN_RANDOM]
|
dyn["terms"][0] = [search, DYN_MAX_SIZE, DYN_RANDOM]
|
||||||
|
@ -107,13 +107,6 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="2">
|
|
||||||
<widget class="QPushButton" name="searchButton">
|
|
||||||
<property name="text">
|
|
||||||
<string>ACTIONS_SEARCH</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QPushButton" name="filter">
|
<widget class="QPushButton" name="filter">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -158,12 +151,12 @@
|
|||||||
<attribute name="horizontalHeaderCascadingSectionResizes">
|
<attribute name="horizontalHeaderCascadingSectionResizes">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</attribute>
|
</attribute>
|
||||||
<attribute name="horizontalHeaderMinimumSectionSize">
|
|
||||||
<number>20</number>
|
|
||||||
</attribute>
|
|
||||||
<attribute name="horizontalHeaderHighlightSections">
|
<attribute name="horizontalHeaderHighlightSections">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<attribute name="horizontalHeaderMinimumSectionSize">
|
||||||
|
<number>20</number>
|
||||||
|
</attribute>
|
||||||
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</attribute>
|
</attribute>
|
||||||
@ -223,7 +216,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>750</width>
|
<width>750</width>
|
||||||
<height>22</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menuEdit">
|
<widget class="QMenu" name="menuEdit">
|
||||||
|
Loading…
Reference in New Issue
Block a user