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
dfd30344
Commit
dfd30344
authored
Oct 14, 2016
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a font with a better arrow glyph for the traffic graph label
parent
64243cb7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
chatwindow.py
blink/chatwindow.py
+1
-1
chat_window.ui
resources/chat_window.ui
+1
-1
No files found.
blink/chatwindow.py
View file @
dfd30344
...
...
@@ -2350,7 +2350,7 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
else
:
incoming_traffic
=
TrafficNormalizer
.
normalize
(
self
.
incoming_traffic_graph
.
last_value
*
8
,
bits_per_second
=
True
)
outgoing_traffic
=
TrafficNormalizer
.
normalize
(
self
.
outgoing_traffic_graph
.
last_value
*
8
,
bits_per_second
=
True
)
self
.
traffic_label
.
setText
(
u"""<p>Traffic: <span style="
color: #d70000;">
\u2193
</span>
%
s <span style="
color: #0064d7;">
\u2191
</span>
%
s</p>"""
%
(
incoming_traffic
,
outgoing_traffic
))
self
.
traffic_label
.
setText
(
u"""<p>Traffic: <span style="
font-family: sans-serif; color: #d70000;">
\u2193
</span>
%
s <span style="font-family: sans-serif;
color: #0064d7;">
\u2191
</span>
%
s</p>"""
%
(
incoming_traffic
,
outgoing_traffic
))
def
_SH_MuteButtonClicked
(
self
,
checked
):
settings
=
SIPSimpleSettings
()
...
...
resources/chat_window.ui
View file @
dfd30344
...
...
@@ -1540,7 +1540,7 @@ QToolButton:pressed {
</string>
</property>
<property
name=
"text"
>
<string>
<
html
><
head/
><
body
><
p
>
Traffic:
<
span style=
"
color:#d70000;
">
↓
<
/span
>
0kbps
<
span style=
"
;
color:#0064d7;
">
↑
<
/span
>
0kbps
<
/p
><
/body
><
/html
>
</string>
<string>
<
html
><
head/
><
body
><
p
>
Traffic:
<
span style=
"
font-family: sans-serif; color:#d70000;
">
↓
<
/span
>
0kbps
<
span style=
"
font-family: sans-serif
; color:#0064d7;
">
↑
<
/span
>
0kbps
<
/p
><
/body
><
/html
>
</string>
</property>
<property
name=
"indent"
>
<number>
5
</number>
...
...
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