1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-14 12:35:23 +02:00
Commit graph

35 commits

Author SHA1 Message Date
Andreas Traczyk
70a6972b7e mainwindow: save/restore window geometry
Save virtual desktop geometry and window visibility state settings
and set them for the application window when loading.

Gitlab: #604
Change-Id: I053716d9c7b5d23e1bd7f33a1c41aedefb6cf9c8
2022-01-21 14:23:25 -05:00
Andreas Traczyk
b0fd803245 mainapplication: isolate window mode logic in a top-level component
Logic for fullscreen/windowed mode switching is scattered within
the main ApplicationWindow and other components. Ideally,
components that need to transition to fullscreen, can make a dumb
request to module in charge of making the necessary checks and
carrying out the mode change.

This patch introduces the LayoutManager used to isolate this logic.

Change-Id: I0e5b932617d2b88eda1533f25a5d55fc1c66c438
2022-01-11 09:49:01 -05:00
Sébastien Blin
0a7a6643aa mainapplication: fix fullscreen management
Remove all references to appWindow.isFullScreen and uses visibility
Store latest state to keep previous states when passing the call
in fullscreen or a media player. Fix also fullscreen's transition
on media messages

Change-Id: I1b141fc052aa607561275faf231504f48b3c49b8
2022-01-10 15:08:45 -05:00
Amin Bandali
db0fd56763 misc: update (and fix) copyright years to 2022
Change-Id: I8eb66c1c3cddb3bf73b6784a9876dd9dc9c12481
2022-01-06 11:24:13 -05:00
Sébastien Blin
cab0ccc792 mainapplication: fix --minimized option
remove useless isFullscreen (visibility already stores this and
it's not possible to go from fullscreen to minimized anyway).
Also --minimized was ignored

GitLab: #413
Change-Id: I610f17ce7ae5b2852aae5b40dc504174fa657c2d
2022-01-04 09:50:47 -05:00
kkostiuk
5e84c99ff1 build: add macOS
- adapt build for macOS
- fix video on macOS

Change-Id: Ie325f3cd2955248c26ca858d37fcdc0d88c2e70d
2021-12-22 12:55:51 -05:00
Ming Rui Zhang
5b267c9a46 dialog: use popup dialogs to replace the existing Qt.labs.platform ones
Dialog in Qt.labs.platform which is used to be native in Qt 5.15
cannnot be accessed in Qt 6.2 for now, use popup dialogs instead

1. Add tittle
2. DropShadow revisit
3. Dim properly

Change-Id: I8804ae0c30e3450c9a800d9a1c3946ff0bf44b46
2021-12-21 14:21:36 -05:00
Ming Rui Zhang
3c7d03220f accountMigration: use the existing loader mechanism to avoid crash
1. Avoid direct window declaration under ApplicationWindow
2. UI refactor

Change-Id: I7991e22d3f85b1c17d85475000ab8b8c2fbc3391
2021-12-21 14:21:36 -05:00
Ming Rui Zhang
be41f0e7a6 misc: Qt 6.2.0 initial migration
Remove unsupported QtQuick One component and it will be
added back in the following patches

Change-Id: Iad206a880096cf956a4220a81dca85a993721fbd
2021-12-21 14:21:36 -05:00
Ming Rui Zhang
a196513d2e settings: refactor for SettingsView - stage one
1. Add account config QML properties and use them
   in settings directly to avoid manual update
2. Rough clean up for video/audio settings
3. Remove settingsAdapter entirely and split the
   responsibility

Change-Id: Icf81b91d5a3a0dd9f2a52824159cd222367b801f
2021-09-14 16:52:30 -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
32ac718ef4 qmlengine: bump version to 1.1 for custom modules
Change-Id: I6e912c7a3dbba63f874b063770ba5c68a3f2de2f
2021-08-23 14:40:18 -04:00
Ming Rui Zhang
234ee7a2e9 wizardview: refactor account creation ui and enhance flow
1. Use MaterialToolTip in MaterialButton
2. Add BubbleLabel and BackButton
3. Add WizardViewStepModel
4. Focus re-visit

Gitlab: #470

Change-Id: I818da76c4b97cb08d2b6df6b2c8e2752d7a522f2
2021-07-29 10:48:39 -04:00
Ming Rui Zhang
eb2eb786be update: ensure that version update dialog shows up when mainview is loaded
Change-Id: I310be96a8c085fd1da6f444c7d85e4eb06326f5f
2021-05-07 16:00:17 -04:00
Andreas Traczyk
3f476205fa misc: change application fullscreen mechanism
Use a simpler fullscreen mechanism that maintains the primary
application window as a fullscreen container for the call view.

GitLab: #339
Change-Id: Ib67ac4798c77117aea0830eece485e229680684d
2021-04-15 13:40:58 -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
Mingrui Zhang
d3ebc43657 dbus: handle dbus error with UI interaction
Gitlab: #160
Change-Id: Ica0aab9ba7f043c4ab56314bbd5312f75239ad51
2020-12-14 17:18:46 -05:00
ababi
7f7e4b2202 misc: change the way of manipulating window's display screen
- avoid using screen number as display number on Linux
- support for area selection over multiple screens on Linux
- make getFrame null safe
- make video-full-screen mode show in the correct screen
- add the option of "share all screens"
- use x11 api for unix system for sharing screen areas

Gitlab: #160

Change-Id: Ibe47a4150b6a213950a0533d85e8cd7d5d159482
2020-12-14 12:55:21 -05:00
Ming Rui Zhang
768ea9d601 refactor: use ApplicationWindow as the main entry point
Change-Id: I5e298e51fdc4099f0380d8a2ce2176cd66070eed
2020-12-11 17:07: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
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
a3a2e611f9 main application: prevent wizard popup prior to main window load
- prevents the wizard window from popping up if the systray icon
  is clicked to restore the application just prior to the main
  window having loaded

Change-Id: I79b7981de77017117cf6e08ff4b0e1f6687635d3
2020-10-08 16:00:36 -04:00
ababi
a737855426 misc: refactor account change
- UI sensitive to currentAccountId property, remove getCurrAccId from UtilsAdapter
- centralize signals / functions at MainView and avoid unnecessary propagation between modules
- name revision (avoid syntax such as "needTo" or "slot..")

Gitlab: #85
Gitlab: #86

Change-Id: Ie4060df4b64990bdd3f412d0e491080a4cd20092
2020-09-25 14:49:10 -04:00
Andreas Traczyk
3b6bbe772a misc: implement update system
- re-introduce a genericized NetworkManager
- isolate update logic into a qml accessible class derived from
  NetworkManager
- fix QtWebEngineProcess missing when re-installing over existing
  version
- provide a command line option to override the base url
  for testing local and remote updates
- clean-up manual update-check UI

Gitlab: #101
Change-Id: I9c8d2badae59ec31cab12d38b8470edf2bcad401
2020-09-24 12:48:29 -04:00
Andreas Traczyk
87a4602b9a notifications: implement incoming message notifications
- Note: adds forcing the main window to the top to overcome a
  Qt/QML bug which prevents this from working when activating
  from a notification window source.

Change-Id: Ib5a93d3937fe5a4de0229f7aeae8469d1ffdfba3
2020-09-17 17:32:40 -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
Andreas Traczyk
84dec083e2
mainview: support close to systray
- Introduces a C++/Qml common mechanic for accessing system settings
- Refactors a good chunk of application wide settings management code
- Refactors the onboarding and quit-suppression logic
- Makes a first stab at cleaning the Qml object registration
- Removes some 'ClientWrapper' use
- Fixes some file name spelling errors and inconsistencies

Gitlab: #51
Gitlab: #53
Change-Id: I3dd1085aca72a38827ec004e347bd91106be2bcb
2020-09-03 12:23:14 -04:00
Andreas Traczyk
4903973b23 mainview: quit the application when closing the wizard window
Change-Id: I66b7867d38ddcbec6fd68728d9282f32c11d7449
2020-09-03 09:50:32 -04:00
Andreas Traczyk
ac50377649 mainview: implement systray icon and runguard
- adds a systray icon with and exit option when the app starts
- removes the systray icon when the app exits
- restores the app when a second instance is run

Change-Id: I81e4552bdf0ce76a520cbae90e519efff0b13495
2020-08-31 19:18:27 -04:00
Ming Rui Zhang
a70e13082f wizardview: temporary fix for page arrangement when deleting the last account
When deleting the last account, wizard view's page can be incorrect
if the user has created an account before.

Gitlab: #43
Change-Id: I82055456a9df608d88b81fc51049b0623c6d0a35
2020-08-28 13:31:26 -04:00
Sébastien Blin
c75335fee1 wizardview: redesign
Change-Id: If0a3d896b35385f24c9d04b67b12146febfff7c2
2020-08-25 16:44:39 -04:00
Sébastien Blin
1f91576a0b
client-qml: add initial commit
Change-Id: I32bfdd2a618aa7ac6181da2697e241667b010aab
2020-08-03 13:27:42 -04:00