|
|
@ -51,7 +51,6 @@ |
|
|
|
#include <QFileDialog> |
|
|
|
#include <QFileDialog> |
|
|
|
#include <QDesktopServices> |
|
|
|
#include <QDesktopServices> |
|
|
|
#include <QTimer> |
|
|
|
#include <QTimer> |
|
|
|
|
|
|
|
|
|
|
|
#include <QDragEnterEvent> |
|
|
|
#include <QDragEnterEvent> |
|
|
|
#include <QUrl> |
|
|
|
#include <QUrl> |
|
|
|
|
|
|
|
|
|
|
@ -69,7 +68,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent): |
|
|
|
rpcConsole(0) |
|
|
|
rpcConsole(0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
resize(850, 550); |
|
|
|
resize(850, 550); |
|
|
|
setWindowTitle(tr("Bitcoin Wallet")); |
|
|
|
setWindowTitle(tr("Bitcoin") + " - " + tr("Wallet")); |
|
|
|
#ifndef Q_WS_MAC |
|
|
|
#ifndef Q_WS_MAC |
|
|
|
qApp->setWindowIcon(QIcon(":icons/bitcoin")); |
|
|
|
qApp->setWindowIcon(QIcon(":icons/bitcoin")); |
|
|
|
setWindowIcon(QIcon(":icons/bitcoin")); |
|
|
|
setWindowIcon(QIcon(":icons/bitcoin")); |
|
|
@ -255,7 +254,7 @@ void BitcoinGUI::createActions() |
|
|
|
quitAction->setToolTip(tr("Quit application")); |
|
|
|
quitAction->setToolTip(tr("Quit application")); |
|
|
|
quitAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q)); |
|
|
|
quitAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q)); |
|
|
|
quitAction->setMenuRole(QAction::QuitRole); |
|
|
|
quitAction->setMenuRole(QAction::QuitRole); |
|
|
|
aboutAction = new QAction(QIcon(":/icons/bitcoin"), tr("&About %1").arg(qApp->applicationName()), this); |
|
|
|
aboutAction = new QAction(QIcon(":/icons/bitcoin"), tr("&About Bitcoin"), this); |
|
|
|
aboutAction->setToolTip(tr("Show information about Bitcoin")); |
|
|
|
aboutAction->setToolTip(tr("Show information about Bitcoin")); |
|
|
|
aboutAction->setMenuRole(QAction::AboutRole); |
|
|
|
aboutAction->setMenuRole(QAction::AboutRole); |
|
|
|
aboutQtAction = new QAction(tr("About &Qt"), this); |
|
|
|
aboutQtAction = new QAction(tr("About &Qt"), this); |
|
|
|