1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-24 09:25:33 +02:00
Commit graph

21 commits

Author SHA1 Message Date
Ming Rui Zhang
a811b9666c materialLineEdit: ui simplification
materialLineEdit should be a rather simple component and
any futher changes should be in another component such as
UsernameLineEdit.

Change-Id: I7d284c6fa87653468e64fd42874f8042a58d99cf
2021-08-16 09:20:32 -04:00
Ming Rui Zhang
37fd251413 wizardview: line edit enter key submits
Add enter key event handle for lineEdits in wizardview

Gitlab: #470

Change-Id: I41948196742068cd0a03ff37efe93982410e91ce
2021-08-16 09:20:19 -04:00
Andreas Traczyk
9914d496de misc: refactor materialbutton
A button component should have implicit dimensions based on it's
content item. This patch provides implicit dimensioning around the
content item so that non-fixed size buttons can be made by not
specifying the preferredWidth property.

Change-Id: Idc30eb1d9a33d8dd4b416e1060b45593b4fc4cba
2021-08-12 15:08:30 -04:00
Ming Rui Zhang
2bbb452e65 importFromDevicePage: clear all textFields when entering the page
Change-Id: Ia72453166b28b0a598288663c4b5d84461556b38
2021-08-12 15:03:52 -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
Ming Rui Zhang
b6a566d13f wizardview: hide back button while waiting for account generations
Gitlab: #470

Change-Id: I79d1b5c77ae9e983e1c264532727616afb23f3ab
2021-08-05 12:48:04 -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
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
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
Sébastien Blin
56560914bf misc: add parametrizable colors for theme support
GitLab: #160
Change-Id: I44e7584af070fd355af623fe12433cdd68d32d30
2020-12-07 17:01:53 -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
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
Ming Rui Zhang
47fd631d18 wizardView: add scroll view in every page
Also fix the view layout that is affected by client string update

Gitlab: #85
Change-Id: I0f34496325ebe15cc651204130a3a89e12b37d14
2020-09-28 14:14:14 -04:00
agsantos
f0ad12c8fc misc: string refactoring
Gitlab: #72
Gitlab: #75
Change-Id: I0aa4049df3d293a0988842bf2a37daaab816cfcf
2020-09-15 14:58:33 -04:00
Ming Rui Zhang
2e0e250a2c wizardview: logic refinement for account creation and minor UI changes
1. Add spinner button and logic when waitting for account created to
prevent reclicking the buttons

2. Add back button when creating accounts in main view.

3. Fix the look up username bug

4. Change some buttons to blue styled

5. Change back button to back arrow

6. Add autofocus when entering certain page

Gitlab: #59
Change-Id: I3cada8c07a6605f091001db75a2913cde379c41b
2020-09-10 14:12:17 -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
c2220f86c3 button: add hover colors
Change-Id: I1e26a1672ac6fe23969fc7960be4aa8ccbd28fe4
Gitlab: #22
2020-08-28 16:39:38 -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