status-qml/sandbox
Pascal Precht 1e558b59b0 feat(Components): introduce `StatusChatList`
This commit introduce a new `StautsChatList` component that can be used
to render `StatusChatListItem`s, typically for chat and community views.

The component expects a `chatListItems.model` that has the following properties:

```qml
ListModel {
		ListElement {
				chatId: "0"
				name: "#status"
				chatType: StatusChatListItem.Type.PublicChat
				muted: false
				hasUnreadMessages: false
				hasMention: false
				unreadMessagesCount: 0
				iconColor: "blue"
		}
		...
}
```

It also emits two possible signals:

- `onChatItemSelected(string id)`
- `onChatItemUnmuted(string id)`

Usage:

```qml
import StatusQ.Components 0.1

StatusChatList {
		selectedChatId: "0"
		chatListItems.model: demoChatListItems

		onChatItemSelected: ...
		onChatItemUnmuted: ...
}
```

Closes #100
2021-06-08 13:15:20 +02:00
..
Buttons.qml refactor(Controls): make use of newly introduced StatusIconSettings in button controls 2021-05-25 14:10:56 +02:00
Controls.qml feat(Components): Add StatusSlider 2021-05-28 13:39:32 +02:00
DemoApp.qml feat(Components): introduce `StatusChatList` 2021-06-08 13:15:20 +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(Components): introduce `StatusDescriptionListItem` 2021-05-27 15:03:54 +02:00
NavigationHeader.qml refactor(sandbox): make use of StatusQ to layout sandbox app 2021-05-28 11:57:23 +02:00
Others.qml feat(Components): introduce `StatusRoundIcon` component 2021-05-25 12:23:47 +02:00
StatusPopupMenuPage.qml feat(StatusQ.Popups): introduce StatusPopupMenu component 2021-06-04 10:15:02 +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 feat(StatusQ.Popups): introduce StatusPopupMenu component 2021-06-04 10:15:02 +02:00
qml.qrc feat:Add buttons components 2021-05-19 10:43:14 +02:00
sandbox.pro fix: update position of window to center, add traffic lights 2021-06-03 16:38:08 +02:00
sandboxapp.cpp fix: update position of window to center, add traffic lights 2021-06-03 16:38:08 +02:00
sandboxapp.h fix: fix crash on removing title bar 2021-05-20 10:48:51 +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