Add UserStatus class to retrieve the user status.
authorCamila <hello@camila.codes>
Sat, 3 Oct 2020 15:12:16 +0000 (17:12 +0200)
committerCamila <hello@camila.codes>
Wed, 24 Mar 2021 14:39:13 +0000 (15:39 +0100)
commitf4d8699db85a0e8768a676a6ec556dd31ce22234
treedf057eeb643342d6daf51d410ad1104ff58ee52e
parentc29c011095d92f21684a01cfcb0a24e37c536f38
Add UserStatus class to retrieve the user status.

- AccountState controls UserStatus.
- Display user status in the system tray menu next to user's avatar.

Signed-off-by: Camila <hello@camila.codes>
src/gui/CMakeLists.txt
src/gui/accountstate.cpp
src/gui/accountstate.h
src/gui/tray/UserLine.qml
src/gui/tray/UserModel.cpp
src/gui/tray/UserModel.h
src/gui/tray/Window.qml
src/gui/userstatus.cpp [new file with mode: 0644]
src/gui/userstatus.h [new file with mode: 0644]