aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-08 19:25:35 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-08 19:25:35 +0200
commit83b8237046a25248c1b178917c2219d03bc9648f (patch)
tree6c2e61a190aae2558e0dfcddde8d60cca71b1e7c
parentd8aeb8dd2af508febafd9f7aa23526b67b97185f (diff)
forgot synced icons
-rw-r--r--src/qt/bitcoingui.cpp1
-rw-r--r--src/qt/forms/sendcoinsdialog.ui25
-rw-r--r--src/qt/res/icons/notsynced.pngbin0 -> 1013 bytes
-rw-r--r--src/qt/res/icons/synced.pngbin0 -> 1127 bytes
-rw-r--r--src/qt/sendcoinsdialog.cpp1
5 files changed, 6 insertions, 21 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index 06c2034da5..add8abc995 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -474,6 +474,7 @@ void BitcoinGUI::gotoReceiveCoinsPage()
void BitcoinGUI::gotoSendCoinsPage()
{
sendCoinsAction->setChecked(true);
+ sendCoinsPage->clear();
centralWidget->setCurrentWidget(sendCoinsPage);
exportAction->setEnabled(false);
}
diff --git a/src/qt/forms/sendcoinsdialog.ui b/src/qt/forms/sendcoinsdialog.ui
index a5c38a5306..c3b966cac7 100644
--- a/src/qt/forms/sendcoinsdialog.ui
+++ b/src/qt/forms/sendcoinsdialog.ui
@@ -107,6 +107,9 @@
<property name="maxLength">
<number>34</number>
</property>
+ <property name="placeholderText">
+ <string/>
+ </property>
</widget>
</item>
<item>
@@ -178,7 +181,7 @@
<widget class="QPushButton" name="sendButton">
<property name="minimumSize">
<size>
- <width>120</width>
+ <width>150</width>
<height>0</height>
</size>
</property>
@@ -197,25 +200,6 @@
</property>
</widget>
</item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="toolTip">
- <string>Abort the send action</string>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel</set>
- </property>
- <property name="centerButtons">
- <bool>false</bool>
- </property>
- </widget>
- </item>
</layout>
</item>
<item>
@@ -248,7 +232,6 @@
<tabstop>addAsLabel</tabstop>
<tabstop>payAmount</tabstop>
<tabstop>sendButton</tabstop>
- <tabstop>buttonBox</tabstop>
</tabstops>
<resources>
<include location="../bitcoin.qrc"/>
diff --git a/src/qt/res/icons/notsynced.png b/src/qt/res/icons/notsynced.png
new file mode 100644
index 0000000000..c9e71184c5
--- /dev/null
+++ b/src/qt/res/icons/notsynced.png
Binary files differ
diff --git a/src/qt/res/icons/synced.png b/src/qt/res/icons/synced.png
new file mode 100644
index 0000000000..910fc396ed
--- /dev/null
+++ b/src/qt/res/icons/synced.png
Binary files differ
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp
index 91397a7d25..9724368a9c 100644
--- a/src/qt/sendcoinsdialog.cpp
+++ b/src/qt/sendcoinsdialog.cpp
@@ -23,6 +23,7 @@ SendCoinsDialog::SendCoinsDialog(QWidget *parent, const QString &address) :
ui->payTo->setPlaceholderText(tr("Enter a Bitcoin address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)"));
ui->addAsLabel->setPlaceholderText(tr("Enter a label for this address to add it to your address book"));
#endif
+
GUIUtil::setupAddressWidget(ui->payTo, this);
// Set initial send-to address if provided