Merge pull request #1194 from Diapolo/sendcoins_placeholdertext

move label placeholdertext from sendcoinsentry.cpp to ui-file
This commit is contained in:
Wladimir J. van der Laan 2012-05-05 00:01:35 -07:00
commit 393a0edc51
2 changed files with 6 additions and 4 deletions

View file

@ -65,6 +65,9 @@
<property name="toolTip">
<string>Enter a label for this address to add it to your address book</string>
</property>
<property name="placeholderText">
<string>Enter a label for this address to add it to your address book</string>
</property>
</widget>
</item>
</layout>
@ -95,6 +98,9 @@
<property name="maxLength">
<number>34</number>
</property>
<property name="placeholderText">
<string>Enter a Bitcoin address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</string>
</property>
</widget>
</item>
<item>

View file

@ -21,10 +21,6 @@ SendCoinsEntry::SendCoinsEntry(QWidget *parent) :
ui->payToLayout->setSpacing(4);
#endif
#if QT_VERSION >= 0x040700
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
setFocusPolicy(Qt::TabFocus);
setFocusProxy(ui->payTo);