Skip to content

API Class ColorPreferenceButton

Bo Chen edited this page Apr 23, 2026 · 1 revision

API Class: ColorPreferenceButton

Color Preference Button class.

Source

Inheritance

  • Bases: QPushButton

Purpose

Color Preference Button class.

Instance Attributes

Attribute First assigned in Line Explanation
_color __init__ 128 Color setting for color.

Methods

Computation and construction

Method Line Explanation
_parse_color(color_value) 134 Implements parse color.

General

Method Line Explanation
__init__(color_value, parent=None) 126 Initializes the instance.
choose_color() 161 Implements choose color.
set_color_value(color_value) 167 Sets color value.
color_value() 171 Implements color value.

Refresh and sync

Method Line Explanation
refresh() 143 Implements refresh.

Clone this wiki locally