optimization of the codes outer appearance
This commit is contained in:
parent
fa6db084b8
commit
8acd84976e
@ -110,10 +110,8 @@ class MainWindow(QMainWindow):
|
|||||||
|
|
||||||
plottitle = "Overview: {0} components ".format(self.getComponent())
|
plottitle = "Overview: {0} components ".format(self.getComponent())
|
||||||
|
|
||||||
# create central matplotlib figure widget
|
# create central matplotlib figure canvas widget
|
||||||
self.DataPlot = MPLWidget(parent=self,
|
self.DataPlot = MPLWidget(parent=self, xlabel=xlab, ylabel=None,
|
||||||
xlabel=xlab,
|
|
||||||
ylabel=None,
|
|
||||||
title=plottitle)
|
title=plottitle)
|
||||||
statsButtons = layoutStationButtons(self.getData(), self.getComponent())
|
statsButtons = layoutStationButtons(self.getData(), self.getComponent())
|
||||||
_layout.addLayout(statsButtons)
|
_layout.addLayout(statsButtons)
|
||||||
@ -297,7 +295,8 @@ class MainWindow(QMainWindow):
|
|||||||
if self.dataStructure:
|
if self.dataStructure:
|
||||||
searchPath = self.dataStructure.expandDataPath()
|
searchPath = self.dataStructure.expandDataPath()
|
||||||
fnames, = QFileDialog.getOpenFileNames(self,
|
fnames, = QFileDialog.getOpenFileNames(self,
|
||||||
"Select waveform files:",
|
"Select waveform "
|
||||||
|
"files:",
|
||||||
dir=searchPath)
|
dir=searchPath)
|
||||||
self.fnames = fnames
|
self.fnames = fnames
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user