MCPcopy Create free account
hub / github.com/czyt1988/SARibbon / onColorButtonColorClicked

Method onColorButtonColorClicked

example/MainWindowExample/mainwindow.cpp:924–928  ·  view source on GitHub ↗

* \if ENGLISH * @brief Handle color button color clicked * @param selectedColor The selected color * @param clicked Whether the button was clicked * @details Handle color selection events for color buttons. * \endif * * \if CHINESE * @brief 处理颜色按钮颜色点击 * @param selectedColor 选择的颜色 * @param clicked 是否点击 * @details 处理颜色按钮的颜色选择事件。 * \endif */

Source from the content-addressed store, hash-verified

922 * \endif
923 */
924void MainWindow::onColorButtonColorClicked(const QColor& selectedColor, bool clicked)
925{
926 Q_UNUSED(clicked);
927 ui->textBrowser->append(QString("color click %1").arg(selectedColor.name()));
928}
929
930/**
931 * \if ENGLISH

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected