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 6cbf8a5 was
6cbf8a5,
checked in by krzywon, 7 years ago
|
Basic P(r) perspective with no real functionality in Qt.
|
-
Property mode set to
100644
|
File size:
766 bytes
|
Line | |
---|
1 | from PyQt4 import QtGui |
---|
2 | |
---|
3 | # sas-global |
---|
4 | from sas.sascalc.invariant import invariant |
---|
5 | from sas.qtgui.Plotting.PlotterData import Data1D |
---|
6 | import sas.qtgui.Utilities.GuiUtils as GuiUtils |
---|
7 | |
---|
8 | # pr inversion gui elements |
---|
9 | from sas.qtgui.Perspectives.PrInversion.UI.TabbedPrInversionUI import Ui_PrInversion |
---|
10 | |
---|
11 | class PrInversionWindow(QtGui.QTabWidget, Ui_PrInversion): |
---|
12 | """ |
---|
13 | """ |
---|
14 | |
---|
15 | name = "PrInversion" |
---|
16 | |
---|
17 | def __init__(self, parent=None, data=None): |
---|
18 | super(PrInversionWindow, self).__init__() |
---|
19 | self.setupUi(self) |
---|
20 | |
---|
21 | self.setWindowTitle("P(r) Inversion Perspective") |
---|
22 | |
---|
23 | self.parent = parent |
---|
24 | self._data = data |
---|
25 | |
---|
26 | # The tabs need to be closeable |
---|
27 | self._allow_close = False |
---|
28 | |
---|
29 | self.communicate = self.parent.communicator() |
---|
Note: See
TracBrowser
for help on using the repository browser.