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 47bf906 was
4992ff2,
checked in by Piotr Rozyczko <rozyczko@…>, 7 years ago
|
Initial, in-progress version. Not really working atm. SASVIEW-787
|
-
Property mode set to
100644
|
File size:
803 bytes
|
Line | |
---|
1 | # global |
---|
2 | import sys |
---|
3 | import os |
---|
4 | |
---|
5 | from PyQt5 import QtWidgets |
---|
6 | |
---|
7 | import sas.sasview |
---|
8 | import sas.qtgui.Utilities.LocalConfig as LocalConfig |
---|
9 | from sas.qtgui.UI import images_rc |
---|
10 | from sas.qtgui.UI import main_resources_rc |
---|
11 | |
---|
12 | from sas.qtgui.MainWindow.UI.WelcomePanelUI import Ui_WelcomePanelUI |
---|
13 | |
---|
14 | class WelcomePanel(QtWidgets.QDialog, Ui_WelcomePanelUI): |
---|
15 | def __init__(self, parent=None): |
---|
16 | super(WelcomePanel, self).__init__(parent) |
---|
17 | self.setupUi(self) |
---|
18 | |
---|
19 | self.setWindowTitle("Welcome") |
---|
20 | |
---|
21 | version = sas.sasview.__version__ |
---|
22 | build = sas.sasview.__build__ |
---|
23 | |
---|
24 | ver = "\nSasView %s\nBuild: %s\n%s" % (version, build, LocalConfig._copyright) |
---|
25 | |
---|
26 | self.lblVersion.setText(ver) |
---|
27 | |
---|
28 | # no reason to have this widget resizable |
---|
29 | self.setFixedSize(self.minimumSizeHint()) |
---|
Note: See
TracBrowser
for help on using the repository browser.