Added a tooltip to the color button.

This commit is contained in:
Leonardo Zide
2025-08-09 12:53:38 -07:00
parent 35c8652405
commit ce94465de6
5 changed files with 102 additions and 86 deletions
+2
View File
@@ -732,6 +732,7 @@ void lcMainWindow::CreateToolBars()
mColorButton->setAutoRaise(true);
mColorButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
mColorButton->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Maximum);
mColorButton->setToolTip(tr("Change Selection Color"));
ColorButtonLayout->addWidget(mColorButton);
connect(mColorButton, SIGNAL(clicked()), this, SLOT(ColorButtonClicked()));
@@ -2157,6 +2158,7 @@ void lcMainWindow::UpdateColor()
mColorButton->setIcon(Pixmap);
mColorButton->setText(QString(" ") + gColorList[mColorIndex].Name);
mColorList->SetCurrentColor(mColorIndex);
}