- Timestamp:
- Nov 2, 2016 9:54:39 AM (8 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- e4676c8
- Parents:
- 9968d6a
- Location:
- src/sas/qtgui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/DensityPanel.py
r9968d6a rf140169 72 72 self.ui = Ui_DensityPanel() 73 73 self.ui.setupUi(self) 74 75 # no reason to have this widget resizable 76 self.setFixedSize(self.minimumSizeHint()) 74 77 75 78 # set validators -
src/sas/qtgui/UnitTesting/DensityCalculatorTest.py
r9968d6a rf140169 16 16 from DensityPanel import toMolarMass 17 17 from DensityPanel import FormulaValidator 18 from UnitTesting.TestUtils import mousePress19 18 20 19 import LocalConfig … … 85 84 self.assertEqual(self.widget.model.columnCount(), 1) 86 85 self.assertEqual(self.widget.model.rowCount(), 4) 86 self.assertEqual(self.widget.sizePolicy().Policy(), QtGui.QSizePolicy.Fixed) 87 87 88 88 def testSimpleEntry(self):
Note: See TracChangeset
for help on using the changeset viewer.