diff options
author | Ken Moore <ken@ixsystems.com> | 2017-04-06 16:14:25 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-04-06 16:14:25 -0400 |
commit | 1c6302da11e59889b8b1b7cf2824cafeef149a1e (patch) | |
tree | aa5991ed6b510346a408e90f59dcac0359b41440 /src-qt5/desktop-utils/lumina-textedit/MainUI.h | |
parent | Start the prep-work for making the tabwidget drag-and-drop capable. (diff) | |
download | lumina-1c6302da11e59889b8b1b7cf2824cafeef149a1e.tar.gz lumina-1c6302da11e59889b8b1b7cf2824cafeef149a1e.tar.bz2 lumina-1c6302da11e59889b8b1b7cf2824cafeef149a1e.zip |
Finish up the drag and drop support for tabs within LTE:
Drags will start on *middle click + drag*, and utilities the standardized uri-list mimetype for transfer to other applications with support it.
NOTE: In testing, the return code for a successful drop/accept on another applications still seems to return the "ignore" action rather than the move action. This may be a problem in Qt 5.7.1 - not sure yet.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/MainUI.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/MainUI.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/MainUI.h b/src-qt5/desktop-utils/lumina-textedit/MainUI.h index e3e4c9fc..845a4a19 100644 --- a/src-qt5/desktop-utils/lumina-textedit/MainUI.h +++ b/src-qt5/desktop-utils/lumina-textedit/MainUI.h @@ -28,9 +28,8 @@ public: MainUI(); ~MainUI(); - void LoadArguments(QStringList args); //CLI arguments - public slots: + void LoadArguments(QStringList args); //CLI arguments void updateIcons(); private: @@ -69,6 +68,8 @@ private slots: void updateTab(QString); void tabChanged(); void tabClosed(int); + void tabDetached(int); + void tabDraggedOut(int, Qt::DropAction); //Find/Replace functions void closeFindReplace(); |