.TH "kdk::KToolButton" 3 "Version version:3.0" "LIBKYSDK-APPLICATIONS" \" -*- nroff -*- .ad l .nh .SH NAME kdk::KToolButton \- 提供了一个快速访问按钮,暂不支持显示文本 .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits QToolButton\&. .SS "Signals" .in +1c .ti -1c .RI "void \fBcheckedChanged\fP (bool checked)" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBKToolButton\fP (QWidget *parent)" .br .ti -1c .RI "\fBKToolButtonType\fP \fBtype\fP ()" .br .RI "返回类型 " .ti -1c .RI "void \fBsetType\fP (\fBKToolButtonType\fP \fBtype\fP)" .br .RI "设置类型 " .ti -1c .RI "void \fBsetIcon\fP (const QIcon &\fBicon\fP)" .br .RI "设置Icon " .ti -1c .RI "void \fBsetLoading\fP (bool flag)" .br .RI "设置正在加载状态,仅不带箭头的toolbuttuon支持该状态 " .ti -1c .RI "bool \fBisLoading\fP ()" .br .RI "返回是否正在加载 " .ti -1c .RI "QIcon \fBicon\fP ()" .br .RI "获取Icon " .ti -1c .RI "void \fBsetArrow\fP (bool flag)" .br .RI "设置是否显示向下箭头,默认不显示 " .ti -1c .RI "bool \fBhasArrow\fP () const" .br .RI "返回是否显示箭头 " .ti -1c .RI "void \fBsetIconColor\fP (bool flag, QColor color)" .br .RI "设置图标颜色 " .ti -1c .RI "void \fBsetBorderRadius\fP (int bottomLeft, int topLeft, int topRight, int bottomRight)" .br .RI "setBorderRadius " .ti -1c .RI "void \fBsetBackgroundColorEnabled\fP (bool flag)" .br .RI "setBackgroundColorEnabled " .ti -1c .RI "bool \fBbackgroundColorEnabled\fP ()" .br .RI "backgroundColorEnabled " .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "bool \fBeventFilter\fP (QObject *watched, QEvent *event)" .br .ti -1c .RI "QSize \fBsizeHint\fP () const" .br .ti -1c .RI "void \fBpaintEvent\fP (QPaintEvent *event)" .br .in -1c .SH "Detailed Description" .PP 提供了一个快速访问按钮,暂不支持显示文本 .SH "Author" .PP Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code\&.