Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
希望实现的效果是,单击进入编辑,直接双击 或者进入编辑状态再双击 响应另外一个函数。单击编辑已经实现,不过在进入编辑状态后,双击响应函数失去作用。目前双击相应函数,使用的connect连接qtablewidget,信号函数采用的cellclicked,请问该如何修改?
检查你的connect是否写好了?绑定前的qtablewidget对象和响应的qtablewidget对象是否一致?双击事件会先响应一次单击事件,这里你尝试都改成只响应双击事件呢