Changeset 3e314e6 in sasview for src/sas/qtgui/Calculators/KiessigPanel.py
- Timestamp:
- Sep 27, 2018 7:57:05 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- bd39d6c
- Parents:
- b6f47be
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Calculators/KiessigPanel.py
raed0532 r3e314e6 21 21 self.thickness = KiessigThicknessCalculator() 22 22 23 self.deltaq_in.setText("0.05") 23 rx = QtCore.QRegExp("[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?") 24 self.deltaq_in.setValidator(QtGui.QRegExpValidator(rx, self.deltaq_in)) 24 25 25 26 # signals 26 27 self.helpButton.clicked.connect(self.onHelp) 27 self.computeButton. clicked.connect(self.onCompute)28 self.computeButton.setVisible(False) 28 29 self.closeButton.clicked.connect(self.onClose) 30 self.deltaq_in.textChanged.connect(self.onCompute) 31 self.deltaq_in.setText("0.05") 29 32 30 33 # no reason to have this widget resizable
Note: See TracChangeset
for help on using the changeset viewer.