Revision: 7160
Author: nogu.dev
Date: Sun Jun 26 09:07:40 2011
Log: * qt4/immodule/candidatewindow.cpp
- (CandidateWindow::updateView): Show "..."
when annotation is available.
http://code.google.com/p/uim/source/detail?r=7160
Modified:
/trunk/qt4/immodule/candidatewindow.cpp
=======================================
--- /trunk/qt4/immodule/candidatewindow.cpp Sun Jun 26 09:06:04 2011
+++ /trunk/qt4/immodule/candidatewindow.cpp Sun Jun 26 09:07:40 2011
@@ -154,12 +154,12 @@
QFontMetrics( cList->font() ).height() + 2 );
} else {
QTableWidgetItem *candItem = new QTableWidgetItem;
- candItem->setText( headString + ": " + candString );
candItem->setFlags( Qt::ItemIsSelectable | Qt::ItemIsEnabled );
QString candText = headString + ": " + candString;
if ( hasAnnotation && !annotationString.isEmpty() )
candText += "...";
+ candItem->setText( candText );
cList->setItem( 0, i, candItem );
}