forgot synced icons
authorWladimir J. van der Laan <laanwj@gmail.com>
Fri, 8 Jul 2011 17:25:35 +0000 (19:25 +0200)
committerWladimir J. van der Laan <laanwj@gmail.com>
Fri, 8 Jul 2011 17:25:35 +0000 (19:25 +0200)
src/qt/bitcoingui.cpp
src/qt/forms/sendcoinsdialog.ui
src/qt/res/icons/notsynced.png [new file with mode: 0644]
src/qt/res/icons/synced.png [new file with mode: 0644]
src/qt/sendcoinsdialog.cpp

index 06c2034..add8abc 100644 (file)
@@ -474,6 +474,7 @@ void BitcoinGUI::gotoReceiveCoinsPage()
 void BitcoinGUI::gotoSendCoinsPage()
 {
     sendCoinsAction->setChecked(true);
+    sendCoinsPage->clear();
     centralWidget->setCurrentWidget(sendCoinsPage);
     exportAction->setEnabled(false);
 }
index a5c38a5..c3b966c 100644 (file)
          <property name="maxLength">
           <number>34</number>
          </property>
+         <property name="placeholderText">
+          <string/>
+         </property>
         </widget>
        </item>
        <item>
       <widget class="QPushButton" name="sendButton">
        <property name="minimumSize">
         <size>
-         <width>120</width>
+         <width>150</width>
          <height>0</height>
         </size>
        </property>
        </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>
   <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 (file)
index 0000000..c9e7118
Binary files /dev/null and b/src/qt/res/icons/notsynced.png differ
diff --git a/src/qt/res/icons/synced.png b/src/qt/res/icons/synced.png
new file mode 100644 (file)
index 0000000..910fc39
Binary files /dev/null and b/src/qt/res/icons/synced.png differ
index 91397a7..9724368 100644 (file)
@@ -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