9 #ifndef UI_SENDCOINSENTRY_H 10 #define UI_SENDCOINSENTRY_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QCheckBox> 17 #include <QtWidgets/QFrame> 18 #include <QtWidgets/QGridLayout> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QLineEdit> 23 #include <QtWidgets/QStackedWidget> 24 #include <QtWidgets/QToolButton> 79 SendCoins->setObjectName(QStringLiteral(
"SendCoins"));
80 SendCoins->setFrameShape(QFrame::NoFrame);
82 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
87 payToLabel->setObjectName(QStringLiteral(
"payToLabel"));
88 payToLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
94 payToLayout->setObjectName(QStringLiteral(
"payToLayout"));
96 payTo->setObjectName(QStringLiteral(
"payTo"));
107 pasteButton->setObjectName(QStringLiteral(
"pasteButton"));
113 deleteButton->setObjectName(QStringLiteral(
"deleteButton"));
122 labellLabel->setObjectName(QStringLiteral(
"labellLabel"));
123 labellLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
128 addAsLabel->setObjectName(QStringLiteral(
"addAsLabel"));
133 amountLabel->setObjectName(QStringLiteral(
"amountLabel"));
134 amountLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
141 payAmount->setObjectName(QStringLiteral(
"payAmount"));
155 messageLabel->setObjectName(QStringLiteral(
"messageLabel"));
156 messageLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
167 line->setObjectName(QStringLiteral(
"line"));
168 line->setFrameShape(QFrame::HLine);
169 line->setFrameShadow(QFrame::Sunken);
177 QBrush brush(QColor(0, 0, 0, 255));
178 brush.setStyle(Qt::SolidPattern);
179 palette.setBrush(QPalette::Active, QPalette::WindowText, brush);
180 QBrush brush1(QColor(255, 255, 127, 255));
181 brush1.setStyle(Qt::SolidPattern);
182 palette.setBrush(QPalette::Active, QPalette::Button, brush1);
183 QBrush brush2(QColor(255, 255, 255, 255));
184 brush2.setStyle(Qt::SolidPattern);
185 palette.setBrush(QPalette::Active, QPalette::Light, brush2);
186 QBrush brush3(QColor(255, 255, 191, 255));
187 brush3.setStyle(Qt::SolidPattern);
188 palette.setBrush(QPalette::Active, QPalette::Midlight, brush3);
189 QBrush brush4(QColor(127, 127, 63, 255));
190 brush4.setStyle(Qt::SolidPattern);
191 palette.setBrush(QPalette::Active, QPalette::Dark, brush4);
192 QBrush brush5(QColor(170, 170, 84, 255));
193 brush5.setStyle(Qt::SolidPattern);
194 palette.setBrush(QPalette::Active, QPalette::Mid, brush5);
195 palette.setBrush(QPalette::Active, QPalette::Text, brush);
196 palette.setBrush(QPalette::Active, QPalette::BrightText, brush2);
197 palette.setBrush(QPalette::Active, QPalette::ButtonText, brush);
198 palette.setBrush(QPalette::Active, QPalette::Base, brush2);
199 palette.setBrush(QPalette::Active, QPalette::Window, brush1);
200 palette.setBrush(QPalette::Active, QPalette::Shadow, brush);
201 palette.setBrush(QPalette::Active, QPalette::AlternateBase, brush3);
202 QBrush brush6(QColor(255, 255, 220, 255));
203 brush6.setStyle(Qt::SolidPattern);
204 palette.setBrush(QPalette::Active, QPalette::ToolTipBase, brush6);
205 palette.setBrush(QPalette::Active, QPalette::ToolTipText, brush);
206 palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
207 palette.setBrush(QPalette::Inactive, QPalette::Button, brush1);
208 palette.setBrush(QPalette::Inactive, QPalette::Light, brush2);
209 palette.setBrush(QPalette::Inactive, QPalette::Midlight, brush3);
210 palette.setBrush(QPalette::Inactive, QPalette::Dark, brush4);
211 palette.setBrush(QPalette::Inactive, QPalette::Mid, brush5);
212 palette.setBrush(QPalette::Inactive, QPalette::Text, brush);
213 palette.setBrush(QPalette::Inactive, QPalette::BrightText, brush2);
214 palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
215 palette.setBrush(QPalette::Inactive, QPalette::Base, brush2);
216 palette.setBrush(QPalette::Inactive, QPalette::Window, brush1);
217 palette.setBrush(QPalette::Inactive, QPalette::Shadow, brush);
218 palette.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush3);
219 palette.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush6);
220 palette.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush);
221 palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush4);
222 palette.setBrush(QPalette::Disabled, QPalette::Button, brush1);
223 palette.setBrush(QPalette::Disabled, QPalette::Light, brush2);
224 palette.setBrush(QPalette::Disabled, QPalette::Midlight, brush3);
225 palette.setBrush(QPalette::Disabled, QPalette::Dark, brush4);
226 palette.setBrush(QPalette::Disabled, QPalette::Mid, brush5);
227 palette.setBrush(QPalette::Disabled, QPalette::Text, brush4);
228 palette.setBrush(QPalette::Disabled, QPalette::BrightText, brush2);
229 palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush4);
230 palette.setBrush(QPalette::Disabled, QPalette::Base, brush1);
231 palette.setBrush(QPalette::Disabled, QPalette::Window, brush1);
232 palette.setBrush(QPalette::Disabled, QPalette::Shadow, brush);
233 palette.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush1);
234 palette.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush6);
235 palette.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush);
241 gridLayout_is->setObjectName(QStringLiteral(
"gridLayout_is"));
243 payToLabel_is->setObjectName(QStringLiteral(
"payToLabel_is"));
244 payToLabel_is->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
252 payTo_is->setObjectName(QStringLiteral(
"payTo_is"));
265 memoLabel_is->setObjectName(QStringLiteral(
"memoLabel_is"));
266 memoLabel_is->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
278 amountLabel_is->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
283 payAmount_is->setObjectName(QStringLiteral(
"payAmount_is"));
292 palette1.setBrush(QPalette::Active, QPalette::WindowText, brush);
293 QBrush brush7(QColor(140, 232, 119, 255));
294 brush7.setStyle(Qt::SolidPattern);
295 palette1.setBrush(QPalette::Active, QPalette::Button, brush7);
296 QBrush brush8(QColor(230, 255, 224, 255));
297 brush8.setStyle(Qt::SolidPattern);
298 palette1.setBrush(QPalette::Active, QPalette::Light, brush8);
299 QBrush brush9(QColor(185, 243, 171, 255));
300 brush9.setStyle(Qt::SolidPattern);
301 palette1.setBrush(QPalette::Active, QPalette::Midlight, brush9);
302 QBrush brush10(QColor(70, 116, 59, 255));
303 brush10.setStyle(Qt::SolidPattern);
304 palette1.setBrush(QPalette::Active, QPalette::Dark, brush10);
305 QBrush brush11(QColor(93, 155, 79, 255));
306 brush11.setStyle(Qt::SolidPattern);
307 palette1.setBrush(QPalette::Active, QPalette::Mid, brush11);
308 palette1.setBrush(QPalette::Active, QPalette::Text, brush);
309 QBrush brush12(QColor(155, 255, 147, 255));
310 brush12.setStyle(Qt::SolidPattern);
311 palette1.setBrush(QPalette::Active, QPalette::BrightText, brush12);
312 palette1.setBrush(QPalette::Active, QPalette::ButtonText, brush);
313 QBrush brush13(QColor(119, 255, 233, 255));
314 brush13.setStyle(Qt::SolidPattern);
315 palette1.setBrush(QPalette::Active, QPalette::Base, brush13);
316 palette1.setBrush(QPalette::Active, QPalette::Window, brush7);
317 palette1.setBrush(QPalette::Active, QPalette::Shadow, brush);
318 QBrush brush14(QColor(197, 243, 187, 255));
319 brush14.setStyle(Qt::SolidPattern);
320 palette1.setBrush(QPalette::Active, QPalette::AlternateBase, brush14);
321 QBrush brush15(QColor(125, 194, 122, 255));
322 brush15.setStyle(Qt::SolidPattern);
323 palette1.setBrush(QPalette::Active, QPalette::NoRole, brush15);
324 palette1.setBrush(QPalette::Active, QPalette::ToolTipBase, brush6);
325 palette1.setBrush(QPalette::Active, QPalette::ToolTipText, brush);
326 palette1.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
327 palette1.setBrush(QPalette::Inactive, QPalette::Button, brush7);
328 palette1.setBrush(QPalette::Inactive, QPalette::Light, brush8);
329 palette1.setBrush(QPalette::Inactive, QPalette::Midlight, brush9);
330 palette1.setBrush(QPalette::Inactive, QPalette::Dark, brush10);
331 palette1.setBrush(QPalette::Inactive, QPalette::Mid, brush11);
332 palette1.setBrush(QPalette::Inactive, QPalette::Text, brush);
333 palette1.setBrush(QPalette::Inactive, QPalette::BrightText, brush12);
334 palette1.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
335 palette1.setBrush(QPalette::Inactive, QPalette::Base, brush13);
336 palette1.setBrush(QPalette::Inactive, QPalette::Window, brush7);
337 palette1.setBrush(QPalette::Inactive, QPalette::Shadow, brush);
338 palette1.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush14);
339 palette1.setBrush(QPalette::Inactive, QPalette::NoRole, brush15);
340 palette1.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush6);
341 palette1.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush);
342 palette1.setBrush(QPalette::Disabled, QPalette::WindowText, brush10);
343 palette1.setBrush(QPalette::Disabled, QPalette::Button, brush7);
344 palette1.setBrush(QPalette::Disabled, QPalette::Light, brush8);
345 palette1.setBrush(QPalette::Disabled, QPalette::Midlight, brush9);
346 palette1.setBrush(QPalette::Disabled, QPalette::Dark, brush10);
347 palette1.setBrush(QPalette::Disabled, QPalette::Mid, brush11);
348 palette1.setBrush(QPalette::Disabled, QPalette::Text, brush10);
349 palette1.setBrush(QPalette::Disabled, QPalette::BrightText, brush12);
350 palette1.setBrush(QPalette::Disabled, QPalette::ButtonText, brush10);
351 palette1.setBrush(QPalette::Disabled, QPalette::Base, brush7);
352 palette1.setBrush(QPalette::Disabled, QPalette::Window, brush7);
353 palette1.setBrush(QPalette::Disabled, QPalette::Shadow, brush);
354 palette1.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush7);
355 palette1.setBrush(QPalette::Disabled, QPalette::NoRole, brush15);
356 palette1.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush6);
357 palette1.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush);
363 gridLayout_s->setObjectName(QStringLiteral(
"gridLayout_s"));
365 payToLabel_s->setObjectName(QStringLiteral(
"payToLabel_s"));
366 payToLabel_s->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
372 payToLayout_s->setObjectName(QStringLiteral(
"payToLayout_s"));
374 payTo_s->setObjectName(QStringLiteral(
"payTo_s"));
375 payTo_s->setTextFormat(Qt::PlainText);
388 memoLabel_s->setObjectName(QStringLiteral(
"memoLabel_s"));
389 memoLabel_s->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
400 amountLabel_s->setObjectName(QStringLiteral(
"amountLabel_s"));
401 amountLabel_s->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
406 payAmount_s->setObjectName(QStringLiteral(
"payAmount_s"));
412 #ifndef QT_NO_SHORTCUT 418 #endif // QT_NO_SHORTCUT 436 #ifndef QT_NO_TOOLTIP 437 SendCoins->setToolTip(QApplication::translate(
"SendCoinsEntry",
"This is a normal payment.", 0));
438 #endif // QT_NO_TOOLTIP 439 payToLabel->setText(QApplication::translate(
"SendCoinsEntry",
"Pay &To:", 0));
440 #ifndef QT_NO_TOOLTIP 441 payTo->setToolTip(QApplication::translate(
"SendCoinsEntry",
"The Dash address to send the payment to", 0));
442 #endif // QT_NO_TOOLTIP 443 #ifndef QT_NO_TOOLTIP 444 addressBookButton->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Choose previously used address", 0));
445 #endif // QT_NO_TOOLTIP 447 addressBookButton->setShortcut(QApplication::translate(
"SendCoinsEntry",
"Alt+A", 0));
448 #ifndef QT_NO_TOOLTIP 449 pasteButton->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Paste address from clipboard", 0));
450 #endif // QT_NO_TOOLTIP 452 pasteButton->setShortcut(QApplication::translate(
"SendCoinsEntry",
"Alt+P", 0));
453 #ifndef QT_NO_TOOLTIP 454 deleteButton->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Remove this entry", 0));
455 #endif // QT_NO_TOOLTIP 457 labellLabel->setText(QApplication::translate(
"SendCoinsEntry",
"&Label:", 0));
458 #ifndef QT_NO_TOOLTIP 459 addAsLabel->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Enter a label for this address to add it to the list of used addresses", 0));
460 #endif // QT_NO_TOOLTIP 461 amountLabel->setText(QApplication::translate(
"SendCoinsEntry",
"A&mount:", 0));
462 #ifndef QT_NO_TOOLTIP 463 checkboxSubtractFeeFromAmount->setToolTip(QApplication::translate(
"SendCoinsEntry",
"The fee will be deducted from the amount being sent. The recipient will receive a lower amount of Dash than you enter in the amount field. If multiple recipients are selected, the fee is split equally.", 0));
464 #endif // QT_NO_TOOLTIP 466 messageLabel->setText(QApplication::translate(
"SendCoinsEntry",
"Message:", 0));
467 #ifndef QT_NO_TOOLTIP 468 messageTextLabel->setToolTip(QApplication::translate(
"SendCoinsEntry",
"A message that was attached to the dash: URI which will be stored with the transaction for your reference. Note: This message will not be sent over the Dash network.", 0));
469 #endif // QT_NO_TOOLTIP 470 #ifndef QT_NO_TOOLTIP 472 #endif // QT_NO_TOOLTIP 473 payToLabel_is->setText(QApplication::translate(
"SendCoinsEntry",
"Pay To:", 0));
474 #ifndef QT_NO_TOOLTIP 475 deleteButton_is->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Remove this entry", 0));
476 #endif // QT_NO_TOOLTIP 478 memoLabel_is->setText(QApplication::translate(
"SendCoinsEntry",
"Memo:", 0));
479 amountLabel_is->setText(QApplication::translate(
"SendCoinsEntry",
"A&mount:", 0));
480 #ifndef QT_NO_TOOLTIP 482 #endif // QT_NO_TOOLTIP 483 payToLabel_s->setText(QApplication::translate(
"SendCoinsEntry",
"Pay To:", 0));
484 #ifndef QT_NO_TOOLTIP 485 deleteButton_s->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Remove this entry", 0));
486 #endif // QT_NO_TOOLTIP 488 memoLabel_s->setText(QApplication::translate(
"SendCoinsEntry",
"Memo:", 0));
489 amountLabel_s->setText(QApplication::translate(
"SendCoinsEntry",
"A&mount:", 0));
501 #endif // UI_SENDCOINSENTRY_H QLabel * messageTextLabel
QValidatedLineEdit * payTo
QHBoxLayout * payToLayout_is
QToolButton * addressBookButton
QToolButton * deleteButton
void setupUi(QStackedWidget *SendCoinsEntry)
QHBoxLayout * payToLayout
BitcoinAmountField * payAmount_is
BitcoinAmountField * payAmount_s
QHBoxLayout * horizontalLayoutAmount
QCheckBox * checkboxSubtractFeeFromAmount
QToolButton * deleteButton_s
QFrame * SendCoins_AuthenticatedPaymentRequest
QFrame * SendCoins_UnauthenticatedPaymentRequest
QGridLayout * gridLayout_s
QToolButton * deleteButton_is
QToolButton * pasteButton
QHBoxLayout * payToLayout_s
QGridLayout * gridLayout_is
BitcoinAmountField * payAmount
void retranslateUi(QStackedWidget *SendCoinsEntry)
QLabel * memoTextLabel_is