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

kdk::KSwitchButton - 指示打开/关闭两种状态

#include <kswitchbutton.h>

Inherits QPushButton.


void stateChanged (bool)
当选中状态发生变化时,发出此信号


KSwitchButton (QWidget *parent=0)
void setCheckable (bool)
设置是否可选中 bool isCheckable () const
返回是否可选中 bool isChecked () const
返回是否选中 void setChecked (bool)
设置是否选中 void setTranslucent (bool flag)
设置是否启用半透明效果 bool isTranslucent ()
获取是否启用半透明效果


void paintEvent (QPaintEvent *event) override
void resizeEvent (QResizeEvent *event) override
QSize sizeHint () const

指示打开/关闭两种状态

Since

1.0.0

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

Version version:3.0 LIBKYSDK-APPLICATIONS