Skip to content

Commit 67d6a76

Browse files
committed
Adding libopenshot version to About dialog
1 parent 5dbb993 commit 67d6a76

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

src/windows/about.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ def __init__(self):
9595
self.btnchangelog.clicked.connect(self.load_changelog)
9696

9797
# Init some variables
98-
self.txtversion.setText(_("Version: %s") % info.VERSION)
98+
openshot_qt_version = _("Version: %s") % info.VERSION
99+
libopenshot_version = "libopenshot: %s" % openshot.OPENSHOT_VERSION_FULL
100+
self.txtversion.setText("<b>%s</b><br/>%s" % (openshot_qt_version, libopenshot_version))
99101
self.txtversion.setAlignment(Qt.AlignCenter)
100102

101103
# Track metrics

src/windows/ui/about.ui

+6-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</sizepolicy>
4242
</property>
4343
<property name="pixmap">
44-
<pixmap resource="../../images/openshot.qrc">:/about/AboutLogo.png</pixmap>
44+
<pixmap resource="../../images/openshot.qrc">:/about/AboutLogo.png</pixmap>
4545
</property>
4646
</widget>
4747
</item>
@@ -51,13 +51,16 @@
5151
<bool>true</bool>
5252
</property>
5353
<property name="styleSheet">
54-
<string notr="true">font-size: 4em; font-weight: bold;</string>
54+
<string notr="true">font-size: 4em;</string>
55+
</property>
56+
<property name="lineWidth">
57+
<number>1</number>
5558
</property>
5659
<property name="text">
5760
<string/>
5861
</property>
5962
<property name="textFormat">
60-
<enum>Qt::PlainText</enum>
63+
<enum>Qt::RichText</enum>
6164
</property>
6265
</widget>
6366
</item>

0 commit comments

Comments
 (0)