2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

FlatLabel now can allow to select text and copy to clipboard.

Used for peer name in the new profile cover widget.
This commit is contained in:
John Preston
2016-05-26 18:31:20 +03:00
parent 1c13556b8d
commit ab59ef8498
16 changed files with 540 additions and 68 deletions

View File

@@ -204,7 +204,7 @@ private:
Selecting = 0x04,
};
DragAction _dragAction = NoDrag;
TextSelectType _dragSelType = TextSelectLetters;
TextSelectType _dragSelType = TextSelectType::Letters;
QPoint _dragStartPos, _dragPos;
HistoryItem *_dragItem = nullptr;
HistoryCursorState _dragCursorState = HistoryDefaultCursorState;