shoe.py 文件源码

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

项目:freecad-nurbs 作者: microelly2 项目源码 文件源码
def startssevents2():
    ''' start events for spreadsheet gui '''
    global table

    mw=FreeCADGui.getMainWindow()
    mdiarea=mw.findChild(QtGui.QMdiArea)

    App.activeDocument().Spreadsheet.ViewObject.startEditing(0)
    subw=mdiarea.subWindowList()
#   print len(subw)
    for i in subw:
#       print i.widget().metaObject().className()
        if i.widget().metaObject().className() == "SpreadsheetGui::SheetView":
            sheet = i.widget()
            table=sheet.findChild(QtGui.QTableView)

    table.clicked.connect(clicked)
#   table.entered.connect(entered)
    table.pressed.connect(pressed)




#   table.itemDelegate().commitData.connect(commitData)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号