| kdk::KAddButton(3) | Library Functions Manual | kdk::KAddButton(3) |
NAME
kdk::KAddButton
SYNOPSIS
Inherits QPushButton.
Signals
void tabletModeChanged (bool b)
Public Member Functions
KAddButton (QWidget *parent=nullptr,
KBaseFrame::BorderRadiusStyle
style=KBaseFrame::BorderRadiusStyle::Bottom, bool
heightAdaptive=true)
void setRadiusType (KBaseFrame::BorderRadiusStyle style)
设置圆角模式 bool getTabletMode ()
获取平板模式 void setHeightAdaptive
(bool flag)
设置高度是否自适应
Protected Member Functions
void paintEvent (QPaintEvent *event)
Member Function Documentation
bool kdk::KAddButton::getTabletMode ()
获取平板模式
Returns
bool
是否是平板模式
void kdk::KAddButton::setHeightAdaptive (bool flag)
设置高度是否自适应
Parameters
flag
void kdk::KAddButton::setRadiusType (KBaseFrame::BorderRadiusStyle style)
设置圆角模式
Parameters
style
Author
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.
| Version version:3.0 | LIBKYSDK-APPLICATIONS |