def __init__(self, parent=None, result=None):
        super().__init__(parent)

        self._result = result
        self.only_main_states = False

        self._grid = QGridLayout()

        self._plotS21 = PlotWidget(parent=None, toolbar=True)
        self._plotVswrIn = PlotWidget(parent=None, toolbar=True)
        self._plotVswrOut = PlotWidget(parent=None, toolbar=True)
        self._plotS21PhaseErr = PlotWidget(parent=None, toolbar=True)
        self._plotS21PhaseRmse = PlotWidget(parent=None, toolbar=True)
        self._plotS21Err = PlotWidget(parent=None, toolbar=True)
        self._plotS21Rmse = PlotWidget(parent=None, toolbar=True)
        self._plotMisc = PlotWidget(parent=None, toolbar=True)

        self._grid.addWidget(self._plotS21, 0, 0)
        self._grid.addWidget(self._plotVswrIn, 0, 1)
        self._grid.addWidget(self._plotVswrOut, 1, 0)
        self._grid.addWidget(self._plotS21PhaseErr, 1, 1)
        self._grid.addWidget(self._plotS21PhaseRmse, 0, 2)
        # self._grid.addWidget(self._plotS21Err, 1, 2)
        # self._grid.addWidget(self._plotS21Rmse, 0, 3)
        # self._grid.addWidget(self._plotMisc, 1, 3)

        self.setLayout(self._grid)

        self._init()
예제 #2
0
    def __init__(self, parent=None, result=None):
        super().__init__(parent)

        self._result = result
        self.only_main_states = False

        self._grid = QGridLayout()

        self._plot000000 = PlotWidget(parent=None, toolbar=True)
        self._plot000001 = PlotWidget(parent=None, toolbar=True)
        self._plot000010 = PlotWidget(parent=None, toolbar=True)
        self._plot000100 = PlotWidget(parent=None, toolbar=True)
        self._plot001000 = PlotWidget(parent=None, toolbar=True)
        self._plot010000 = PlotWidget(parent=None, toolbar=True)
        self._plot100000 = PlotWidget(parent=None, toolbar=True)
        self._plot111111 = PlotWidget(parent=None, toolbar=True)

        self._grid.addWidget(self._plot000000, 0, 0)
        self._grid.addWidget(self._plot000001, 0, 1)
        self._grid.addWidget(self._plot000010, 0, 2)
        self._grid.addWidget(self._plot000100, 0, 3)
        self._grid.addWidget(self._plot001000, 1, 0)
        self._grid.addWidget(self._plot010000, 1, 1)
        self._grid.addWidget(self._plot100000, 1, 2)
        self._grid.addWidget(self._plot111111, 1, 3)

        self.setLayout(self._grid)

        self._init()
예제 #3
0
    def __init__(self, parent=None, result=None):
        super().__init__(parent)

        self._result = result
        self.only_main_states = False

        self._grid = QGridLayout()

        self._plotPhaseRmse = PlotWidget(parent=None, toolbar=True)
        self._plotAmpRmse = PlotWidget(parent=None, toolbar=True)

        self._grid.addWidget(self._plotPhaseRmse, 0, 0)
        self._grid.addWidget(self._plotAmpRmse, 0, 1)

        self.setLayout(self._grid)

        self._init()
예제 #4
0
    def __init__(self, parent=None, result=None):
        super().__init__(parent)

        self._result = result

        self._grid = QGridLayout()

        self._plot11 = PlotWidget(parent=None, toolbar=True)
        self._plot12 = PlotWidget(parent=None, toolbar=True)
        self._plot21 = PlotWidget(parent=None, toolbar=True)
        self._plot22 = PlotWidget(parent=None, toolbar=True)

        self._grid.addWidget(self._plot11, 0, 0)
        self._grid.addWidget(self._plot12, 0, 1)
        self._grid.addWidget(self._plot21, 1, 0)
        self._grid.addWidget(self._plot22, 1, 1)

        self.setLayout(self._grid)

        self._init()
예제 #5
0
    def __init__(self, parent=None, model=None):
        super().__init__(parent)
        self._model = model

        self._plot = PlotWidget(parent=None, toolbar=True)

        self._grid = QGridLayout()
        self._grid.addWidget(self._plot, 0, 0)
        self.setLayout(self._grid)

        self._init()
예제 #6
0
    def __init__(self, parent=None, controller=None):
        super().__init__(parent=parent)
        self._controller = controller

        self._ui = uic.loadUi('powsweepwidget.ui', self)

        self._plot = PlotWidget(parent=None, toolbar=True)
        # self._ui.verticalLayout.addWidget(self._plot)
        self._ui.btnPowSweep.hide()

        self._init()
예제 #7
0
    def __init__(self, parent=None, domain=None):
        super().__init__(parent)

        self._domain = domain

        self._plot = PlotWidget(parent=None, toolbar=True)

        self._layout = QHBoxLayout()
        self._layout.addWidget(self._plot)
        self.setLayout(self._layout)

        self._init()
예제 #8
0
    def __init__(self, parent=None, result=None):
        super().__init__(parent)

        self._result = result
        self.only_main_states = False

        self._grid = QGridLayout()

        self._plotS11 = PlotWidget(parent=None, toolbar=True)
        self._plotS12 = PlotWidget(parent=None, toolbar=True)
        self._plotS21 = PlotWidget(parent=None, toolbar=True)
        self._plotS22 = PlotWidget(parent=None, toolbar=True)

        self._grid.addWidget(self._plotS11, 0, 0)
        self._grid.addWidget(self._plotS22, 0, 1)
        self._grid.addWidget(self._plotS21, 1, 0)
        self._grid.addWidget(self._plotS12, 1, 1)

        self.setLayout(self._grid)

        self._init()
예제 #9
0
    def __init__(self, parent=None, domain=None):
        super().__init__(parent)

        self._domain = domain

        self._plot = PlotWidget(parent=None, toolbar=True)

        self.btnMeasure = QPushButton('Измерить')
        self.btnMeasure.setEnabled(False)

        self._hlay = QHBoxLayout()
        self._hlay.addWidget(self.btnMeasure)
        self._hlay.addStretch()

        self._layout = QVBoxLayout()
        self._layout.addItem(self._hlay)
        self._layout.addWidget(self._plot)
        self.setLayout(self._layout)

        self._init()