🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::UiFilePath类 参考

#include <UiFilePath.hpp>

+ 类 ast::UiFilePath 继承关系图:

信号

void pathChanged (const QString &path)
 

Public 成员函数

 UiFilePath (QWidget *parent=nullptr)
 
void setPath (const QString &path)
 
QString path () const
 
void setFilter (const QString &filter)
 
QString filter () const
 

详细描述

文件路径输入框

用于输入文件路径,支持通过文件对话框选择文件

成员函数说明

◆ filter()

QString ast::UiFilePath::filter ( ) const

获取文件过滤器

返回
文件过滤器

◆ path()

QString ast::UiFilePath::path ( ) const

获取文件路径

返回
文件路径

◆ setFilter()

void ast::UiFilePath::setFilter ( const QString & filter)

设置文件过滤器

参数
filter文件过滤器,例如 "SPK文件 (*.bsp);;所有文件 (*.*)"

◆ setPath()

void ast::UiFilePath::setPath ( const QString & path)

设置文件路径

参数
path文件路径

该类的文档由以下文件生成: