Changeset View
Changeset View
Standalone View
Standalone View
src/qt/rpcconsole.cpp
Show First 20 Lines • Show All 524 Lines • ▼ Show 20 Lines | RPCConsole::RPCConsole(interfaces::Node &node, | ||||
} | } | ||||
QChar nonbreaking_hyphen(8209); | QChar nonbreaking_hyphen(8209); | ||||
ui->dataDir->setToolTip( | ui->dataDir->setToolTip( | ||||
ui->dataDir->toolTip().arg(QString(nonbreaking_hyphen) + "datadir")); | ui->dataDir->toolTip().arg(QString(nonbreaking_hyphen) + "datadir")); | ||||
ui->blocksDir->setToolTip(ui->blocksDir->toolTip().arg( | ui->blocksDir->setToolTip(ui->blocksDir->toolTip().arg( | ||||
QString(nonbreaking_hyphen) + "blocksdir")); | QString(nonbreaking_hyphen) + "blocksdir")); | ||||
ui->openDebugLogfileButton->setToolTip( | ui->openDebugLogfileButton->setToolTip( | ||||
ui->openDebugLogfileButton->toolTip().arg(tr(PACKAGE_NAME))); | ui->openDebugLogfileButton->toolTip().arg(PACKAGE_NAME)); | ||||
if (platformStyle->getImagesOnButtons()) { | if (platformStyle->getImagesOnButtons()) { | ||||
ui->openDebugLogfileButton->setIcon( | ui->openDebugLogfileButton->setIcon( | ||||
platformStyle->SingleColorIcon(":/icons/export")); | platformStyle->SingleColorIcon(":/icons/export")); | ||||
} | } | ||||
ui->clearButton->setIcon(platformStyle->SingleColorIcon(":/icons/remove")); | ui->clearButton->setIcon(platformStyle->SingleColorIcon(":/icons/remove")); | ||||
ui->fontBiggerButton->setIcon( | ui->fontBiggerButton->setIcon( | ||||
platformStyle->SingleColorIcon(":/icons/fontbigger")); | platformStyle->SingleColorIcon(":/icons/fontbigger")); | ||||
▲ Show 20 Lines • Show All 392 Lines • ▼ Show 20 Lines | |||||
#ifdef Q_OS_MAC | #ifdef Q_OS_MAC | ||||
QString clsKey = "(⌘)-L"; | QString clsKey = "(⌘)-L"; | ||||
#else | #else | ||||
QString clsKey = "Ctrl-L"; | QString clsKey = "Ctrl-L"; | ||||
#endif | #endif | ||||
message(CMD_REPLY, | message(CMD_REPLY, | ||||
(tr("Welcome to the %1 RPC console.").arg(tr(PACKAGE_NAME)) + | (tr("Welcome to the %1 RPC console.").arg(PACKAGE_NAME) + "<br>" + | ||||
"<br>" + | |||||
tr("Use up and down arrows to navigate history, and " | tr("Use up and down arrows to navigate history, and " | ||||
"%1 to clear screen.") | "%1 to clear screen.") | ||||
.arg("<b>" + clsKey + "</b>") + | .arg("<b>" + clsKey + "</b>") + | ||||
"<br>" + | "<br>" + | ||||
tr("Type %1 for an overview of available commands.") | tr("Type %1 for an overview of available commands.") | ||||
.arg("<b>help</b>") + | .arg("<b>help</b>") + | ||||
"<br>" + | "<br>" + | ||||
tr("For more information on using this console type %1.") | tr("For more information on using this console type %1.") | ||||
▲ Show 20 Lines • Show All 517 Lines • Show Last 20 Lines |