Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-client-windows
Commits
e7d44058
Commit
e7d44058
authored
Mar 02, 2020
by
Ming Rui Zhang
Browse files
settingswidget: ui high dpi adaptation
Change-Id: Ie219827971f7ee622a882e56891d2e848e85aff9
parent
3a812d72
Changes
2
Show whitespace changes
Inline
Side-by-side
src/settingswidget.ui
View file @
e7d44058
...
...
@@ -6,8 +6,8 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
1146
</width>
<height>
883
</height>
<width>
884
</width>
<height>
590
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
...
...
@@ -50,14 +50,14 @@
<item
row=
"0"
column=
"0"
>
<widget
class=
"QWidget"
name=
"leftSettingsWidget"
native=
"true"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
Fix
ed"
vsizetype=
"Preferred"
>
<sizepolicy
hsizetype=
"
Preferr
ed"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
38
0
</width>
<width>
0
</width>
<height>
0
</height>
</size>
</property>
...
...
@@ -328,7 +328,7 @@
<item
row=
"0"
column=
"1"
>
<widget
class=
"QWidget"
name=
"rightSettingsWidget"
native=
"true"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
MinimumExpanding"
vsizetype=
"MinimumExpanding
"
>
<sizepolicy
hsizetype=
"
Preferred"
vsizetype=
"Preferred
"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
...
...
@@ -358,14 +358,14 @@
<item>
<widget
class=
"QStackedWidget"
name=
"stackedWidget"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
MinimumExpanding"
vsizetype=
"MinimumExpanding
"
>
<sizepolicy
hsizetype=
"
Preferred"
vsizetype=
"Preferred
"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
50
0
</width>
<width>
0
</width>
<height>
590
</height>
</size>
</property>
...
...
@@ -376,11 +376,11 @@
</size>
</property>
<property
name=
"currentIndex"
>
<number>
3
</number>
<number>
1
</number>
</property>
<widget
class=
"QWidget"
name=
"generalSettings"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
MinimumExpanding
"
vsizetype=
"Preferred"
>
<sizepolicy
hsizetype=
"
Preferred
"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
...
...
@@ -1328,7 +1328,7 @@
</widget>
<widget
class=
"QWidget"
name=
"currentAccountSettingsScrollWidget"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
MinimumExpanding
"
vsizetype=
"Preferred"
>
<sizepolicy
hsizetype=
"
Preferred
"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
...
...
@@ -1392,7 +1392,7 @@
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
48
</width>
<width>
30
</width>
<height>
0
</height>
</size>
</property>
...
...
@@ -1462,9 +1462,9 @@
<property
name=
"geometry"
>
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
706
</width>
<height>
13
9
8
</height>
<y>
-36
0
</y>
<width>
687
</width>
<height>
138
7
</height>
</rect>
</property>
<property
name=
"styleSheet"
>
...
...
@@ -1504,7 +1504,7 @@
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
48
</width>
<width>
30
</width>
<height>
0
</height>
</size>
</property>
...
...
@@ -2645,7 +2645,7 @@
</widget>
<widget
class=
"QWidget"
name=
"currentSIPAccountSettingsScrollWidget"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
MinimumExpanding
"
vsizetype=
"Preferred"
>
<sizepolicy
hsizetype=
"
Preferred
"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
...
...
@@ -2787,7 +2787,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
683
</width>
<height>
8
7
4
</height>
<height>
8
6
4
</height>
</rect>
</property>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayoutsip_12"
stretch=
"0"
>
...
...
@@ -3476,7 +3476,7 @@
</widget>
<widget
class=
"QWidget"
name=
"avSettings"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
MinimumExpanding"
vsizetype=
"MinimumExpanding
"
>
<sizepolicy
hsizetype=
"
Preferred"
vsizetype=
"Preferred
"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
...
...
@@ -3762,16 +3762,16 @@
<height>
5
</height>
</size>
</property>
<property
name=
"maximum"
stdset=
"0"
>
<property
name=
"maximum"
>
<number>
100
</number>
</property>
<property
name=
"value"
stdset=
"0"
>
<property
name=
"value"
>
<number>
-1
</number>
</property>
<property
name=
"textVisible"
stdset=
"0"
>
<property
name=
"textVisible"
>
<bool>
false
</bool>
</property>
<property
name=
"format"
stdset=
"0"
>
<property
name=
"format"
>
<string>
%p%
</string>
</property>
</widget>
...
...
stylesheet.css
View file @
e7d44058
...
...
@@ -154,12 +154,15 @@ RingContactLineEdit:focus{
height
:
30px
;
}
QScrollBar
:vertical
,
QScrollBar
:horizontal
{
background
:
white
;
width
:
0px
;
QScrollBar
:vertical
{
border
:
none
;
background
:
white
;
width
:
0px
;
}
QScrollBar
::handle:vertical
,
QScrollBar
::handle:horizontal
{
background
:
rgb
(
255
,
255
,
255
);
QScrollBar
::handle:vertical
{
background
:
white
;
max-width
:
0px
;
}
SmartListView
{
...
...
@@ -287,15 +290,6 @@ QPushButton#btnvideo{
border
:
solid
1px
;
}
QScrollBar
:vertical
{
background
:
rgb
(
242
,
242
,
242
);
width
:
10px
;
}
QScrollBar
::handle:vertical
{
background
:
rgb
(
77
,
77
,
77
);
}
QWidget
#messagingPage
,
QWidget
#contactRequestPage
,
QDialog
#DeleteAccountDialog
,
QDialog
#UpdateDownloadDialog
,
QDialog
#UpdateConfirmDialog
,
QDialog
#AccountMigrationDialog
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment