BATS.py 文件源码

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

项目:BATS-Bayesian-Adaptive-Trial-Simulator 作者: ContaTP 项目源码 文件源码
def __init__(self, parent=None):

        QtWidgets.QFrame.__init__(self, parent)
        # No title bar, but keep the frame
        # self.setWindowFlags(QtCore.Qt.CustomizeWindowHint)
        # Set position of the frame
        self.screen = QtWidgets.QDesktopWidget().screenGeometry()
        # Set geometry
        self.setGeometry(self.screen.width()/8, 50, 1600, 900)
        self.setMinimumSize(0, 0)
        # Set Widgets
        self.sideWindow = SideFrame(self)
        self.mainWindow = MainFrame(self)
        # Set Layout
        self.appLayout = QtWidgets.QHBoxLayout()
        self.appLayout.addWidget(self.sideWindow, 2)
        self.appLayout.addWidget(self.mainWindow, 8)
        # Add layout
        self.appLayout.setContentsMargins(0, 0, 0, 0)
        self.appLayout.setSpacing(0)
        self.setLayout(self.appLayout)
        self.setWindowTitle("Bayesian Adaptive Trial Simulator")


    # Close the application
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号