用软件建网站,复兴企业做网站推广,国际贸易相关网站,网站互动栏目设置保存当前位置
QString currentPath model-filePath(view-currentIndex()); // 获得当前位置路径
恢复位置
view-setCurrentIndex(model-index(currentPath)); // 设置此路径所在位置为当前位置保存当前位置
QString currentPath model-filePath(view-currentIndex()); // 获得当前位置路径
恢复位置
view-setCurrentIndex(model-index(currentPath)); // 设置此路径所在位置为当前位置