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
2c6038e6
Commit
2c6038e6
authored
Jul 05, 2010
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set version and release date on about panel from variables
parent
cbf1ea0c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
aboutpanel.py
blink/aboutpanel.py
+3
-0
No files found.
blink/aboutpanel.py
View file @
2c6038e6
...
@@ -9,6 +9,7 @@ from PyQt4 import uic
...
@@ -9,6 +9,7 @@ from PyQt4 import uic
from
PyQt4.QtCore
import
QSize
from
PyQt4.QtCore
import
QSize
from
PyQt4.QtGui
import
QFontMetrics
from
PyQt4.QtGui
import
QFontMetrics
from
blink
import
__date__
,
__version__
from
blink.resources
import
Resources
from
blink.resources
import
Resources
from
blink.util
import
QSingleton
from
blink.util
import
QSingleton
...
@@ -46,6 +47,8 @@ class AboutPanel(base_class, ui_class):
...
@@ -46,6 +47,8 @@ class AboutPanel(base_class, ui_class):
with
Resources
.
directory
:
with
Resources
.
directory
:
self
.
setupUi
(
self
)
self
.
setupUi
(
self
)
self
.
version
.
setText
(
u'Version
%
s
\n
%
s'
%
(
__version__
,
__date__
))
credits_width
=
QFontMetrics
(
self
.
credits_text
.
currentFont
())
.
width
(
"NLNET Foundation"
+
"http://sipsimpleclient.com"
)
+
40
credits_width
=
QFontMetrics
(
self
.
credits_text
.
currentFont
())
.
width
(
"NLNET Foundation"
+
"http://sipsimpleclient.com"
)
+
40
self
.
credits_text
.
setMinimumWidth
(
credits_width
)
self
.
credits_text
.
setMinimumWidth
(
credits_width
)
self
.
credits_text
.
document
()
.
documentLayout
()
.
documentSizeChanged
.
connect
(
self
.
_credits_size_changed
)
self
.
credits_text
.
document
()
.
documentLayout
()
.
documentSizeChanged
.
connect
(
self
.
_credits_size_changed
)
...
...
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