darrowbutton_zh
2022-04-14 15:54:32

Class::DArrowButton

暂无该属性


Detailed Description

DArrowButton allowed you create button with arrow icon conveniently.

You can use DArrowButton to create button with arrow icon, and it also allowed you update the arrow direction by calling . You can also update arrow state via arrowButtonDirection and arrowButtonState property.

See also QLabel The ArrowDirection enum indicate the direction of the arrow icon in the arrown button

DArrowButton::ArrowDirection 表示箭头图标的方向。 UnknownCommandDArrowButton::ArrowButtonState DArrowButton::ArrowStateNormal Normal state 普通状态

UnknownCommandDArrowButton::ArrowButtonState DArrowButton::ArrowStateHover Mouse hover state 鼠标在按钮上方悬停状态

UnknownCommandDArrowButton::ArrowButtonState DArrowButton::ArrowStatePress Button got pressed state 按钮被按下状态

DArrowButton::DArrowButton

[private constructor  ]

DArrowButton(QWidget *parent)

DArrowButton::setArrowDirection

[private plain  ]

void setArrowDirection(int direction)

DArrowButton::arrowDirection

[private plain  ]

int arrowDirection() const

DArrowButton::buttonState

[private plain  ]

int buttonState() const

DArrowButton::mousePressEvent

[protected plain  ]

void mousePressEvent(QMouseEvent *event)

DArrowButton::mouseReleaseEvent

[protected plain  ]

void mouseReleaseEvent(QMouseEvent *event)

DArrowButton::enterEvent

[protected plain  ]

void enterEvent(int *)

DArrowButton::leaveEvent

[protected plain  ]

void leaveEvent(int *)

DArrowButton::mouseRelease

[protected plain  ]

void mouseRelease()

DArrowButton::mouseEnter

[protected plain  ]

void mouseEnter()

DArrowButton::mouseLeave

[protected plain  ]

void mouseLeave()

DArrowButton::initButtonState

[private plain  ]

void initButtonState()

DArrowButton::setButtonState

[private plain  ]

void setButtonState(DArrowButton::ArrowButtonState state)

DArrowButton::updateIconDirection

[private plain  ]

void updateIconDirection(int direction)

DArrowButton::updateIconState

[private plain  ]

void updateIconState(DArrowButton::ArrowButtonState state)