perspective_trafo.py 文件源码

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

项目:reconstruction 作者: microelly2 项目源码 文件源码
def dialog(fn):

    w=QtGui.QWidget()

    box = QtGui.QVBoxLayout()
    w.setLayout(box)
    w.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)

    l=QtGui.QLabel("Path to Image" )
    box.addWidget(l)
    w.anz = QtGui.QLineEdit()
    w.anz.setText(fn)
    box.addWidget(w.anz)

    loff=QtGui.QLabel("Offset Border" )
    box.addWidget(loff)
    w.off = QtGui.QLineEdit()
    w.off.setText("100")
    box.addWidget(w.off)

    w.rotpos=QtGui.QCheckBox("Rot +90")
    box.addWidget(w.rotpos)

    w.rotneg=QtGui.QCheckBox("Rot -90")
    box.addWidget(w.rotneg)

    w.rot180=QtGui.QCheckBox("Rot 180")
    box.addWidget(w.rot180)



    w.r=QtGui.QPushButton("run")
    box.addWidget(w.r)
    w.r.pressed.connect(lambda :runw(w))

    w.show()
    return w
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号