Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Maui
Communicator
Commits
e423063a
Commit
e423063a
authored
Nov 05, 2020
by
camilo higuita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indent
parent
90bde396
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
src/views/contacts/GridContactDelegate.qml
src/views/contacts/GridContactDelegate.qml
+24
-24
No files found.
src/views/contacts/GridContactDelegate.qml
View file @
e423063a
...
...
@@ -28,7 +28,7 @@ Maui.ItemDelegate
icon.color
:
"
#fff
"
visible
:
showMenuIcon
icon.name
:
"
overflow-menu
"
// onClicked: swipe.position < 0 ? swipe.close() : swipe.open(SwipeDelegate.Right)
// onClicked: swipe.position < 0 ? swipe.close() : swipe.open(SwipeDelegate.Right)
}
...
...
@@ -38,10 +38,10 @@ Maui.ItemDelegate
anchors.fill
:
parent
radius
:
Maui
.
Style
.
radiusV
color
:
Kirigami
.
Theme
.
backgroundColor
// {
// var c = Qt.rgba(Math.random(),Math.random(),Math.random(),1)
// return Qt.hsla(c.hslHue, 0.7, c.hslLightness, c.a);
// }
// {
// var c = Qt.rgba(Math.random(),Math.random(),Math.random(),1)
// return Qt.hsla(c.hslHue, 0.7, c.hslLightness, c.a);
// }
Loader
{
...
...
@@ -74,24 +74,24 @@ Maui.ItemDelegate
source
:
"
image://contact/
"
+
model
.
id
}
}
Component
{
id
:
_iconComponent
Component
{
id
:
_iconComponent
Label
{
anchors.fill
:
parent
anchors.centerIn
:
parent
horizontalAlignment
:
Qt
.
AlignHCenter
verticalAlignment
:
Qt
.
AlignVCenter
color
:
"
#fff
"
font.pointSize
:
Maui
.
Style
.
fontSizes
.
enormous
*
3
font.bold
:
true
font.weight
:
Font
.
Bold
text
:
model
.
n
[
0
].
toUpperCase
()
}
Label
{
anchors.fill
:
parent
anchors.centerIn
:
parent
horizontalAlignment
:
Qt
.
AlignHCenter
verticalAlignment
:
Qt
.
AlignVCenter
color
:
"
#fff
"
font.pointSize
:
Maui
.
Style
.
fontSizes
.
enormous
*
3
font.bold
:
true
font.weight
:
Font
.
Bold
text
:
model
.
n
[
0
].
toUpperCase
()
}
}
Item
{
...
...
@@ -117,7 +117,7 @@ Maui.ItemDelegate
label1.font.pointSize
:
Maui
.
Style
.
fontSizes
.
big
label1.text
:
model
.
n
// label2.text: model.tel
// label2.text: model.tel
label1.visible
:
label1
.
text
&&
control
.
width
>
50
label1.font.bold
:
true
...
...
@@ -153,8 +153,8 @@ Maui.ItemDelegate
{
anchors.centerIn
:
_cover
width
:
_cover
.
width
height
:
_cover
.
height
width
:
_cover
.
width
height
:
_cover
.
height
color
:
"
transparent
"
border.color
:
control
.
isCurrentItem
||
control
.
hovered
?
Kirigami
.
Theme
.
highlightColor
:
Qt
.
rgba
(
Kirigami
.
Theme
.
textColor
.
r
,
Kirigami
.
Theme
.
textColor
.
g
,
Kirigami
.
Theme
.
textColor
.
b
,
0.2
)
...
...
Write
Preview
Markdown
is supported
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