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

kdk::KAddButton

Inherits QPushButton.


void tabletModeChanged (bool b)


KAddButton (QWidget *parent=nullptr, KBaseFrame::BorderRadiusStyle style=KBaseFrame::BorderRadiusStyle::Bottom, bool heightAdaptive=true)
void setRadiusType (KBaseFrame::BorderRadiusStyle style)
设置圆角模式 bool getTabletMode ()
获取平板模式 void setHeightAdaptive (bool flag)
设置高度是否自适应


void paintEvent (QPaintEvent *event)

获取平板模式

Returns

bool 是否是平板模式

设置高度是否自适应

Parameters

flag

设置圆角模式

Parameters

style

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

Version version:3.0 LIBKYSDK-APPLICATIONS