Allow to select text into lineedit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691055
This commit is contained in:
parent
0314b60615
commit
cf70eb1f86
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user