Line data Source code
1 : /********************************************************************************
2 : ** Form generated from reading UI file 'receivecoinsdialog.ui'
3 : **
4 : ** Created by: Qt User Interface Compiler version 4.8.6
5 : **
6 : ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 : ********************************************************************************/
8 :
9 : #ifndef UI_RECEIVECOINSDIALOG_H
10 : #define UI_RECEIVECOINSDIALOG_H
11 :
12 : #include <QtCore/QVariant>
13 : #include <QtGui/QAction>
14 : #include <QtGui/QApplication>
15 : #include <QtGui/QButtonGroup>
16 : #include <QtGui/QCheckBox>
17 : #include <QtGui/QFrame>
18 : #include <QtGui/QGridLayout>
19 : #include <QtGui/QHBoxLayout>
20 : #include <QtGui/QHeaderView>
21 : #include <QtGui/QLabel>
22 : #include <QtGui/QLineEdit>
23 : #include <QtGui/QPushButton>
24 : #include <QtGui/QSpacerItem>
25 : #include <QtGui/QTableView>
26 : #include <QtGui/QVBoxLayout>
27 : #include <QtGui/QWidget>
28 : #include "bitcoinamountfield.h"
29 :
30 : QT_BEGIN_NAMESPACE
31 :
32 : class Ui_ReceiveCoinsDialog
33 : {
34 : public:
35 : QVBoxLayout *verticalLayout;
36 : QFrame *frame2;
37 : QVBoxLayout *verticalLayout_3;
38 : QGridLayout *gridLayout;
39 : QCheckBox *reuseAddress;
40 : QLabel *label_4;
41 : QLabel *label_3;
42 : QLineEdit *reqLabel;
43 : QLineEdit *reqMessage;
44 : QLabel *label_5;
45 : QLabel *label_2;
46 : QLabel *label;
47 : BitcoinAmountField *reqAmount;
48 : QHBoxLayout *horizontalLayout;
49 : QPushButton *receiveButton;
50 : QPushButton *clearButton;
51 : QSpacerItem *horizontalSpacer;
52 : QLabel *label_7;
53 : QSpacerItem *verticalSpacer_2;
54 : QFrame *frame;
55 : QVBoxLayout *verticalLayout_2;
56 : QLabel *label_6;
57 : QTableView *recentRequestsView;
58 : QHBoxLayout *horizontalLayout_2;
59 : QPushButton *showRequestButton;
60 : QPushButton *removeRequestButton;
61 : QSpacerItem *horizontalSpacer_2;
62 :
63 0 : void setupUi(QWidget *ReceiveCoinsDialog)
64 : {
65 0 : if (ReceiveCoinsDialog->objectName().isEmpty())
66 0 : ReceiveCoinsDialog->setObjectName(QString::fromUtf8("ReceiveCoinsDialog"));
67 : ReceiveCoinsDialog->resize(776, 364);
68 0 : verticalLayout = new QVBoxLayout(ReceiveCoinsDialog);
69 0 : verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
70 0 : frame2 = new QFrame(ReceiveCoinsDialog);
71 0 : frame2->setObjectName(QString::fromUtf8("frame2"));
72 : QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
73 : sizePolicy.setHorizontalStretch(0);
74 : sizePolicy.setVerticalStretch(0);
75 0 : sizePolicy.setHeightForWidth(frame2->sizePolicy().hasHeightForWidth());
76 0 : frame2->setSizePolicy(sizePolicy);
77 0 : frame2->setFrameShape(QFrame::StyledPanel);
78 0 : frame2->setFrameShadow(QFrame::Sunken);
79 0 : verticalLayout_3 = new QVBoxLayout(frame2);
80 0 : verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
81 0 : gridLayout = new QGridLayout();
82 0 : gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
83 0 : reuseAddress = new QCheckBox(frame2);
84 0 : reuseAddress->setObjectName(QString::fromUtf8("reuseAddress"));
85 :
86 0 : gridLayout->addWidget(reuseAddress, 7, 2, 1, 1);
87 :
88 0 : label_4 = new QLabel(frame2);
89 0 : label_4->setObjectName(QString::fromUtf8("label_4"));
90 :
91 0 : gridLayout->addWidget(label_4, 7, 0, 1, 1);
92 :
93 0 : label_3 = new QLabel(frame2);
94 0 : label_3->setObjectName(QString::fromUtf8("label_3"));
95 0 : label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
96 :
97 0 : gridLayout->addWidget(label_3, 6, 0, 1, 1);
98 :
99 0 : reqLabel = new QLineEdit(frame2);
100 0 : reqLabel->setObjectName(QString::fromUtf8("reqLabel"));
101 :
102 0 : gridLayout->addWidget(reqLabel, 4, 2, 1, 1);
103 :
104 0 : reqMessage = new QLineEdit(frame2);
105 0 : reqMessage->setObjectName(QString::fromUtf8("reqMessage"));
106 :
107 0 : gridLayout->addWidget(reqMessage, 6, 2, 1, 1);
108 :
109 0 : label_5 = new QLabel(frame2);
110 0 : label_5->setObjectName(QString::fromUtf8("label_5"));
111 :
112 0 : gridLayout->addWidget(label_5, 2, 2, 1, 1);
113 :
114 0 : label_2 = new QLabel(frame2);
115 0 : label_2->setObjectName(QString::fromUtf8("label_2"));
116 0 : label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
117 :
118 0 : gridLayout->addWidget(label_2, 4, 0, 1, 1);
119 :
120 0 : label = new QLabel(frame2);
121 0 : label->setObjectName(QString::fromUtf8("label"));
122 0 : label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
123 :
124 0 : gridLayout->addWidget(label, 5, 0, 1, 1);
125 :
126 0 : reqAmount = new BitcoinAmountField(frame2);
127 0 : reqAmount->setObjectName(QString::fromUtf8("reqAmount"));
128 0 : reqAmount->setMinimumSize(QSize(80, 0));
129 :
130 0 : gridLayout->addWidget(reqAmount, 5, 2, 1, 1);
131 :
132 0 : horizontalLayout = new QHBoxLayout();
133 0 : horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
134 0 : receiveButton = new QPushButton(frame2);
135 0 : receiveButton->setObjectName(QString::fromUtf8("receiveButton"));
136 0 : receiveButton->setMinimumSize(QSize(150, 0));
137 0 : QIcon icon;
138 0 : icon.addFile(QString::fromUtf8(":/icons/receiving_addresses"), QSize(), QIcon::Normal, QIcon::Off);
139 0 : receiveButton->setIcon(icon);
140 :
141 0 : horizontalLayout->addWidget(receiveButton);
142 :
143 0 : clearButton = new QPushButton(frame2);
144 0 : clearButton->setObjectName(QString::fromUtf8("clearButton"));
145 : QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
146 : sizePolicy1.setHorizontalStretch(0);
147 : sizePolicy1.setVerticalStretch(0);
148 0 : sizePolicy1.setHeightForWidth(clearButton->sizePolicy().hasHeightForWidth());
149 0 : clearButton->setSizePolicy(sizePolicy1);
150 0 : QIcon icon1;
151 0 : icon1.addFile(QString::fromUtf8(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
152 0 : clearButton->setIcon(icon1);
153 0 : clearButton->setAutoDefault(false);
154 :
155 0 : horizontalLayout->addWidget(clearButton);
156 :
157 0 : horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
158 :
159 0 : horizontalLayout->addItem(horizontalSpacer);
160 :
161 :
162 0 : gridLayout->addLayout(horizontalLayout, 8, 2, 1, 1);
163 :
164 0 : label_7 = new QLabel(frame2);
165 0 : label_7->setObjectName(QString::fromUtf8("label_7"));
166 :
167 0 : gridLayout->addWidget(label_7, 8, 0, 1, 1);
168 :
169 :
170 0 : verticalLayout_3->addLayout(gridLayout);
171 :
172 :
173 0 : verticalLayout->addWidget(frame2);
174 :
175 0 : verticalSpacer_2 = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Expanding);
176 :
177 0 : verticalLayout->addItem(verticalSpacer_2);
178 :
179 0 : frame = new QFrame(ReceiveCoinsDialog);
180 0 : frame->setObjectName(QString::fromUtf8("frame"));
181 0 : sizePolicy.setHeightForWidth(frame->sizePolicy().hasHeightForWidth());
182 0 : frame->setSizePolicy(sizePolicy);
183 0 : frame->setFrameShape(QFrame::StyledPanel);
184 0 : frame->setFrameShadow(QFrame::Raised);
185 0 : verticalLayout_2 = new QVBoxLayout(frame);
186 0 : verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
187 0 : label_6 = new QLabel(frame);
188 0 : label_6->setObjectName(QString::fromUtf8("label_6"));
189 0 : QFont font;
190 : font.setBold(true);
191 0 : font.setWeight(75);
192 0 : label_6->setFont(font);
193 :
194 0 : verticalLayout_2->addWidget(label_6);
195 :
196 0 : recentRequestsView = new QTableView(frame);
197 0 : recentRequestsView->setObjectName(QString::fromUtf8("recentRequestsView"));
198 0 : recentRequestsView->setContextMenuPolicy(Qt::CustomContextMenu);
199 0 : recentRequestsView->setTabKeyNavigation(false);
200 0 : recentRequestsView->setSortingEnabled(true);
201 :
202 0 : verticalLayout_2->addWidget(recentRequestsView);
203 :
204 0 : horizontalLayout_2 = new QHBoxLayout();
205 0 : horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
206 0 : showRequestButton = new QPushButton(frame);
207 0 : showRequestButton->setObjectName(QString::fromUtf8("showRequestButton"));
208 0 : showRequestButton->setEnabled(false);
209 0 : QIcon icon2;
210 0 : icon2.addFile(QString::fromUtf8(":/icons/edit"), QSize(), QIcon::Normal, QIcon::Off);
211 0 : showRequestButton->setIcon(icon2);
212 0 : showRequestButton->setAutoDefault(false);
213 :
214 0 : horizontalLayout_2->addWidget(showRequestButton);
215 :
216 0 : removeRequestButton = new QPushButton(frame);
217 0 : removeRequestButton->setObjectName(QString::fromUtf8("removeRequestButton"));
218 0 : removeRequestButton->setEnabled(false);
219 0 : removeRequestButton->setIcon(icon1);
220 0 : removeRequestButton->setAutoDefault(false);
221 :
222 0 : horizontalLayout_2->addWidget(removeRequestButton);
223 :
224 0 : horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
225 :
226 0 : horizontalLayout_2->addItem(horizontalSpacer_2);
227 :
228 :
229 0 : verticalLayout_2->addLayout(horizontalLayout_2);
230 :
231 :
232 0 : verticalLayout->addWidget(frame);
233 :
234 0 : verticalLayout->setStretch(2, 1);
235 : #ifndef QT_NO_SHORTCUT
236 0 : label_3->setBuddy(reqMessage);
237 0 : label_2->setBuddy(reqLabel);
238 0 : label->setBuddy(reqAmount);
239 : #endif // QT_NO_SHORTCUT
240 0 : QWidget::setTabOrder(reqLabel, reqAmount);
241 0 : QWidget::setTabOrder(reqAmount, reqMessage);
242 0 : QWidget::setTabOrder(reqMessage, reuseAddress);
243 0 : QWidget::setTabOrder(reuseAddress, receiveButton);
244 0 : QWidget::setTabOrder(receiveButton, clearButton);
245 0 : QWidget::setTabOrder(clearButton, recentRequestsView);
246 0 : QWidget::setTabOrder(recentRequestsView, showRequestButton);
247 0 : QWidget::setTabOrder(showRequestButton, removeRequestButton);
248 :
249 0 : retranslateUi(ReceiveCoinsDialog);
250 :
251 0 : QMetaObject::connectSlotsByName(ReceiveCoinsDialog);
252 0 : } // setupUi
253 :
254 0 : void retranslateUi(QWidget *ReceiveCoinsDialog)
255 : {
256 : #ifndef QT_NO_TOOLTIP
257 0 : reuseAddress->setToolTip(QApplication::translate("ReceiveCoinsDialog", "Reuse one of the previously used receiving addresses. Reusing addresses has security and privacy issues. Do not use this unless re-generating a payment request made before.", 0, QApplication::UnicodeUTF8));
258 : #endif // QT_NO_TOOLTIP
259 0 : reuseAddress->setText(QApplication::translate("ReceiveCoinsDialog", "R&euse an existing receiving address (not recommended)", 0, QApplication::UnicodeUTF8));
260 0 : label_4->setText(QString());
261 : #ifndef QT_NO_TOOLTIP
262 0 : label_3->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional message to attach to the payment request, which will be displayed when the request is opened. Note: The message will not be sent with the payment over the Bitcoin network.", 0, QApplication::UnicodeUTF8));
263 : #endif // QT_NO_TOOLTIP
264 0 : label_3->setText(QApplication::translate("ReceiveCoinsDialog", "&Message:", 0, QApplication::UnicodeUTF8));
265 : #ifndef QT_NO_TOOLTIP
266 0 : reqLabel->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional label to associate with the new receiving address.", 0, QApplication::UnicodeUTF8));
267 : #endif // QT_NO_TOOLTIP
268 : #ifndef QT_NO_TOOLTIP
269 0 : reqMessage->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional message to attach to the payment request, which will be displayed when the request is opened. Note: The message will not be sent with the payment over the Bitcoin network.", 0, QApplication::UnicodeUTF8));
270 : #endif // QT_NO_TOOLTIP
271 0 : label_5->setText(QApplication::translate("ReceiveCoinsDialog", "Use this form to request payments. All fields are <b>optional</b>.", 0, QApplication::UnicodeUTF8));
272 : #ifndef QT_NO_TOOLTIP
273 0 : label_2->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional label to associate with the new receiving address.", 0, QApplication::UnicodeUTF8));
274 : #endif // QT_NO_TOOLTIP
275 0 : label_2->setText(QApplication::translate("ReceiveCoinsDialog", "&Label:", 0, QApplication::UnicodeUTF8));
276 : #ifndef QT_NO_TOOLTIP
277 0 : label->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional amount to request. Leave this empty or zero to not request a specific amount.", 0, QApplication::UnicodeUTF8));
278 : #endif // QT_NO_TOOLTIP
279 0 : label->setText(QApplication::translate("ReceiveCoinsDialog", "&Amount:", 0, QApplication::UnicodeUTF8));
280 : #ifndef QT_NO_TOOLTIP
281 0 : reqAmount->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional amount to request. Leave this empty or zero to not request a specific amount.", 0, QApplication::UnicodeUTF8));
282 : #endif // QT_NO_TOOLTIP
283 0 : receiveButton->setText(QApplication::translate("ReceiveCoinsDialog", "&Request payment", 0, QApplication::UnicodeUTF8));
284 : #ifndef QT_NO_TOOLTIP
285 0 : clearButton->setToolTip(QApplication::translate("ReceiveCoinsDialog", "Clear all fields of the form.", 0, QApplication::UnicodeUTF8));
286 : #endif // QT_NO_TOOLTIP
287 0 : clearButton->setText(QApplication::translate("ReceiveCoinsDialog", "Clear", 0, QApplication::UnicodeUTF8));
288 0 : label_7->setText(QString());
289 0 : label_6->setText(QApplication::translate("ReceiveCoinsDialog", "Requested payments history", 0, QApplication::UnicodeUTF8));
290 : #ifndef QT_NO_TOOLTIP
291 0 : showRequestButton->setToolTip(QApplication::translate("ReceiveCoinsDialog", "Show the selected request (does the same as double clicking an entry)", 0, QApplication::UnicodeUTF8));
292 : #endif // QT_NO_TOOLTIP
293 0 : showRequestButton->setText(QApplication::translate("ReceiveCoinsDialog", "Show", 0, QApplication::UnicodeUTF8));
294 : #ifndef QT_NO_TOOLTIP
295 0 : removeRequestButton->setToolTip(QApplication::translate("ReceiveCoinsDialog", "Remove the selected entries from the list", 0, QApplication::UnicodeUTF8));
296 : #endif // QT_NO_TOOLTIP
297 0 : removeRequestButton->setText(QApplication::translate("ReceiveCoinsDialog", "Remove", 0, QApplication::UnicodeUTF8));
298 : Q_UNUSED(ReceiveCoinsDialog);
299 0 : } // retranslateUi
300 :
301 : };
302 :
303 : namespace Ui {
304 : class ReceiveCoinsDialog: public Ui_ReceiveCoinsDialog {};
305 : } // namespace Ui
306 :
307 : QT_END_NAMESPACE
308 :
309 : #endif // UI_RECEIVECOINSDIALOG_H
|