Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
5e3e5484
Commit
5e3e5484
authored
Oct 17, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(app): many styles changes
parent
fc8b20e5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
67 additions
and
68 deletions
+67
-68
DroppableTextArea.qml
tests/ui/modules/Common/DroppableTextArea.qml
+0
-1
Event.qml
tests/ui/modules/Linphone/Chat/Event.qml
+14
-14
IncomingMessage.qml
tests/ui/modules/Linphone/Chat/IncomingMessage.qml
+14
-14
Message.qml
tests/ui/modules/Linphone/Chat/Message.qml
+29
-29
OutgoingMessage.qml
tests/ui/modules/Linphone/Chat/OutgoingMessage.qml
+10
-10
No files found.
tests/ui/modules/Common/DroppableTextArea.qml
View file @
5e3e5484
...
...
@@ -70,7 +70,6 @@ Item {
Icon
{
anchors.fill
:
parent
fillMode
:
Image
.
PreserveAspectFit
icon
:
'
chat_attachment
'
}
}
...
...
tests/ui/modules/Linphone/Chat/Event.qml
View file @
5e3e5484
...
...
@@ -5,20 +5,20 @@ import Utils 1.0
// ===================================================================
Text
{
Component
{
// Never created.
// Private data for `lupdate`.
Item
{
property
var
i18n
:
[
QT_TR_NOOP
(
'
hangup
'
),
QT_TR_NOOP
(
'
incomingCall
'
),
QT_TR_NOOP
(
'
lostIncomingCall
'
),
QT_TR_NOOP
(
'
lostOutgoingCall
'
)
]
}
Component
{
// Never created.
// Private data for `lupdate`.
Item
{
property
var
i18n
:
[
QT_TR_NOOP
(
'
hangup
'
),
QT_TR_NOOP
(
'
incomingCall
'
),
QT_TR_NOOP
(
'
lostIncomingCall
'
),
QT_TR_NOOP
(
'
lostOutgoingCall
'
)
]
}
}
color
:
'
#898989
'
font.bold
:
true
text
:
qsTr
(
Utils
.
snakeToCamel
(
$content
))
color
:
'
#898989
'
font.bold
:
true
text
:
qsTr
(
Utils
.
snakeToCamel
(
$content
))
}
tests/ui/modules/Linphone/Chat/IncomingMessage.qml
View file @
5e3e5484
...
...
@@ -6,22 +6,22 @@ import Linphone 1.0
// ===================================================================
Item
{
implicitHeight
:
message
.
height
implicitHeight
:
message
.
height
RowLayout
{
anchors.fill
:
parent
spacing
:
10
RowLayout
{
anchors.fill
:
parent
spacing
:
10
Avatar
{
Layout.alignment
:
Qt
.
AlignTop
Layout.preferredHeight
:
30
Layout.preferredWidth
:
30
}
Avatar
{
Layout.alignment
:
Qt
.
AlignTop
Layout.preferredHeight
:
30
Layout.preferredWidth
:
30
}
Message
{
Layout.fillWidth
:
true
backgroundColor
:
'
#BFBFBF
'
id
:
message
}
Message
{
Layout.fillWidth
:
true
backgroundColor
:
'
#BFBFBF
'
id
:
message
}
}
}
tests/ui/modules/Linphone/Chat/Message.qml
View file @
5e3e5484
...
...
@@ -3,38 +3,38 @@ import QtQuick 2.7
// ===================================================================
Item
{
default
property
alias
content
:
content
.
data
property
alias
backgroundColor
:
rectangle
.
color
default
property
alias
content
:
content
.
data
property
alias
backgroundColor
:
rectangle
.
color
id
:
container
implicitHeight
:
text
.
contentHeight
+
text
.
padding
*
2
width
:
parent
.
width
-
text
.
padding
*
2
id
:
container
implicitHeight
:
text
.
contentHeight
+
text
.
padding
*
2
width
:
parent
.
width
-
text
.
padding
*
2
Rectangle
{
id
:
rectangle
height
:
parent
.
height
radius
:
4
width
:
(
text
.
contentWidth
<
parent
.
width
?
text
.
contentWidth
:
parent
.
width
)
+
text
.
padding
*
2
}
Rectangle
{
id
:
rectangle
height
:
parent
.
height
radius
:
4
width
:
(
text
.
contentWidth
<
parent
.
width
?
text
.
contentWidth
:
parent
.
width
)
+
text
.
padding
*
2
}
Text
{
anchors.left
:
container
.
left
anchors.right
:
container
.
right
id
:
text
padding
:
8
text
:
$content
wrapMode
:
Text
.
Wrap
Text
{
anchors.left
:
container
.
left
anchors.right
:
container
.
right
id
:
text
padding
:
8
text
:
$content
wrapMode
:
Text
.
Wrap
// Little fix. Text may disappear with scrolling.
renderType
:
Text
.
NativeRendering
}
// Little fix. Text may disappear with scrolling.
renderType
:
Text
.
NativeRendering
}
Item
{
anchors.left
:
rectangle
.
right
id
:
content
}
Item
{
anchors.left
:
rectangle
.
right
id
:
content
}
}
tests/ui/modules/Linphone/Chat/OutgoingMessage.qml
View file @
5e3e5484
...
...
@@ -5,17 +5,17 @@ import Common 1.0
import
Linphone
1.0
Message
{
backgroundColor
:
'
#E4E4E4
'
backgroundColor
:
'
#E4E4E4
'
Item
{
height
:
30
width
:
30
Item
{
height
:
30
width
:
30
// TODO: Success and re-send icon.
Icon
{
anchors.centerIn
:
parent
icon
:
'
valid
'
iconSize
:
16
}
// TODO: Success and re-send icon.
Icon
{
anchors.centerIn
:
parent
icon
:
'
valid
'
iconSize
:
16
}
}
}
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