Skip to content

Commit

Permalink
Merge branch 'main' into 2588-fixing-BoxInteractor-method-signature-m…
Browse files Browse the repository at this point in the history
…ismatch
  • Loading branch information
Wojciech Potrzebowski authored Sep 11, 2023
2 parents 975a1b6 + 55b1e9f commit 3e67f28
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Staple Release Build (OSX)
if: ${{ startsWith(matrix.os, 'macos') }}
uses: devbotsxyz/xcode-staple@v1
uses: BoundfoxStudios/action-xcode-staple@v1
with:
product-path: "installers/dist/SasView-nightly-MacOSX.dmg"

Expand Down
3 changes: 1 addition & 2 deletions src/sas/qtgui/Calculators/DensityPanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ def setupUi(self):
self.ui = Ui_DensityPanel()
self.ui.setupUi(self)

#self.setFixedSize(self.minimumSizeHint())
self.resize(self.minimumSizeHint())
self.setFixedSize(self.minimumSizeHint())

# set validators
#self.ui.editMolecularFormula.setValidator(FormulaValidator(self.ui.editMolecularFormula))
Expand Down
1 change: 1 addition & 0 deletions src/sas/qtgui/Calculators/GenericScatteringCalculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def __init__(self, parent=None):
self.setupUi(self)
# disable the context help icon
self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint)
self.setFixedSize(self.minimumSizeHint())

self.manager = parent
self.communicator = self.manager.communicator()
Expand Down
1 change: 1 addition & 0 deletions src/sas/qtgui/Calculators/ResolutionCalculatorPanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def __init__(self, parent=None):
self.setupUi(self)
# disable the context help icon
self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint)
self.setFixedSize(self.minimumSizeHint())

self.manager = parent

Expand Down
1 change: 1 addition & 0 deletions src/sas/qtgui/Calculators/SldPanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def __init__(self, parent=None):
self.setupUi()
# disable the context help icon
self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint)
self.setFixedSize(self.minimumSizeHint())

self.setupModel()
self.setupMapper()
Expand Down
4 changes: 2 additions & 2 deletions src/sas/qtgui/MainWindow/DataExplorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def loadFolder(self, event=None):
caption = 'Choose a directory'
options = QtWidgets.QFileDialog.ShowDirsOnly | QtWidgets.QFileDialog.DontUseNativeDialog
directory = self.default_load_location
folder = QtWidgets.QFileDialog.getExistingDirectory(parent, caption, directory, "", options)
folder = QtWidgets.QFileDialog.getExistingDirectory(parent, caption, directory, options)

if folder is None:
return
Expand Down Expand Up @@ -1251,7 +1251,7 @@ def appendPlot(self):
@staticmethod
def appendOrUpdatePlot(self, data, plot):
name = data.name
if isinstance(plot, Plotter2D) or name in plot.plot_dict.keys():
if isinstance(plot, Plotter2DWidget) or name in plot.plot_dict.keys():
plot.replacePlot(name, data)
else:
plot.plot(data)
Expand Down
2 changes: 1 addition & 1 deletion src/sas/qtgui/Plotting/SlicerParameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def onChooseFilesLocation(self):
caption = 'Save files to:'
options = QtWidgets.QFileDialog.ShowDirsOnly | QtWidgets.QFileDialog.DontUseNativeDialog
directory = self.save_location
folder = QtWidgets.QFileDialog.getExistingDirectory(parent, caption, directory, "", options)
folder = QtWidgets.QFileDialog.getExistingDirectory(parent, caption, directory, options)

if folder is None:
return
Expand Down

0 comments on commit 3e67f28

Please sign in to comment.