Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
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
Kulya
vmj-qt
Commits
adb683e8
Commit
adb683e8
authored
Apr 22, 2022
by
Tijmen de Mes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added sip message for chat to session info panel
parent
bb5cc236
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
chatwindow.py
blink/chatwindow.py
+9
-0
No files found.
blink/chatwindow.py
View file @
adb683e8
...
@@ -1818,6 +1818,11 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
...
@@ -1818,6 +1818,11 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
if
blink_session
.
state
==
'ended'
:
if
blink_session
.
state
==
'ended'
:
self
.
status_value_label
.
setForegroundRole
(
QPalette
.
AlternateBase
if
blink_session
.
state
.
error
else
QPalette
.
WindowText
)
self
.
status_value_label
.
setForegroundRole
(
QPalette
.
AlternateBase
if
blink_session
.
state
.
error
else
QPalette
.
WindowText
)
self
.
status_value_label
.
setText
(
blink_session
.
state
.
reason
)
self
.
status_value_label
.
setText
(
blink_session
.
state
.
reason
)
self
.
chat_value_widget
.
setEnabled
(
True
)
self
.
chat_value_label
.
setText
(
'Using SIP Message'
)
self
.
chat_encryption_label
.
setVisible
(
False
)
self
.
chat_connection_label
.
setVisible
(
False
)
elif
state
in
state_map
:
elif
state
in
state_map
:
self
.
status_value_label
.
setForegroundRole
(
QPalette
.
WindowText
)
self
.
status_value_label
.
setForegroundRole
(
QPalette
.
WindowText
)
self
.
status_value_label
.
setText
(
state_map
[
state
])
self
.
status_value_label
.
setText
(
state_map
[
state
])
...
@@ -1918,6 +1923,10 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
...
@@ -1918,6 +1923,10 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
self
.
chat_value_label
.
setText
(
'Peer to peer'
)
self
.
chat_value_label
.
setText
(
'Peer to peer'
)
self
.
chat_connection_label
.
setPixmap
(
self
.
pixmaps
.
direct_connection
)
self
.
chat_connection_label
.
setPixmap
(
self
.
pixmaps
.
direct_connection
)
self
.
chat_connection_label
.
setToolTip
(
'Peer to peer'
)
self
.
chat_connection_label
.
setToolTip
(
'Peer to peer'
)
elif
blink_session
.
chat_type
is
None
:
self
.
chat_value_widget
.
setEnabled
(
True
)
self
.
chat_value_label
.
setText
(
'Using SIP Message'
)
self
.
chat_connection_label
.
setToolTip
(
'Using SIP Message'
)
else
:
else
:
self
.
chat_value_label
.
setText
(
'N/A'
)
self
.
chat_value_label
.
setText
(
'N/A'
)
...
...
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