.TH "kdk::KFileWidget" 3 "Version version:3.0" "LIBKYSDK-APPLICATIONS" \" -*- nroff -*- .ad l .nh .SH NAME kdk::KFileWidget \- The \fBKFileWidget\fP class\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits QWidget\&. .SS "Signals" .in +1c .ti -1c .RI "void \fBclicked\fP ()" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBKFileWidget\fP (QWidget *parent=nullptr)" .br .ti -1c .RI "void \fBsetMainText\fP (QString str)" .br .RI "设置主要文本 " .ti -1c .RI "void \fBsetSubText\fP (QString str)" .br .RI "设置次级文本 " .ti -1c .RI "void \fBsetIcon\fP (QIcon icon)" .br .RI "设置图片 " .ti -1c .RI "void \fBsetBorderRadius\fP (int radius)" .br .RI "设置圆角 " .ti -1c .RI "void \fBsetBorderRadius\fP (int bottomLeft, int topLeft, int topRight, int bottomRight)" .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 .in -1c .SH "Detailed Description" .PP The \fBKFileWidget\fP class\&. .PP \fBSince\fP .RS 4 2\&.4\&.1\&.0 .RE .PP .SH "Member Function Documentation" .PP .SS "void kdk::KFileWidget::setBorderRadius (int bottomLeft, int topLeft, int topRight, int bottomRight)" .PP 设置圆角 .PP \fBParameters\fP .RS 4 \fIbottomLeft\fP .br \fItopLeft\fP .br \fItopRight\fP .br \fIbottomRight\fP .RE .PP .SS "void kdk::KFileWidget::setBorderRadius (int radius)" .PP 设置圆角 .PP \fBParameters\fP .RS 4 \fIradius\fP .RE .PP .SS "void kdk::KFileWidget::setIcon (QIcon icon)" .PP 设置图片 .PP \fBParameters\fP .RS 4 \fIicon\fP .RE .PP .SS "void kdk::KFileWidget::setMainText (QString str)" .PP 设置主要文本 .PP \fBParameters\fP .RS 4 \fIstr\fP .RE .PP .SS "void kdk::KFileWidget::setSubText (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\&.