qobject_cast · 1、四个概念 向上转型:子类转换为父类,使用 dynamic_cast<type_id>(expression) ,这种转换相对来说比较安全不会有数据的丢失; · 2、函数 ...
確定! 回上一頁