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
d750a4cb
Commit
d750a4cb
authored
Sep 19, 2022
by
Tijmen de Mes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add option to add/remove realtime chat during audio/video calls
parent
5ad07383
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
chatwindow.py
blink/chatwindow.py
+6
-0
No files found.
blink/chatwindow.py
View file @
d750a4cb
...
...
@@ -1723,6 +1723,8 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
self
.
control_button
.
actions
.
remove_audio
=
QAction
(
"Remove audio"
,
self
,
triggered
=
self
.
_AH_RemoveAudio
)
self
.
control_button
.
actions
.
add_video
=
QAction
(
"Add video"
,
self
,
triggered
=
self
.
_AH_AddVideo
)
self
.
control_button
.
actions
.
remove_video
=
QAction
(
"Remove video"
,
self
,
triggered
=
self
.
_AH_RemoveVideo
)
self
.
control_button
.
actions
.
add_chat
=
QAction
(
"Add real time chat"
,
self
,
triggered
=
self
.
_AH_AddChat
)
self
.
control_button
.
actions
.
remove_chat
=
QAction
(
"Remove real time chat"
,
self
,
triggered
=
self
.
_AH_RemoveChat
)
self
.
control_button
.
actions
.
share_my_screen
=
QAction
(
"Share my screen"
,
self
,
triggered
=
self
.
_AH_ShareMyScreen
)
self
.
control_button
.
actions
.
request_screen
=
QAction
(
"Request screen"
,
self
,
triggered
=
self
.
_AH_RequestScreen
)
self
.
control_button
.
actions
.
end_screen_sharing
=
QAction
(
"End screen sharing"
,
self
,
triggered
=
self
.
_AH_EndScreenSharing
)
...
...
@@ -1858,6 +1860,10 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
menu
.
addAction
(
self
.
control_button
.
actions
.
add_audio
)
elif
stream_types
!=
{
'audio'
}
and
not
stream_types
.
intersection
({
'screen-sharing'
,
'video'
}):
menu
.
addAction
(
self
.
control_button
.
actions
.
remove_audio
)
if
'chat'
not
in
stream_types
:
menu
.
addAction
(
self
.
control_button
.
actions
.
add_chat
)
elif
stream_types
!=
{
'chat'
}:
menu
.
addAction
(
self
.
control_button
.
actions
.
remove_chat
)
if
'video'
not
in
stream_types
:
menu
.
addAction
(
self
.
control_button
.
actions
.
add_video
)
elif
stream_types
!=
{
'video'
}:
...
...
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