kdk::KFileWidget(3) Library Functions Manual kdk::KFileWidget(3)

kdk::KFileWidget - The KFileWidget class.

#include <kfilewidget.h>

Inherits QWidget.


void clicked ()


KFileWidget (QWidget *parent=nullptr)
void setMainText (QString str)
设置主要文本 void setSubText (QString str)
设置次级文本 void setIcon (QIcon icon)
设置图片 void setBorderRadius (int radius)
设置圆角 void setBorderRadius (int bottomLeft, int topLeft, int topRight, int bottomRight)
设置圆角


void paintEvent (QPaintEvent *event)
bool eventFilter (QObject *watched, QEvent *event)

The KFileWidget class.

Since

2.4.1.0

设置圆角

Parameters

bottomLeft
topLeft
topRight
bottomRight

设置圆角

Parameters

radius

设置图片

Parameters

icon

设置主要文本

Parameters

str

设置次级文本

Parameters

str

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.

Version version:3.0 LIBKYSDK-APPLICATIONS