LShapeRebar.py 文件源码

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

项目:FreeCAD-Reinforcement 作者: amrit3701 项目源码 文件源码
def getOrientation(self):
        orientation = self.form.orientation.currentText()
        if orientation == "Bottom Right":
            self.form.image.setPixmap(QtGui.QPixmap(os.path.split(os.path.abspath(__file__))[0] + "/icons/LShapeRebarBR.svg"))
        elif orientation == "Bottom Left":
            self.form.image.setPixmap(QtGui.QPixmap(os.path.split(os.path.abspath(__file__))[0] + "/icons/LShapeRebarBL.svg"))
        elif orientation == "Top Right":
            self.form.image.setPixmap(QtGui.QPixmap(os.path.split(os.path.abspath(__file__))[0] + "/icons/LShapeRebarTR.svg"))
        else:
            self.form.image.setPixmap(QtGui.QPixmap(os.path.split(os.path.abspath(__file__))[0] + "/icons/LShapeRebarTL.svg"))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号