diff options
author | David Faure <faure@kde.org> | 2010-02-02 13:29:11 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2010-02-02 13:29:11 (GMT) |
commit | 42e181a6feba241997b041a2a58903f308264559 (patch) | |
tree | d6b0994ce1f73957f0cfea310e21b8ed1ad1ab8c /src/gui/widgets/qmdisubwindow.cpp | |
parent | e9b0c9a1d25a2260bd7c0e7ead840cacb31ce424 (diff) | |
download | Qt-42e181a6feba241997b041a2a58903f308264559.zip Qt-42e181a6feba241997b041a2a58903f308264559.tar.gz Qt-42e181a6feba241997b041a2a58903f308264559.tar.bz2 |
QLabel: add setSelection, hasSelectedText, selectedText, selectionStart.
When using TextSelectableByMouse or TextSelectableByKeyboard, this
allows to programmatically control the selection. Needed in KDE's
KSqueezedTextLabel, so that mouseReleaseEvent can get the selection
and copy the un-squeezed text instead of the squeezed one.
Merge-request: 454
Reviewed-by: Leonardo Sobral Cunha <leo.cunha@nokia.com>
Diffstat (limited to 'src/gui/widgets/qmdisubwindow.cpp')
0 files changed, 0 insertions, 0 deletions