status-qml/sandbox
B.Melnik c679854d7d feat(StatusChatList): Add drag and drop support of list items
This implements drag and drop capabilities of chat items within a `StatusChatList`.
The commit introduces a `DelegateModal` to visually reorder chat items
when they're being dragged and dropped onto a `DropArea`.

To persist the new order of chat items, various signals have been introduced to chat
list related components:

```qml
StatusChatList {

    onChatItemReordered: function (id, from, to) {
        // ...
    }
}

StatusChatListAndCategories {

    onChatItemReordered: function (categoryId, chatId, from, to) {
        // ...
    }
}
```

There's no such API on the `StatusChatListCategory` type because that one already
exposes its underlying `StatusChatList` via `chatList`, which makes the signal available.

Dragging and dropping chat items is disabled by default and needs to be turned on
using the `draggableItems` property:

```qml
StatusChatList {
    draggableItems: true
    ...
}
```
2021-08-23 14:16:53 +02:00
..
android Revert "Revert "feat: can be used on tablets (#146)"" 2021-06-15 11:16:22 +02:00
scripts chore: introduce build script for sandbox app 2021-06-16 11:11:04 +02:00
Buttons.qml [#202] Added Picker button 2021-07-09 11:16:04 +02:00
Controls.qml chore(sandbox): introduce StatusInputPage 2021-07-26 15:03:54 +02:00
DemoApp.qml feat(StatusChatList): Add drag and drop support of list items 2021-08-23 14:16:53 +02:00
Icons.qml feat: Set up catalog app (sandbox) 2021-05-05 07:55:43 +02:00
Layout.qml feat(Components): introduce `StatusChatToolBar` 2021-05-28 11:56:49 +02:00
ListItems.qml feat(StatusQ.Popups) Adding SearchPopup component 2021-08-12 11:35:09 +02:00
Models.qml feat(StatusChatList): Add drag and drop support of list items 2021-08-23 14:16:53 +02:00
Others.qml feat(Components): introduce `StatusRoundIcon` component 2021-05-25 12:23:47 +02:00
Popups.qml feat(StatusModal): introduce support for identicons and letter identicons 2021-07-21 09:57:03 +02:00
StatusChatInfoToolBarPage.qml feat(Components): introduce `StatusChatInfoToolBar` component 2021-06-16 11:01:22 +02:00
StatusInputPage.qml feat(StatusInput): introduce new validator pipeline 2021-08-16 09:37:39 +02:00
StatusPopupMenuPage.qml feat(StatusQ.Popups) Adding SearchPopup component 2021-08-12 11:35:09 +02:00
ThemeSwitch.qml chore: add tooltip to theme switch 2021-06-03 16:40:57 +02:00
handler.cpp feat: Set up catalog app (sandbox) 2021-05-05 07:55:43 +02:00
handler.h feat: Set up catalog app (sandbox) 2021-05-05 07:55:43 +02:00
main.cpp feat: Set up catalog app (sandbox) 2021-05-05 07:55:43 +02:00
main.qml chore(sandbox): make app wider due to minimum layout width 2021-07-26 15:13:04 +02:00
qml.qrc chore(sandbox): introduce StatusInputPage 2021-07-26 15:03:54 +02:00
sandbox.pro [#202] Added Picker button 2021-07-09 11:16:04 +02:00
sandboxapp.cpp Revert "Revert "feat: can be used on tablets (#146)"" 2021-06-15 11:16:22 +02:00
sandboxapp.h fix: fix crash on removing title bar 2021-05-20 10:48:51 +02:00
statuswindow.cpp Revert "Revert "feat: can be used on tablets (#146)"" 2021-06-15 11:16:22 +02:00
statuswindow.h fix: update position of window to center, add traffic lights 2021-06-03 16:38:08 +02:00
statuswindow_mac.mm fix: update position of window to center, add traffic lights 2021-06-03 16:38:08 +02:00