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

kdk::KIntroWidget

Inherits QWidget.


void rightClick (QPoint point)


KIntroWidget (QWidget *parent=nullptr)
void setViewType (ViewType type)
设置视图样式 void setMainLabel (QString str)
设置主文本 void setSubLabel (QString str)
设置次级文本 void setBorderRadius (int radius)
设置圆角 void setBorderRadius (int bottomLeft, int topLeft, int topRight, int bottomRight)
设置圆角 void setTitleColor (QColor color)
设置标题颜色


void paintEvent (QPaintEvent *event)
bool eventFilter (QObject *watched, QEvent *event)
QSize sizeHint () const override
void mousePressEvent (QMouseEvent *event)
void mouseReleaseEvent (QMouseEvent *event)

设置圆角

Parameters

bottomLeft
topLeft
topRight
bottomRight

设置圆角

Parameters

radius

设置主文本

Parameters

str

设置次级文本

Parameters

str

设置标题颜色

Parameters

color

设置视图样式

Parameters

type

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

Version version:3.0 LIBKYSDK-APPLICATIONS