1
1
# -*- coding: utf-8 -*-
2
2
# licensed under the terms of GNU GPL 2
3
- #
3
+ #
4
4
# This program is free software; you can redistribute it and/or modify
5
5
# it under the terms of the GNU General Public License as published by
6
6
# the Free Software Foundation; either version 2 of the License, or
7
7
# (at your option) any later version.
8
- #
8
+ #
9
9
# This program is distributed in the hope that it will be useful,
10
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
12
# GNU General Public License for more details.
13
- #
13
+ #
14
14
# You should have received a copy of the GNU General Public License along
15
15
# with this program; if not, write to the Free Software Foundation, Inc.,
16
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22
22
import webbrowser , os
23
23
from ui_frmAbout import Ui_Dialog
24
24
import resources_rc
25
+ from __init__ import version
25
26
currentPath = os .path .dirname (__file__ )
26
27
27
28
class Dialog (QDialog , Ui_Dialog ):
@@ -33,7 +34,7 @@ def __init__(self, iface):
33
34
QObject .connect (self .btnWeb , SIGNAL ("clicked()" ), self .openWeb )
34
35
QObject .connect (self .btnHelp , SIGNAL ("clicked()" ), self .openHelp )
35
36
self .fToolsLogo .setPixmap (QPixmap (":/icons/default/ftools_logo.png" ))
36
- self .label_3 .setText ("fTools 0.5.10" )
37
+ self .label_3 .setText ( "fTools " + version () )
37
38
self .textEdit .setText (self .getText ())
38
39
39
40
def getText (self ):
0 commit comments