1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-04 14:55:43 +02:00
Commit graph

40 commits

Author SHA1 Message Date
Ming Rui Zhang
e0737f4b70 settings: refactor for SettingsView - stage two
1. Remove redundant functions in AvAdapter
2. Add CurrentDevice for video device treatment
   Audio device treatment should be improved in the next
   stage
3. Add QSortFilterProxyModel to all video list models and
   manage them together to avoid redundant function calls
4. Video device call action should be responsive to device
   change as well

Gitlab: #508

Change-Id: I3df949a08bc19042b73f033139cd6ab06925c0b6
2021-09-14 16:52:45 -04:00
Andreas Traczyk
b334ed370b misc: bump QML modules versions to x.15
Change-Id: Ia80632cf2e217e8dd6844a6a8c0d0d8c0f6e1baf
2021-08-23 19:14:06 -04:00
Andreas Traczyk
a2b5e77568 misc: cleanup QML import modules
Change-Id: Ia344d9f57a216f2d27ef40153af2d6bd787bfb77
2021-08-23 19:12:02 -04:00
Andreas Traczyk
32ac718ef4 qmlengine: bump version to 1.1 for custom modules
Change-Id: I6e912c7a3dbba63f874b063770ba5c68a3f2de2f
2021-08-23 14:40:18 -04:00
Andreas Traczyk
e49e7805e7 misc: don't use 'required' qml keyword
Support Qt versions less than 5.15. This is not a good idea.
Something is wrong with package deployment.

Change-Id: Idc3daef154f7994f8e5ca089a3a0c6fe4d97dacf
2021-08-23 14:22:38 -04:00
Ming Rui Zhang
77b8f2858e keyEvent: replace the unclear StandardKey comparisons
StandardKey.MoveToNextLine, StandardKey.MoveToPreviousLine
and StandardKey.InsertParagraphSeparator maybe confusing and
better to be replaced by direct key comparisons

Change-Id: I13361a43437214b9368d01a97b2e542f57835964
2021-08-16 09:20:02 -04:00
Ming Rui Zhang
6ceba6a792 profilepage: improvments on ui
1. Remove the "Select file" button during the camera picture-taking process
2. Add missing cancel (x) button during the first step of the camera picture-taking process
3. Disable all interactive components when the account creation is unfinished

Gitlab: #486
Change-Id: I91e279052aecdd9327f59e9a1377c344d9052323
2021-08-16 09:19:55 -04:00
Ming Rui Zhang
c2be09f55a test: add wizardview key navigation test
Gitlab: #470

Change-Id: I598cab490149739858958e89cc40cabb5820714a
2021-08-05 12:48:04 -04:00
Ming Rui Zhang
576da3e087 wizardview: add key navigations
Gitlab: #470

Change-Id: I2ec5c4a4b490895ea32fef64baf1e7c5b85cf9d5
2021-08-05 12:48:04 -04:00
Andreas Traczyk
1a61af02f3 resources: remove unused images and icons
gen-resources.py should be used to generate resources.qrc and
JamiResources.qml. Steps to add an image resource:
- add the resource file to the appropriate path under resources/
- run gen-resources.py
- use the newly available resource

Note: only icons and images will be represented by Qml properties.

The resource file generation may be made to run during CMake
configuration in a subsequent commit.

Some unused components were also removed during the refactor.

Gitlab: #477
Change-Id: I8e7f13d465031666be2bbadd5f29f9afc94d210d
2021-07-20 21:57:27 -04:00
Andreas Traczyk
ab4c68adb5 avatars: add clear feature to photobooth
A property is provided to notify of changes to the content of the
current account's stored avatar. If one is stored, then a button
used to clear the avatar becomes available.

Gitlab: #473
Change-Id: I37640acaea3ca43e5abd14678d68b4eeebb3829e
2021-07-19 12:57:31 -04:00
Andreas Traczyk
26c922da4d wizard: fix profile page avatar previews
Replaces live updates to the avatar preview when editing the alias
field on the profile page during account creation.

Gitlab: #466
Change-Id: I93dd4611949ab0e76f9cea78f9d7aaa1949daa13
2021-07-14 16:50:49 -04:00
Andreas Traczyk
4bda330637 swarm: simplify and update avatar update mechanism
Implements a leaner avatar caching system. The avatar component
listens for uid filtering its id, which may be:
- conversation id
- account id
- contact uri

In response to the uid change, a the image source is updated with
a new image url invoking a fresh QQuickImageProvider query. With
this design, only the avatarregistry's uid mapping needs to be
updated when profiles are changed, and no longer should specific
avatar components receive manual source updates.

Gitlab: #466
Change-Id: Ie5313f5c187a0977ca51b890dd92187480a42537
2021-07-12 17:29:48 -04:00
Ming Rui Zhang
b80205ec73 photoboothView: fix the white border in dark mode and the photo taken
Change-Id: I24556c668d92a11573a23bab2367a0a470d01750
2021-06-07 10:05:43 -04:00
Ming Rui Zhang
b6aadb1277 mainOverlay: add mosaic button
Gitlab: #409

Change-Id: I65e1c91184a95453c10633340a74f50cc4de7032
2021-05-27 17:47:05 -04:00
Ming Rui Zhang
77aae84786 call: add call status indicator when adding new participants into a conference
Gitlab: #410

Change-Id: Iff3b06b123363478794fd7e419db3d2d0ae10bb7
2021-05-27 17:21:55 -04:00
Ming Rui Zhang
9d0f84d8be accountadapter: move current account id and type properties to lrcinstance
Change-Id: I609452e83edd55a909d0f30aa6cb0daa3687ff3c
2021-05-14 15:05:20 -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
Ming Rui Zhang
7951764b2e misc: remove LRC singleton
GitLab: #337

Change-Id: Ifb671d38d364714818650a8154c43a5787460039
2021-03-22 15:47:14 -05:00
Andreas Traczyk
c472fe83ae video: fix rendering on linux
Change-Id: If6a2deda08663f7edf9fa527bc1c592f60e6a371
2020-12-10 09:46:52 -05:00
Ming Rui Zhang
0de0f6ecb0 avatar: save the original source of the avatar instead of the cropped
Change-Id: I0e92189f9661ada19ae62025a3114541e41ea587
2020-12-07 17:17:48 -05:00
Ming Rui Zhang
ba45e39db7 photobooth: recover the functionality of photo taken with flash
Gitlab: #187
Change-Id: I2d6cc19a68438accff89598e5b6866649ae5a511
2020-12-07 17:16:10 -05:00
ababi
7bd7b2e9ee misc: move JamiTheme and JamiStrings to net.jami.Constants namespace
Change-Id: Ief728a8bd36f6c29a906686988b28b0640b2065c
2020-12-07 17:02:00 -05:00
Sébastien Blin
56560914bf misc: add parametrizable colors for theme support
GitLab: #160
Change-Id: I44e7584af070fd355af623fe12433cdd68d32d30
2020-12-07 17:01:53 -05:00
Ming Rui Zhang
f62a36ac54 wizardview: make user avatar in profile page change accordingly
Gitlab: #161
Change-Id: I79d8f5e28f2025bd685ea760cd813eeca2e60c8b
2020-11-18 13:49:21 -05:00
Ming Rui Zhang
173cf2be50 migration: use image provider to show avatar image
1. Use avatarimageprovider
2. Remove redundant base64 code

Change-Id: I2a2517890e95b4a9f9a363fbea2251d6d5dd1c8f
2020-10-30 11:35:39 -04: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
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
Sébastien Blin
b73a1424ab
translation: update strings
Change-Id: I75235646bff29e621aff08754c3902f677cbe4d3
Gitlab: #90
2020-09-18 13:34:24 -04:00
Ming Rui Zhang
3550806981 commoncomponents: correct photo booth view geometry
Make sure that in wizard view, the spacing in the profile page is
correct.

Change-Id: I15cc9274b433532621495df4899578afb5efee92
2020-09-15 15:24:29 -04:00
agsantos
f0ad12c8fc misc: string refactoring
Gitlab: #72
Gitlab: #75
Change-Id: I0aa4049df3d293a0988842bf2a37daaab816cfcf
2020-09-15 14:58:33 -04:00
agsantos
d191f86b9c settings: optimize code
Change-Id: Ib12382a9292852f404b1a588a7b5a6e29cb06cf9
2020-09-15 14:58:24 -04:00
Andreas Traczyk
ae058405a5 qml interop: remove clientwrapper
The clientwrapper class masks granular object registration within
qml, and encourages code duplication between viewmodels(adapters)
and code lasagnafication and the misuse of declarative Qml.

Change-Id: I85fef214363e62e54fc0681282323ea4861000d6
Gitlab: #66
2020-09-10 14:55:07 -04:00
Andreas Traczyk
88816940fb qml interop: refactor and remove utilsadapter from clientwrapper
- Separate utilsadapter into files and expose it to Qml so it can
  be used without passing through clientwrapper.

Change-Id: I7c351d7191cd166521b6e0a685ea9d4a9731f165
Gitlab: #66
2020-09-10 14:54:58 -04:00
agsantos
c5687508cd settings: code clean up
Correct Layout and Anchors emplacement
Erase inutile code
Fix binding loop warnings
Replace magic numbers by JamiTheme values
Remove multiline comments from qml files

Change-Id: Icdde094750ccc39fa3b3c9fb9368f8609eb8981d
Gitlab: #5
2020-09-10 13:00:40 -04:00
Ming Rui Zhang
346b255c77 wizardview: UI refinement
Partially optimized the wizardview related UI code and UI performance.
Note: Since some common components are changed, UI changes in settings
view are also required to keep the original style.

Gitlab: #59
Change-Id: Ib77868bac3a6479700e81f3361b67a8403725661
2020-09-03 15:37:12 -04:00
Sébastien Blin
c75335fee1 wizardview: redesign
Change-Id: If0a3d896b35385f24c9d04b67b12146febfff7c2
2020-08-25 16:44:39 -04:00
Yang Wang
b97bde4cc5 tooltip: add tool tips to qt client
Change-Id: I7aeb96f4c8a09a8b8c0b8e6534079e3fa3965941
2020-08-21 15:37:35 -04:00
ababi
6fa0861fbd settingsview: redesign UI
Gitlab: #3
Change-Id: I382bc51b78cb5aff45e7dad008c97368494780d8
2020-08-21 13:19:58 -04:00
Sébastien Blin
1f91576a0b
client-qml: add initial commit
Change-Id: I32bfdd2a618aa7ac6181da2697e241667b010aab
2020-08-03 13:27:42 -04:00