Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-qt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-qt
Commits
06ddff45
Commit
06ddff45
authored
2 years ago
by
Sébastien Blin
Browse files
Options
Downloads
Patches
Plain Diff
sip: hide non working button
jami-project#1538
Change-Id: I50593347fe2c1adbeecdd371400f639234dad74c
parent
8db63dce
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/commoncomponents/SBSMessageBase.qml
+14
-8
14 additions, 8 deletions
src/app/commoncomponents/SBSMessageBase.qml
src/app/mainview/components/MessageBar.qml
+3
-1
3 additions, 1 deletion
src/app/mainview/components/MessageBar.qml
with
17 additions
and
9 deletions
src/app/commoncomponents/SBSMessageBase.qml
+
14
−
8
View file @
06ddff45
...
@@ -276,10 +276,13 @@ Control {
...
@@ -276,10 +276,13 @@ Control {
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.right
:
isOutgoing
?
optionButtonItem
.
right
:
undefined
anchors.right
:
isOutgoing
?
optionButtonItem
.
right
:
undefined
anchors.left
:
!
isOutgoing
?
optionButtonItem
.
left
:
undefined
anchors.left
:
!
isOutgoing
?
optionButtonItem
.
left
:
undefined
visible
:
Body
!==
""
&&
(
bubbleArea
.
bubbleHovered
visible
:
CurrentAccount
.
type
!==
Profile
.
Type
.
SIP
&&
Body
!==
""
&&
||
hovered
(
||
reply
.
hovered
bubbleArea
.
bubbleHovered
||
bgHandler
.
hovered
)
||
hovered
||
reply
.
hovered
||
bgHandler
.
hovered
)
source
:
JamiResources
.
more_vert_24dp_svg
source
:
JamiResources
.
more_vert_24dp_svg
width
:
optionButtonItem
.
width
/
2
width
:
optionButtonItem
.
width
/
2
height
:
optionButtonItem
.
height
height
:
optionButtonItem
.
height
...
@@ -312,10 +315,13 @@ Control {
...
@@ -312,10 +315,13 @@ Control {
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.right
:
isOutgoing
?
more
.
left
:
undefined
anchors.right
:
isOutgoing
?
more
.
left
:
undefined
anchors.left
:
!
isOutgoing
?
more
.
right
:
undefined
anchors.left
:
!
isOutgoing
?
more
.
right
:
undefined
visible
:
Body
!==
""
&&
(
bubbleArea
.
bubbleHovered
visible
:
CurrentAccount
.
type
!==
Profile
.
Type
.
SIP
&&
Body
!==
""
&&
||
hovered
(
||
more
.
hovered
bubbleArea
.
bubbleHovered
||
bgHandler
.
hovered
)
||
hovered
||
more
.
hovered
||
bgHandler
.
hovered
)
onClicked
:
{
onClicked
:
{
MessagesAdapter
.
editId
=
""
MessagesAdapter
.
editId
=
""
...
...
This diff is collapsed.
Click to expand it.
src/app/mainview/components/MessageBar.qml
+
3
−
1
View file @
06ddff45
...
@@ -97,6 +97,7 @@ ColumnLayout {
...
@@ -97,6 +97,7 @@ ColumnLayout {
preferredSize
:
JamiTheme
.
chatViewFooterButtonIconSize
-
6
preferredSize
:
JamiTheme
.
chatViewFooterButtonIconSize
-
6
toolTipText
:
JamiStrings
.
sendFile
toolTipText
:
JamiStrings
.
sendFile
visible
:
!
CurrentConversation
.
isSip
source
:
JamiResources
.
link_black_24dp_svg
source
:
JamiResources
.
link_black_24dp_svg
...
@@ -117,6 +118,7 @@ ColumnLayout {
...
@@ -117,6 +118,7 @@ ColumnLayout {
preferredSize
:
JamiTheme
.
chatViewFooterButtonIconSize
preferredSize
:
JamiTheme
.
chatViewFooterButtonIconSize
toolTipText
:
JamiStrings
.
leaveAudioMessage
toolTipText
:
JamiStrings
.
leaveAudioMessage
visible
:
!
CurrentConversation
.
isSip
source
:
JamiResources
.
message_audio_black_24dp_svg
source
:
JamiResources
.
message_audio_black_24dp_svg
...
@@ -134,7 +136,7 @@ ColumnLayout {
...
@@ -134,7 +136,7 @@ ColumnLayout {
Layout.alignment
:
Qt
.
AlignVCenter
Layout.alignment
:
Qt
.
AlignVCenter
Layout.preferredWidth
:
JamiTheme
.
chatViewFooterButtonSize
Layout.preferredWidth
:
JamiTheme
.
chatViewFooterButtonSize
Layout.preferredHeight
:
JamiTheme
.
chatViewFooterButtonSize
Layout.preferredHeight
:
JamiTheme
.
chatViewFooterButtonSize
visible
:
VideoDevices
.
listSize
!==
0
visible
:
VideoDevices
.
listSize
!==
0
&&
!
CurrentConversation
.
isSip
radius
:
JamiTheme
.
chatViewFooterButtonRadius
radius
:
JamiTheme
.
chatViewFooterButtonRadius
preferredSize
:
JamiTheme
.
chatViewFooterButtonIconSize
preferredSize
:
JamiTheme
.
chatViewFooterButtonIconSize
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment