1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-03 22:35:45 +02:00
Commit graph

11 commits

Author SHA1 Message Date
Andreas Traczyk
24a8631c34 misc: fix svg icon coloration
Change-Id: Idfe409c6e01f8437cba2659e79234a6083bec04e
2021-06-07 15:09:35 -04:00
Ming Rui Zhang
fe8b0bc243 misc: improvement for push button and change from "mozaic" to "mosaic"
Change-Id: Id1ad050af02a3833dc4099d7246fa81b4903f17d
2021-05-28 14:46:14 -04:00
Ming Rui Zhang
b6aadb1277 mainOverlay: add mosaic button
Gitlab: #409

Change-Id: I65e1c91184a95453c10633340a74f50cc4de7032
2021-05-27 17:47:05 -04:00
Andreas Traczyk
3cca2e7078 calloverlays: cleanup main and participant fadeout mechanisms
Unfortunately, QQuickMouseArea force accepts all move events by
design, which makes passthrough events tricky to catch. In-call
overlays for conference participants should be a layer below the
main overlay. So, using QML MouseAreas makes correctly implementing
both overlay fade mechanisms with passthrough for participant menus
too complex. To properly implement the signal relay mechanism we
would need to listen to all the child components with MouseAreas
and relay the positionChanged events to parenting MouseAreas.

To avoid the complexity, we can install an event filter for the
main overlay and listen to global mouse move events that are
contained in it's geometry.

Additionally, we can use Control components instead of transparent
Rectangles to access a hovered property which can be used to
prevent the fade out, and effectively freeze the visibility of menu
components.

Gitlab: #420
Gitlab: #421
Gitlab: #423
Change-Id: I7f05d2bc79ad6a8db0951b7b59e52f671fdf4798
2021-05-26 16:15:50 -04:00
Ming Rui Zhang
fcb56bfb87 misc: qml module import clean up
The main reason for this change is to remove the misusage
of QQuick one in ElidedTextLabel and useless QQuick one
module import

Change-Id: Ie296c0f7a90c6ec26ab85bcf3d8b75393463fbed
2021-03-25 14:40:22 -04:00
ababi
7bd7b2e9ee misc: move JamiTheme and JamiStrings to net.jami.Constants namespace
Change-Id: Ief728a8bd36f6c29a906686988b28b0640b2065c
2020-12-07 17:02:00 -05:00
ababi
d6d2ed0358 misc: fix PushButton renderer for Linux
Gitlab: #140

Change-Id: I980126d333ab33c9fbc9f2984d115d79082b0dd3
2020-11-17 17:22:57 +01:00
ababi
7b7451b394 misc: Qt 5.14 migration
- QML headers revision
- networkmanager: use of deprecated QNetworkReply::error instead of errorOcurred

Gitlab: #127

Change-Id: I74f4fd01a0bf34f7a2cb4ae21e3ce611839846f5
2020-10-23 09:37:22 -04:00
Andreas Traczyk
1ddd3613ce settings: refactor menu to use PushButton
- simplifies the settings menu
- removes the IconButton component

Gitlab: #14
Change-Id: Ib5cdc01dde47835befcdfa34aff35e5351a3b09d
2020-10-08 15:51:45 -04:00
Andreas Traczyk
191697b804 misc: remove HoverableRadiusButton
Change-Id: I0cbefdf530a7fe5d67a67795f3006a993ad6c742
2020-10-08 13:37:50 -04:00
Andreas Traczyk
5d8256fb9b misc: fix image button svg rendering and cleanup button components
- provides a base component for rendering scaled svg images
- simplifies the normal/hovered/pressed state transitions
- uses color overlay to factor out image source changes for
  checked states
- fixes sizing inconsistencies and visual bugs
- removes manual background color changes and minimizes the use
  of MouseArea components
- removes the unused HoverableGradienButton component

Gitlab: #14
Change-Id: I06357d3cc6d8d04d9d1f062753dc39223a64d4f6
2020-10-08 12:39:13 -04:00