implementation of the PyLoT icon

This commit is contained in:
Sebastian Wehling-Benatelli 2014-03-19 12:24:41 +01:00
parent fbbfcbcaea
commit 253a49c06b
2 changed files with 8 additions and 2 deletions

BIN
pylot/PyLoT.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -23,9 +23,11 @@ class MainWindow(QMainWindow):
def __init__(self, parent=None):
super(MainWindow, self).__init__(parent)
self.setWindowIcon(QIcon("PyLoT.ico"))
# create central matplotlib figure widget
dataPlot = setupPlot()
self.setCentralWidget(dataPlot)
setupPlot()
self.setCentralWidget(self.DataPlot)
filterOptionsP = FILTERDEFAULTS['P']
filterOptionsS = FILTERDEFAULTS['S']
@ -45,6 +47,10 @@ class MainWindow(QMainWindow):
layout = QtGui.QVBoxLayout(self.ui.widget_PlotArea)
layout.addWidget(self.DataPlot, 1)
def plotData(self, data):
if data is not None and isinstance(data, Stream):
self.DataPlot.height
class PickWindow(QDialog):