mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
0a267d2932
commit
3fa7f2a031
@ -6,7 +6,7 @@ __copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
|
|||||||
__docformat__ = 'restructuredtext en'
|
__docformat__ = 'restructuredtext en'
|
||||||
|
|
||||||
|
|
||||||
from PyQt4.Qt import QLineEdit, QListView, QAbstractListModel, Qt, QTimer, \
|
from PyQt4.Qt import QLineEdit, QListView, QAbstractListModel, Qt, \
|
||||||
QApplication, QPoint, QItemDelegate, QStyleOptionViewItem, \
|
QApplication, QPoint, QItemDelegate, QStyleOptionViewItem, \
|
||||||
QStyle, QEvent, pyqtSignal
|
QStyle, QEvent, pyqtSignal
|
||||||
|
|
||||||
@ -298,17 +298,6 @@ class MultiCompleteLineEdit(QLineEdit):
|
|||||||
self.position_complete_window()
|
self.position_complete_window()
|
||||||
self.complete_window.show()
|
self.complete_window.show()
|
||||||
|
|
||||||
def moveEvent(self, ev):
|
|
||||||
ret = QLineEdit.moveEvent(self, ev)
|
|
||||||
QTimer.singleShot(0, self.position_complete_window)
|
|
||||||
return ret
|
|
||||||
|
|
||||||
def resizeEvent(self, ev):
|
|
||||||
ret = QLineEdit.resizeEvent(self, ev)
|
|
||||||
QTimer.singleShot(0, self.position_complete_window)
|
|
||||||
return ret
|
|
||||||
|
|
||||||
|
|
||||||
@dynamic_property
|
@dynamic_property
|
||||||
def all_items(self):
|
def all_items(self):
|
||||||
def fget(self):
|
def fget(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user