9 #ifndef UI_RECEIVEREQUESTDIALOG_H 10 #define UI_RECEIVEREQUESTDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QDialog> 17 #include <QtWidgets/QDialogButtonBox> 18 #include <QtWidgets/QHBoxLayout> 19 #include <QtWidgets/QHeaderView> 20 #include <QtWidgets/QPushButton> 21 #include <QtWidgets/QSpacerItem> 22 #include <QtWidgets/QTextEdit> 23 #include <QtWidgets/QVBoxLayout> 24 #include <QtWidgets/QWidget> 51 if (ReceiveRequestDialog->objectName().isEmpty())
52 ReceiveRequestDialog->setObjectName(QStringLiteral(
"ReceiveRequestDialog"));
53 ReceiveRequestDialog->resize(720, 320);
54 verticalLayout_2 =
new QVBoxLayout(ReceiveRequestDialog);
55 verticalLayout_2->setSpacing(0);
56 verticalLayout_2->setObjectName(QStringLiteral(
"verticalLayout_2"));
57 verticalLayout_2->setContentsMargins(0, 15, 0, 0);
58 verticalLayout =
new QVBoxLayout();
59 verticalLayout->setSpacing(0);
60 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
61 horizontalLayout_3 =
new QHBoxLayout();
62 horizontalLayout_3->setObjectName(QStringLiteral(
"horizontalLayout_3"));
63 horizontalLayout_3->setContentsMargins(10, 0, 30, 0);
65 lblQRCode->setObjectName(QStringLiteral(
"lblQRCode"));
66 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
67 sizePolicy.setHorizontalStretch(0);
68 sizePolicy.setVerticalStretch(0);
69 sizePolicy.setHeightForWidth(lblQRCode->sizePolicy().hasHeightForWidth());
70 lblQRCode->setSizePolicy(sizePolicy);
71 lblQRCode->setMinimumSize(QSize(200, 200));
72 lblQRCode->setMaximumSize(QSize(200, 200));
73 lblQRCode->setTextFormat(Qt::PlainText);
74 lblQRCode->setAlignment(Qt::AlignCenter);
75 lblQRCode->setWordWrap(
true);
77 horizontalLayout_3->addWidget(lblQRCode);
79 verticalLayout_3 =
new QVBoxLayout();
80 verticalLayout_3->setObjectName(QStringLiteral(
"verticalLayout_3"));
81 verticalLayout_3->setContentsMargins(-1, 25, -1, 25);
82 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
84 verticalLayout_3->addItem(verticalSpacer);
86 outUri =
new QTextEdit(ReceiveRequestDialog);
87 outUri->setObjectName(QStringLiteral(
"outUri"));
88 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding);
89 sizePolicy1.setHorizontalStretch(0);
90 sizePolicy1.setVerticalStretch(0);
91 sizePolicy1.setHeightForWidth(outUri->sizePolicy().hasHeightForWidth());
92 outUri->setSizePolicy(sizePolicy1);
93 outUri->setMinimumSize(QSize(0, 50));
94 outUri->setFrameShape(QFrame::NoFrame);
95 outUri->setFrameShadow(QFrame::Plain);
96 outUri->setTabChangesFocus(
true);
97 outUri->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
99 verticalLayout_3->addWidget(outUri);
101 verticalSpacer_2 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
103 verticalLayout_3->addItem(verticalSpacer_2);
106 horizontalLayout_3->addLayout(verticalLayout_3);
109 verticalLayout->addLayout(horizontalLayout_3);
112 verticalLayout_2->addLayout(verticalLayout);
114 buttonsContainerWhite =
new QWidget(ReceiveRequestDialog);
115 buttonsContainerWhite->setObjectName(QStringLiteral(
"buttonsContainerWhite"));
116 verticalLayout_4 =
new QVBoxLayout(buttonsContainerWhite);
117 verticalLayout_4->setObjectName(QStringLiteral(
"verticalLayout_4"));
118 verticalLayout_4->setContentsMargins(30, 15, 30, 15);
119 horizontalLayout =
new QHBoxLayout();
120 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
121 btnCopyURI =
new QPushButton(buttonsContainerWhite);
122 btnCopyURI->setObjectName(QStringLiteral(
"btnCopyURI"));
123 btnCopyURI->setAutoDefault(
false);
125 horizontalLayout->addWidget(btnCopyURI);
127 btnSaveAs =
new QPushButton(buttonsContainerWhite);
128 btnSaveAs->setObjectName(QStringLiteral(
"btnSaveAs"));
129 btnSaveAs->setAutoDefault(
false);
131 horizontalLayout->addWidget(btnSaveAs);
133 btnCopyAddress =
new QPushButton(buttonsContainerWhite);
134 btnCopyAddress->setObjectName(QStringLiteral(
"btnCopyAddress"));
135 btnCopyAddress->setAutoDefault(
false);
137 horizontalLayout->addWidget(btnCopyAddress);
139 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
141 horizontalLayout->addItem(horizontalSpacer);
143 buttonBox =
new QDialogButtonBox(buttonsContainerWhite);
144 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
145 buttonBox->setStyleSheet(QStringLiteral(
""));
146 buttonBox->setStandardButtons(QDialogButtonBox::Close);
148 horizontalLayout->addWidget(buttonBox);
151 verticalLayout_4->addLayout(horizontalLayout);
154 verticalLayout_2->addWidget(buttonsContainerWhite);
158 QObject::connect(buttonBox, SIGNAL(rejected()), ReceiveRequestDialog, SLOT(reject()));
159 QObject::connect(buttonBox, SIGNAL(accepted()), ReceiveRequestDialog, SLOT(accept()));
161 QMetaObject::connectSlotsByName(ReceiveRequestDialog);
166 #ifndef QT_NO_TOOLTIP 167 lblQRCode->setToolTip(QApplication::translate(
"ReceiveRequestDialog",
"QR Code", 0));
168 #endif // QT_NO_TOOLTIP 169 btnCopyURI->setText(QApplication::translate(
"ReceiveRequestDialog",
"Copy &URI", 0));
170 btnSaveAs->setText(QApplication::translate(
"ReceiveRequestDialog",
"&Save Image...", 0));
171 btnCopyAddress->setText(QApplication::translate(
"ReceiveRequestDialog",
"Copy &Address", 0));
172 Q_UNUSED(ReceiveRequestDialog);
183 #endif // UI_RECEIVEREQUESTDIALOG_H QHBoxLayout * horizontalLayout_3
QVBoxLayout * verticalLayout_3
QPushButton * btnCopyAddress
void retranslateUi(QDialog *ReceiveRequestDialog)
QVBoxLayout * verticalLayout_4
QHBoxLayout * horizontalLayout
void setupUi(QDialog *ReceiveRequestDialog)
QSpacerItem * horizontalSpacer
QSpacerItem * verticalSpacer
QVBoxLayout * verticalLayout
QDialogButtonBox * buttonBox
QRImageWidget * lblQRCode
QSpacerItem * verticalSpacer_2
QWidget * buttonsContainerWhite
QVBoxLayout * verticalLayout_2