ElectrodeInterface.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:ECoG-ClusterFlow 作者: sugeerth 项目源码 文件源码
def MaintainLayout(self):
        self.InterfaceWidget =QtGui.QWidget()
        self.InterfaceWidget.setContentsMargins(0, 0, 0, 0)
        self.InterfaceLayout = QtGui.QVBoxLayout()
        ConsensusPlot = QtGui.QHBoxLayout()
# 
        self.InterfaceLayout.setContentsMargins(0, 0, 0, 0)
        # self.communitiesAcrossTimeStep.PlotWidget.setMinimumSize(200,100)
        # self.communitiesAcrossTimeStep.PlotWidget.setMaximumSize(200,100)

        # ConsensusPlot.addWidget(self.communitiesAcrossTimeStep.PlotWidget)
        self.InterfaceLayout.addWidget(self.Visualizer.MainTab)
        self.InterfaceLayout.setContentsMargins(0, 0, 0, 0)

        self.InterfaceLayout.addLayout(ConsensusPlot)
        self.InterfaceLayout.setContentsMargins(0, 0, 0, 0)

        self.InterfaceWidget.setContentsMargins(0, 0, 0, 0)
        self.InterfaceWidget.setLayout(self.InterfaceLayout)
        self.InterfaceWidget.setContentsMargins(0, 0, 0, 0)
        self.InterfaceWidget.show()

    # def connectCustomWebView(self, view):
    #   self.view = view
    #   self.Visualizer.SliceInterval.valueChanged[int].connect(self.view.slicesChanged)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号