Browse Source

Placeholder text can only be used for Qt 4.7+

0.8
Wladimir J. van der Laan 14 years ago
parent
commit
f48b4c8897
  1. 4
      src/qt/transactionview.cpp

4
src/qt/transactionview.cpp

@ -57,11 +57,15 @@ TransactionView::TransactionView(QWidget *parent) : @@ -57,11 +57,15 @@ TransactionView::TransactionView(QWidget *parent) :
hlayout->addWidget(typeWidget);
addressWidget = new QLineEdit(this);
#if QT_VERSION >= 0x040700
addressWidget->setPlaceholderText("Enter address or label to search");
#endif
hlayout->addWidget(addressWidget);
amountWidget = new QLineEdit(this);
#if QT_VERSION >= 0x040700
amountWidget->setPlaceholderText("Min amount");
#endif
amountWidget->setMaximumWidth(100);
amountWidget->setMinimumWidth(100);
amountWidget->setValidator(new QDoubleValidator(0, 1e20, 8, this));

Loading…
Cancel
Save