两个槽都会关掉对话框,但是accept()会设置对话框的结果值(result value)为QDialog::Accepted(等价于1),reject()会设置这个值为QDialog::Rejected(等价于0)。
基于68个网页-相关网页
The best result value space 优胜区域
call by value result 值结果呼叫法 ; 传值与结果呼叫
result of value 值的结果
value-result argument 传入传出参数
value-result parameter [计] 值结果参数
Call By Value-Result 传值兼传结果呼叫
call by value-result parameter [计] 值结果参数调用
Result t Value 结果值
colour value result 色值结果
Its value lies in the result value and process value.
其价值体现在结果价值和过程价值两个方面。
Note that your result value is different than the result value show here.
请注意,您所得到的resul t值与这里所显示的resul t值是不同的。
The put_user function places the result value into user-space at the location that presult specifies.
put_user 函数将结果值放入 presult 所指定的用户空间位置。
应用推荐