#include <SAColorPaletteGridWidget.h>
◆ SAColorPaletteGridWidget() [1/2]
| SAColorPaletteGridWidget::SAColorPaletteGridWidget |
( |
QWidget * |
par = nullptr | ) |
|
◆ SAColorPaletteGridWidget() [2/2]
| SAColorPaletteGridWidget::SAColorPaletteGridWidget |
( |
const QList< QColor > & |
cls, |
|
|
QWidget * |
par = nullptr |
|
) |
| |
◆ ~SAColorPaletteGridWidget()
| SAColorPaletteGridWidget::~SAColorPaletteGridWidget |
( |
| ) |
|
◆ colorClicked
| void SAColorPaletteGridWidget::colorClicked |
( |
const QColor & |
c | ) |
|
|
signal |
◆ colorIconSize()
| QSize SAColorPaletteGridWidget::colorIconSize |
( |
| ) |
const |
◆ colorList()
| QList< QColor > SAColorPaletteGridWidget::colorList |
( |
| ) |
const |
◆ factor()
| QList< int > SAColorPaletteGridWidget::factor |
( |
| ) |
const |
◆ isColorCheckable()
| bool SAColorPaletteGridWidget::isColorCheckable |
( |
| ) |
const |
Check if colors are checkable
◆ setColorCheckable()
| void SAColorPaletteGridWidget::setColorCheckable |
( |
bool |
on = true | ) |
|
Set whether colors are checkable
◆ setColorIconSize()
| void SAColorPaletteGridWidget::setColorIconSize |
( |
const QSize & |
s | ) |
|
◆ setColorList()
| void SAColorPaletteGridWidget::setColorList |
( |
const QList< QColor > & |
cls | ) |
|
Set color list maintained by the widget
◆ setFactor()
| void SAColorPaletteGridWidget::setFactor |
( |
const QList< int > & |
factor | ) |
|
Set color shade factor, default is { 180, 160, 140, 75, 50 }
该类的文档由以下文件生成:
- /home/runner/work/SARibbon/SARibbon/src/SARibbonBar/colorWidgets/SAColorPaletteGridWidget.h
- /home/runner/work/SARibbon/SARibbon/src/SARibbonBar/colorWidgets/SAColorPaletteGridWidget.cpp