source:
sasview/src/sas/qtgui/WelcomePanel.py
@
90d389d
Last change on this file since 90d389d was f51ed67, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 8 years ago | |
---|---|
|
|
File size: 620 bytes |
Rev | Line | |
---|---|---|
[f721030] | 1 | # global |
2 | import sys | |
3 | import os | |
4 | from PyQt4 import QtCore | |
5 | from PyQt4 import QtGui | |
6 | from PyQt4 import QtWebKit | |
7 | ||
8 | import sas.sasview | |
[f82ab8c] | 9 | import LocalConfig |
[f721030] | 10 | |
[f51ed67] | 11 | from UI.WelcomePanelUI import Ui_WelcomePanelUI |
[f721030] | 12 | |
[f51ed67] | 13 | class WelcomePanel(QtGui.QDialog, Ui_WelcomePanelUI): |
[f721030] | 14 | def __init__(self, parent=None): |
15 | super(WelcomePanel, self).__init__(parent) | |
[f51ed67] | 16 | self.setupUi(self) |
17 | ||
[f721030] | 18 | self.setWindowTitle("Welcome") |
19 | ||
20 | version = sas.sasview.__version__ | |
21 | build = sas.sasview.__build__ | |
22 | ||
[488c49d] | 23 | ver = "\nSasView %s\nBuild: %s" % (version, build) |
[f82ab8c] | 24 | ver += LocalConfig._copyright |
[488c49d] | 25 | |
26 | self.lblVersion.setText(ver) |
Note: See TracBrowser
for help on using the repository browser.