ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change
on this file since 14d9c7b was
b27c681,
checked in by davidm, 8 years ago
|
included ANSTO in copyright notice and improved text layout
|
-
Property mode set to
100755
|
File size:
712 bytes
|
Line | |
---|
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 |
---|
9 | import LocalConfig |
---|
10 | |
---|
11 | from UI.WelcomePanelUI import Ui_WelcomePanelUI |
---|
12 | |
---|
13 | class WelcomePanel(QtGui.QDialog, Ui_WelcomePanelUI): |
---|
14 | def __init__(self, parent=None): |
---|
15 | super(WelcomePanel, self).__init__(parent) |
---|
16 | self.setupUi(self) |
---|
17 | |
---|
18 | self.setWindowTitle("Welcome") |
---|
19 | |
---|
20 | version = sas.sasview.__version__ |
---|
21 | build = sas.sasview.__build__ |
---|
22 | |
---|
23 | ver = "\nSasView %s\nBuild: %s\n%s" % (version, build, LocalConfig._copyright) |
---|
24 | |
---|
25 | self.lblVersion.setText(ver) |
---|
26 | |
---|
27 | # no reason to have this widget resizable |
---|
28 | self.setFixedSize(self.minimumSizeHint()) |
---|
Note: See
TracBrowser
for help on using the repository browser.