settings#
Package Contents#
Setting card |
|
Setting card with switch button |
|
Setting card with a slider |
|
Setting card with a push button |
|
Setting card with color picker |
|
Hyperlink card |
|
Push setting card with primary color |
|
Color picker button |
|
Setting card with a combo box |
|
Expandable setting card |
|
Expand group setting card |
|
Folder list setting card |
|
setting card with a group of options |
|
Custom color setting card |
|
Setting card group |
- class SettingCard(icon: str | PyQt5.QtGui.QIcon | qfluentwidgets.common.icon.FluentIconBase, title, content=None, parent=None)#
Bases:
PyQt5.QtWidgets.QFrame
Setting card
- setTitle(title: str)#
set the title of card
- setContent(content: str)#
set the content of card
- setValue(value)#
set the value of config item
- paintEvent(e)#
- class SwitchSettingCard(icon: str | PyQt5.QtGui.QIcon | qfluentwidgets.common.icon.FluentIconBase, title, content=None, configItem: qfluentwidgets.common.config.ConfigItem = None, parent=None)#
Bases:
SettingCard
Setting card with switch button
- checkedChanged#
- setValue(isChecked: bool)#
set the value of config item
- setChecked(isChecked: bool)#
- isChecked()#
- class RangeSettingCard(configItem, icon: str | PyQt5.QtGui.QIcon | qfluentwidgets.common.icon.FluentIconBase, title, content=None, parent=None)#
Bases:
SettingCard
Setting card with a slider
- valueChanged#
- setValue(value)#
set the value of config item
- class PushSettingCard(text, icon: str | PyQt5.QtGui.QIcon | qfluentwidgets.common.icon.FluentIconBase, title, content=None, parent=None)#
Bases:
SettingCard
Setting card with a push button
- clicked#
- class ColorSettingCard(configItem, icon: str | PyQt5.QtGui.QIcon | qfluentwidgets.common.icon.FluentIconBase, title: str, content: str = None, parent=None, enableAlpha=False)#
Bases:
SettingCard
Setting card with color picker
- colorChanged#
- setValue(color: PyQt5.QtGui.QColor)#
set the value of config item
- class HyperlinkCard(url, text, icon: str | PyQt5.QtGui.QIcon | qfluentwidgets.common.icon.FluentIconBase, title, content=None, parent=None)#
Bases:
SettingCard
Hyperlink card
- class PrimaryPushSettingCard(text, icon, title, content=None, parent=None)#
Bases:
PushSettingCard
Push setting card with primary color
- class ColorPickerButton(color: PyQt5.QtGui.QColor, title: str, parent=None, enableAlpha=False)#
Bases:
PyQt5.QtWidgets.QToolButton
Color picker button
- colorChanged#
- setColor(color)#
set color
- paintEvent(e)#
- class ComboBoxSettingCard(configItem: qfluentwidgets.common.config.OptionsConfigItem, icon: str | PyQt5.QtGui.QIcon | qfluentwidgets.common.icon.FluentIconBase, title, content=None, texts=None, parent=None)#
Bases:
SettingCard
Setting card with a combo box
- setValue(value)#
set the value of config item
- 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
- class FolderListSettingCard(configItem: qfluentwidgets.common.config.ConfigItem, title: str, content: str = None, directory='./', parent=None)#
Bases:
qfluentwidgets.components.settings.expand_setting_card.ExpandSettingCard
Folder list setting card
- folderChanged#
- class OptionsSettingCard(configItem, icon: str | PyQt5.QtGui.QIcon | qfluentwidgets.common.icon.FluentIconBase, title, content=None, texts=None, parent=None)#
Bases:
qfluentwidgets.components.settings.expand_setting_card.ExpandSettingCard
setting card with a group of options
- optionChanged#
- setValue(value)#
select button according to the value
- class CustomColorSettingCard(configItem: qfluentwidgets.common.config.ColorConfigItem, icon: str | PyQt5.QtGui.QIcon | qfluentwidgets.common.icon.FluentIconBase, title: str, content=None, parent=None, enableAlpha=False)#
Bases:
qfluentwidgets.components.settings.expand_setting_card.ExpandGroupSettingCard
Custom color setting card
- colorChanged#