PyQT - 选中复选框后,单击按钮运行脚本

时间:2017-03-11 11:36:16

标签: python-2.7 checkbox pyqt4

我试图解决这个问题。

我用PyQt4创建了一个带有复选框和按钮的表单。如果单击执行并且复选框已切换,程序将运行脚本。

你能帮帮我吗?

抱歉,Inglish不是我原生的语言

由于

enter image description here

update table1 tbl_out
    set column1 = (select t2.colValue
                   from table2 t2
                   where t2.product_id = tbl_out.product_id or
                         (t2.product_id is null and tbl_out.product_id is null)
                  )
    where tbl_out.column1 is null;

0 个答案:

没有答案