mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
qt: adds more setPlaceholderText by form .ui instead code aproach
This commit is contained in:
parent
e043d4b98b
commit
3511d69609
@ -63,6 +63,9 @@
|
||||
<property name="toolTip">
|
||||
<string>Filter proposal list</string>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>Filter by Title</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
@ -63,6 +63,9 @@
|
||||
<property name="toolTip">
|
||||
<string>Filter masternode list</string>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>Filter by any property (e.g. address or protx hash)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
@ -49,6 +49,9 @@
|
||||
<property name="toolTip">
|
||||
<string>An optional label to associate with the new receiving address.</string>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>Enter a label to associate with the new receiving address</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="2">
|
||||
@ -56,6 +59,9 @@
|
||||
<property name="toolTip">
|
||||
<string>An optional message to attach to the payment request, which will be displayed when the request is opened.<br>Note: The message will not be sent with the payment over the Dash network.</string>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>Enter a message to attach to the payment request</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
|
@ -119,7 +119,7 @@
|
||||
<string>Enter the message you want to sign here</string>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>Enter the message you want to sign here</string>
|
||||
<string>Enter a message to be signed</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -279,7 +279,7 @@
|
||||
<string>The signed message to verify</string>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>The signed message to verify</string>
|
||||
<string>Enter a message to be verified</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -289,7 +289,7 @@
|
||||
<string>The signature given when the message was signed</string>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>The signature given when the message was signed</string>
|
||||
<string>Enter a signature for the message to be verified</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -312,7 +312,6 @@ GovernanceList::GovernanceList(QWidget* parent) :
|
||||
|
||||
// Set up filtering.
|
||||
proposalModelProxy->setFilterKeyColumn(ProposalModel::Column::TITLE); // filter by title column...
|
||||
ui->filterLineEdit->setPlaceholderText(tr("Filter by Title"));
|
||||
connect(ui->filterLineEdit, &QLineEdit::textChanged, proposalModelProxy, &QSortFilterProxyModel::setFilterFixedString);
|
||||
|
||||
// Changes to number of rows should update proposal count display.
|
||||
|
@ -84,7 +84,6 @@ MasternodeList::MasternodeList(QWidget* parent) :
|
||||
|
||||
ui->tableWidgetMasternodesDIP3->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
|
||||
ui->filterLineEditDIP3->setPlaceholderText(tr("Filter by any property (e.g. address or protx hash)"));
|
||||
ui->checkBoxMyMasternodesOnly->setEnabled(false);
|
||||
|
||||
QAction* copyProTxHashAction = new QAction(tr("Copy ProTx Hash"), this);
|
||||
|
@ -31,9 +31,6 @@ ReceiveCoinsDialog::ReceiveCoinsDialog(QWidget* parent) :
|
||||
ui->label_3}, GUIUtil::FontWeight::Normal, 15);
|
||||
GUIUtil::updateFonts();
|
||||
|
||||
ui->reqLabel->setPlaceholderText(tr("Enter a label to associate with the new receiving address"));
|
||||
ui->reqMessage->setPlaceholderText(tr("Enter a message to attach to the payment request"));
|
||||
|
||||
// context menu actions
|
||||
QAction *copyURIAction = new QAction(tr("Copy URI"), this);
|
||||
QAction* copyAddressAction = new QAction(tr("Copy address"), this);
|
||||
|
@ -33,11 +33,6 @@ SignVerifyMessageDialog::SignVerifyMessageDialog(QWidget* parent) :
|
||||
pageButtons->addButton(ui->btnVerifyMessage, pageButtons->buttons().size());
|
||||
connect(pageButtons, QOverload<int>::of(&QButtonGroup::buttonClicked), this, &SignVerifyMessageDialog::showPage);
|
||||
|
||||
ui->messageIn_SM->setPlaceholderText(tr("Enter a message to be signed"));
|
||||
|
||||
ui->messageIn_VM->setPlaceholderText(tr("Enter a message to be verified"));
|
||||
ui->signatureIn_VM->setPlaceholderText(tr("Enter a signature for the message to be verified"));
|
||||
|
||||
// These icons are needed on Mac also
|
||||
GUIUtil::setIcon(ui->addressBookButton_SM, "address-book");
|
||||
GUIUtil::setIcon(ui->pasteButton_SM, "editpaste");
|
||||
|
Loading…
Reference in New Issue
Block a user