expand_setting_card¶
Module Contents¶
Expand button |
|
Spacing widget |
|
Header setting card |
|
Expand setting card border widget |
|
Expandable setting card |
|
group separator |
|
Expand group setting card |
- class ExpandButton(parent=None)¶
Bases:
PyQt5.QtWidgets.QAbstractButton
Expand button
- angle¶
- paintEvent(e)¶
- enterEvent(e)¶
- leaveEvent(e)¶
- mousePressEvent(e)¶
- mouseReleaseEvent(e)¶
- setHover(isHover: bool)¶
- setPressed(isPressed: bool)¶
- setExpand(isExpand: bool)¶
- getAngle()¶
- setAngle(angle)¶
- class SpaceWidget(parent=None)¶
Bases:
PyQt5.QtWidgets.QWidget
Spacing widget
- class HeaderSettingCard(icon, title, content=None, parent=None)¶
Bases:
qfluentwidgets.components.settings.setting_card.SettingCard
Header setting card
- eventFilter(obj, e)¶
- addWidget(widget: PyQt5.QtWidgets.QWidget)¶
add widget to tail
- paintEvent(e)¶
- class ExpandBorderWidget(parent=None)¶
Bases:
PyQt5.QtWidgets.QWidget
Expand setting card border widget
- eventFilter(obj, e)¶
- paintEvent(e)¶
- class ExpandSettingCard(icon: str | PyQt5.QtGui.QIcon | qfluentwidgets.common.icon.FluentIcon, title: str, content: str = None, parent=None)¶
Bases:
PyQt5.QtWidgets.QScrollArea
Expandable setting card
- addWidget(widget: PyQt5.QtWidgets.QWidget)¶
add widget to tail
- wheelEvent(e)¶
- setExpand(isExpand: bool)¶
set the expand status of card
- toggleExpand()¶
toggle expand status
- resizeEvent(e)¶
- setValue(value)¶
set the value of config item
- class ExpandGroupSettingCard(icon: str | PyQt5.QtGui.QIcon | qfluentwidgets.common.icon.FluentIcon, title: str, content: str = None, parent=None)¶
Bases:
ExpandSettingCard
Expand group setting card
- addGroupWidget(widget: PyQt5.QtWidgets.QWidget)¶
add widget to group