Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.3.2
-
None
Description
the default popup in a QCompleter should elide left since the important part of what you're completing on is the end of the string.
— /tmp/tmp.27150.0 2007-10-31 13:49:50.000000000 -0700
+++ /home/anders/dev/qt/src/gui/util/qcompleter.cpp 2007-10-31 13:49:47.000000000 -0700
@@ -1096,6 +1096,7 @@ QAbstractItemView *QCompleter::popup() c
listView->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
listView->setSelectionBehavior(QAbstractItemView::SelectRows);
listView->setSelectionMode(QAbstractItemView::SingleSelection);
+ listView->setTextElideMode(Qt::ElideLeft);
listView->setModelColumn(d->column);
QCompleter that = const_cast<QCompleter>(this);
that->setPopup(listView);