#include <SAColorGridWidget.h>
◆ SAColorGridWidget()
| SAColorGridWidget::SAColorGridWidget |
( |
QWidget * |
par = nullptr | ) |
|
◆ ~SAColorGridWidget()
| SAColorGridWidget::~SAColorGridWidget |
( |
| ) |
|
◆ clearCheckedState()
| void SAColorGridWidget::clearCheckedState |
( |
| ) |
|
Clear checked state, no color will be selected
◆ colorButton()
Get color button by index
◆ colorClicked
| void SAColorGridWidget::colorClicked |
( |
const QColor & |
c | ) |
|
|
signal |
◆ colorCount()
| int SAColorGridWidget::colorCount |
( |
| ) |
const |
◆ colorIconSize()
| QSize SAColorGridWidget::colorIconSize |
( |
| ) |
const |
◆ colorPressed
| void SAColorGridWidget::colorPressed |
( |
const QColor & |
c | ) |
|
|
signal |
◆ colorReleased
| void SAColorGridWidget::colorReleased |
( |
const QColor & |
c | ) |
|
|
signal |
◆ colorToggled
| void SAColorGridWidget::colorToggled |
( |
const QColor & |
c, |
|
|
bool |
on |
|
) |
| |
|
signal |
◆ columnCount()
| int SAColorGridWidget::columnCount |
( |
| ) |
const |
◆ currentCheckedColor()
| QColor SAColorGridWidget::currentCheckedColor |
( |
| ) |
const |
Get currently checked color
◆ getColorList()
| QList< QColor > SAColorGridWidget::getColorList |
( |
| ) |
const |
◆ horizontalSpacing()
| int SAColorGridWidget::horizontalSpacing |
( |
| ) |
const |
◆ isColorCheckable()
| bool SAColorGridWidget::isColorCheckable |
( |
| ) |
const |
Check if colors are checkable
◆ iterationColorBtns()
| void SAColorGridWidget::iterationColorBtns |
( |
SAColorGridWidget::FunColorBtn |
fn | ) |
|
Iterate through all color buttons
◆ setColorCheckable()
| void SAColorGridWidget::setColorCheckable |
( |
bool |
on = true | ) |
|
Set whether colors are checkable
◆ setColorIconSize()
| void SAColorGridWidget::setColorIconSize |
( |
const QSize & |
s | ) |
|
◆ setColorList()
| void SAColorGridWidget::setColorList |
( |
const QList< QColor > & |
cls | ) |
|
◆ setColumnCount()
| void SAColorGridWidget::setColumnCount |
( |
int |
c | ) |
|
Set column count, row count will be determined by column count
◆ setHorizontalSpacerToRight()
| void SAColorGridWidget::setHorizontalSpacerToRight |
( |
bool |
on = true | ) |
|
Set horizontal spacer to right
◆ setHorizontalSpacing()
| void SAColorGridWidget::setHorizontalSpacing |
( |
int |
v | ) |
|
◆ setRowMinimumHeight()
| void SAColorGridWidget::setRowMinimumHeight |
( |
int |
row, |
|
|
int |
minSize |
|
) |
| |
◆ setSpacing()
| void SAColorGridWidget::setSpacing |
( |
int |
v | ) |
|
◆ setVerticalSpacing()
| void SAColorGridWidget::setVerticalSpacing |
( |
int |
v | ) |
|
◆ sizeHint()
| QSize SAColorGridWidget::sizeHint |
( |
| ) |
const |
|
virtual |
◆ spacing()
| int SAColorGridWidget::spacing |
( |
| ) |
const |
◆ verticalSpacing()
| int SAColorGridWidget::verticalSpacing |
( |
| ) |
const |
该类的文档由以下文件生成:
- /home/runner/work/SARibbon/SARibbon/src/SARibbonBar/colorWidgets/SAColorGridWidget.h
- /home/runner/work/SARibbon/SARibbon/src/SARibbonBar/colorWidgets/SAColorGridWidget.cpp