kdk::KPushButton(3) Library Functions Manual kdk::KPushButton(3) NAME kdk::KPushButton - 1. 2. 3.QPushButton SYNOPSIS #include Inherits QPushButton. Public Types enum ButtonType { NormalType, CircleType, GrayType, ShadowType } enum ArrowDirection { ArrowTop, ArrowBottom, ArrowLeft, ArrowRight } Public Member Functions KPushButton (QWidget *parent=nullptr) void setBorderRadius (int radius) void setBorderRadius (int bottomLeft, int topLeft, int topRight, int bottomRight) int borderRadius () void setBackgroundColor (QColor color) QColor backgroundColor () void setButtonType (ButtonType type) KPushButton ButtonType buttonType () KPushButton void setTranslucent (bool flag) KPushButton bool isTranslucent () KPushButton void setIconHighlight (bool flag) bool isIconHighlight () void setIconColor (QColor color) QColor IconColor () void setBackgroundColorHighlight (bool flag) bool isBackgroundColorHighlight () void setArrow (bool flag, ArrowDirection arrowDirection=ArrowBottom) flagarrowDirection bool hasArrow () const void setLoaingStatus (bool flag) bool isLoading () Protected Member Functions bool eventFilter (QObject *watched, QEvent *event) void paintEvent (QPaintEvent *event) Detailed Description 1. 2. 3.QPushButton Since 1.2.0 Member Function Documentation QColor kdk::KPushButton::backgroundColor () Returns color int kdk::KPushButton::borderRadius () Returns radius ButtonType kdk::KPushButton::buttonType () KPushButton Returns bool kdk::KPushButton::hasArrow () const Returns bool Since 2.4.1.0 QColor kdk::KPushButton::IconColor () Returns bool kdk::KPushButton::isBackgroundColorHighlight () Returns bool kdk::KPushButton::isIconHighlight () Returns bool kdk::KPushButton::isLoading () Returns Since 2.5.2.0 bool kdk::KPushButton::isTranslucent () KPushButton Returns void kdk::KPushButton::setArrow (bool flag, ArrowDirection arrowDirection = ArrowBottom) flagarrowDirection Parameters flag arrowDirection Since 2.4.1.0 void kdk::KPushButton::setBackgroundColor (QColor color) Parameters color void kdk::KPushButton::setBackgroundColorHighlight (bool flag) Parameters flag void kdk::KPushButton::setBorderRadius (int bottomLeft, int topLeft, int topRight, int bottomRight) Parameters bottomLeft topLeft topRight bottomRight void kdk::KPushButton::setBorderRadius (int radius) Parameters radius void kdk::KPushButton::setButtonType (ButtonType type) KPushButton Parameters type void kdk::KPushButton::setIconColor (QColor color) Parameters color void kdk::KPushButton::setIconHighlight (bool flag) Parameters flag void kdk::KPushButton::setLoaingStatus (bool flag) Parameters flag Since 2.5.2.0 void kdk::KPushButton::setTranslucent (bool flag) KPushButton Parameters flag Author Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. LIBKYSDK-APPLICATIONS Version version:3.0 kdk::KPushButton(3)