Ejemplo n.º 1
0
 def __init__(self, parent=None):
     HistoryComboBox.__init__(self, parent)
     self.lineEdit().setPlaceholderText(_('Search'))
     self.lineEdit().setClearButtonEnabled(True)
     ac = self.lineEdit().findChild(QAction, QT_HIDDEN_CLEAR_ACTION)
     if ac is not None:
         ac.triggered.connect(self.cleared)
Ejemplo n.º 2
0
 def __init__(self, parent, clear_msg):
     HistoryComboBox.__init__(self, parent)
     self.disable_popup = tprefs['disable_completion_popup_for_search']
     self.clear_msg = clear_msg
Ejemplo n.º 3
0
 def __init__(self, parent, clear_msg):
     HistoryComboBox.__init__(self, parent)
     self.disable_popup = tprefs['disable_completion_popup_for_search']
     self.clear_msg = clear_msg