source: sasview/src/sas/qtgui/Perspectives/PrInversion/PrInversionPerspective.py @ 6cbf8a5

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 
1from PyQt4 import QtGui
2
3# sas-global
4from sas.sascalc.invariant import invariant
5from sas.qtgui.Plotting.PlotterData import Data1D
6import sas.qtgui.Utilities.GuiUtils as GuiUtils
7
8# pr inversion gui elements
9from sas.qtgui.Perspectives.PrInversion.UI.TabbedPrInversionUI import Ui_PrInversion
10
11class 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.