Allow to select text into lineedit

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691055
This commit is contained in:
Laurent Montel 2007-07-22 20:46:23 +00:00
parent 0314b60615
commit cf70eb1f86

View File

@ -47,6 +47,7 @@ LineEdit::LineEdit(QGraphicsItem *parent, QGraphicsScene *scene)
{ {
setTextInteractionFlags(Qt::TextEditorInteraction); setTextInteractionFlags(Qt::TextEditorInteraction);
setCursor(Qt::IBeamCursor); setCursor(Qt::IBeamCursor);
setFlag(QGraphicsItem::ItemIsSelectable);
} }
LineEdit::~LineEdit() LineEdit::~LineEdit()