status-desktop/ui/StatusQ/sandbox
Pascal Precht 52f5c31b3d 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
2022-09-21 18:20:02 +02:00
..
Buttons.qml refactor(Controls): make use of newly introduced StatusIconSettings in button controls 2022-09-21 18:20:02 +02:00
Controls.qml feat(Components): Add StatusSlider 2022-09-21 18:20:02 +02:00
DemoApp.qml feat(Components): introduce `StatusChatList` 2022-09-21 18:20:02 +02:00
Icons.qml
Layout.qml feat(Components): introduce `StatusChatToolBar` 2022-09-21 18:20:02 +02:00
ListItems.qml feat(Components): introduce `StatusDescriptionListItem` 2022-09-21 18:20:02 +02:00
NavigationHeader.qml refactor(sandbox): make use of StatusQ to layout sandbox app 2022-09-21 18:20:02 +02:00
Others.qml feat(Components): introduce `StatusRoundIcon` component 2022-09-21 18:20:02 +02:00
StatusPopupMenuPage.qml feat(StatusQ.Popups): introduce StatusPopupMenu component 2022-09-21 18:20:02 +02:00
ThemeSwitch.qml chore: add tooltip to theme switch 2022-09-21 18:20:02 +02:00
handler.cpp
handler.h
main.cpp
main.qml feat(StatusQ.Popups): introduce StatusPopupMenu component 2022-09-21 18:20:02 +02:00
qml.qrc feat:Add buttons components 2022-09-21 18:20:02 +02:00
sandbox.pro fix: update position of window to center, add traffic lights 2022-09-21 18:20:02 +02:00
sandboxapp.cpp fix: update position of window to center, add traffic lights 2022-09-21 18:20:02 +02:00
sandboxapp.h fix: fix crash on removing title bar 2022-09-21 18:20:02 +02:00
statuswindow.h fix: update position of window to center, add traffic lights 2022-09-21 18:20:02 +02:00
statuswindow_mac.mm fix: update position of window to center, add traffic lights 2022-09-21 18:20:02 +02:00