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
fd072ca8
Commit
fd072ca8
authored
May 31, 2010
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed labels
parent
7e629025
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
sessions.py
blink/sessions.py
+11
-11
session.ui
resources/session.ui
+6
-6
No files found.
blink/sessions.py
View file @
fd072ca8
...
...
@@ -87,9 +87,9 @@ class SessionWidget(base_class, ui_class):
super
(
SessionWidget
,
self
)
.
__init__
(
parent
)
with
Resources
.
directory
:
self
.
setupUi
(
self
)
latency_font
=
self
.
latency
.
font
()
latency_font
.
setPointSizeF
(
self
.
status
.
fontInfo
()
.
pointSizeF
()
-
1
)
self
.
latency
.
setFont
(
latency_
font
)
font
=
self
.
latency_label
.
font
()
font
.
setPointSizeF
(
self
.
status_label
.
fontInfo
()
.
pointSizeF
()
-
1
)
self
.
latency
_label
.
setFont
(
font
)
self
.
mute_button
.
type
=
LeftSegment
self
.
hold_button
.
type
=
MiddleSegment
self
.
record_button
.
type
=
MiddleSegment
...
...
@@ -108,8 +108,8 @@ class SessionWidget(base_class, ui_class):
self
.
mute_button
.
hide
()
#self.srtp_label.hide()
#self.tls_label.hide()
#self.latency.hide()
self
.
address
.
setText
(
session_info
.
name
or
session_info
.
uri
)
#self.latency
_label
.hide()
self
.
address
_label
.
setText
(
session_info
.
name
or
session_info
.
uri
)
def
_get_selected
(
self
):
return
self
.
__dict__
[
'selected'
]
...
...
@@ -233,14 +233,14 @@ class DraggedSessionWidget(base_class, ui_class):
self
.
hangup_button
.
hide
()
self
.
tls_label
.
hide
()
self
.
srtp_label
.
hide
()
self
.
latency
.
hide
()
self
.
duration
.
hide
()
self
.
stream_info
.
setText
(
u''
)
self
.
address
.
setText
(
session_widget
.
address
.
text
())
self
.
latency
_label
.
hide
()
self
.
duration
_label
.
hide
()
self
.
stream_info
_label
.
setText
(
u''
)
self
.
address
_label
.
setText
(
session_widget
.
address_label
.
text
())
if
session_widget
.
conference_position
is
None
:
self
.
status
.
setText
(
u'Drop over a session to conference them'
)
self
.
status
_label
.
setText
(
u'Drop over a session to conference them'
)
else
:
self
.
status
.
setText
(
u'Drop outside the conference to detach'
)
self
.
status
_label
.
setText
(
u'Drop outside the conference to detach'
)
def
paintEvent
(
self
,
event
):
painter
=
QPainter
(
self
)
...
...
resources/session.ui
View file @
fd072ca8
...
...
@@ -41,7 +41,7 @@
<number>
1
</number>
</property>
<item>
<widget
class=
"QLabel"
name=
"address"
>
<widget
class=
"QLabel"
name=
"address
_label
"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
...
...
@@ -129,7 +129,7 @@
<number>
1
</number>
</property>
<item>
<widget
class=
"QLabel"
name=
"stream_info"
>
<widget
class=
"QLabel"
name=
"stream_info
_label
"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
...
...
@@ -164,7 +164,7 @@
</widget>
</item>
<item>
<widget
class=
"QLabel"
name=
"latency"
>
<widget
class=
"QLabel"
name=
"latency
_label
"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Minimum"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
...
...
@@ -253,7 +253,7 @@
</font>
</property>
<property
name=
"text"
>
<string>
Latency 100
ms
</string>
<string>
Latency 100ms
</string>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
</set>
...
...
@@ -299,7 +299,7 @@
<number>
1
</number>
</property>
<item>
<widget
class=
"QLabel"
name=
"duration"
>
<widget
class=
"QLabel"
name=
"duration
_label
"
>
<property
name=
"minimumSize"
>
<size>
<width>
38
</width>
...
...
@@ -312,7 +312,7 @@
</widget>
</item>
<item>
<widget
class=
"QLabel"
name=
"status"
>
<widget
class=
"QLabel"
name=
"status
_label
"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
...
...
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