// set the button color and text
colorModule->backgroundPB->setStyleSheet(
colorButtonStyleSheet(newColor));
- colorModule->backgroundPB->setText(toqstr("Change..."));
+ colorModule->backgroundPB->setText(qt_("&Change..."));
// save color
set_backgroundcolor = rgbFromHexName(fromqstr(newColor.name()));
is_backgroundcolor = true;
// set the button color back to default by setting an epmty StyleSheet
colorModule->backgroundPB->setStyleSheet(QLatin1String(""));
// change button text
- colorModule->backgroundPB->setText(toqstr("Default..."));
+ colorModule->backgroundPB->setText(qt_("&Default..."));
// save default color (white)
set_backgroundcolor = rgbFromHexName("#ffffff");
is_backgroundcolor = false;
// set the button color and text
colorModule->fontColorPB->setStyleSheet(
colorButtonStyleSheet(newColor));
- colorModule->fontColorPB->setText(toqstr("Change..."));
+ colorModule->fontColorPB->setText(qt_("&Change..."));
// save color
set_fontcolor = rgbFromHexName(fromqstr(newColor.name()));
is_fontcolor = true;
// set the button color back to default by setting an epmty StyleSheet
colorModule->fontColorPB->setStyleSheet(QLatin1String(""));
// change button text
- colorModule->fontColorPB->setText(toqstr("Default..."));
+ colorModule->fontColorPB->setText(qt_("&Default..."));
// save default color (black)
set_fontcolor = rgbFromHexName("#000000");
is_fontcolor = false;