.TH "kdk::KAddFileButton" 3 "Version version:3.0" "LIBKYSDK-APPLICATIONS" \" -*- nroff -*- .ad l .nh .SH NAME kdk::KAddFileButton \- 选择文件的按钮 .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits QPushButton\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBKAddFileButton\fP (QWidget *parent=nullptr)" .br .ti -1c .RI "void \fBsetText\fP (QString str)" .br .RI "设置文本 " .ti -1c .RI "QFileDialog * \fBfileDialog\fP ()" .br .RI "获取filedialog " .ti -1c .RI "void \fBsetNameFilter\fP (const QString &filter)" .br .RI "将文件对话框中使用的过滤器设置为给定的过滤器。 " .ti -1c .RI "void \fBsetNameFilters\fP (const QStringList &filters)" .br .RI "设置文件对话框中使用的过滤器。 " .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "void \fBpaintEvent\fP (QPaintEvent *event)" .br .ti -1c .RI "bool \fBeventFilter\fP (QObject *watched, QEvent *event)" .br .ti -1c .RI "void \fBmouseMoveEvent\fP (QMouseEvent *event)" .br .ti -1c .RI "void \fBmousePressEvent\fP (QMouseEvent *event)" .br .ti -1c .RI "void \fBmouseReleaseEvent\fP (QMouseEvent *event)" .br .in -1c .SH "Detailed Description" .PP 选择文件的按钮 .PP \fBSince\fP .RS 4 2\&.4\&.1\&.0 .RE .PP .SH "Member Function Documentation" .PP .SS "QFileDialog * kdk::KAddFileButton::fileDialog ()" .PP 获取filedialog .PP \fBReturns\fP .RS 4 QFileDialog .RE .PP .SS "void kdk::KAddFileButton::setNameFilter (const QString & filter)" .PP 将文件对话框中使用的过滤器设置为给定的过滤器。 .PP \fBParameters\fP .RS 4 \fIfilter\fP .RE .PP .SS "void kdk::KAddFileButton::setNameFilters (const QStringList & filters)" .PP 设置文件对话框中使用的过滤器。 .PP \fBParameters\fP .RS 4 \fIfilters\fP .RE .PP .SS "void kdk::KAddFileButton::setText (QString str)" .PP 设置文本 .PP \fBParameters\fP .RS 4 \fIstr\fP .RE .PP .SH "Author" .PP Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code\&.