Anoncoin  0.9.4
P2P Digital Currency
ui_receivecoinsdialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'receivecoinsdialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.2.1
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 <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/QPushButton>
24 #include <QtWidgets/QSpacerItem>
25 #include <QtWidgets/QTableView>
26 #include <QtWidgets/QVBoxLayout>
27 #include <QtWidgets/QWidget>
28 #include "anoncoinamountfield.h"
29 
30 QT_BEGIN_NAMESPACE
31 
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;
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  void setupUi(QWidget *ReceiveCoinsDialog)
64  {
65  if (ReceiveCoinsDialog->objectName().isEmpty())
66  ReceiveCoinsDialog->setObjectName(QStringLiteral("ReceiveCoinsDialog"));
67  ReceiveCoinsDialog->resize(776, 364);
68  verticalLayout = new QVBoxLayout(ReceiveCoinsDialog);
69  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
70  frame2 = new QFrame(ReceiveCoinsDialog);
71  frame2->setObjectName(QStringLiteral("frame2"));
72  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
73  sizePolicy.setHorizontalStretch(0);
74  sizePolicy.setVerticalStretch(0);
75  sizePolicy.setHeightForWidth(frame2->sizePolicy().hasHeightForWidth());
76  frame2->setSizePolicy(sizePolicy);
77  frame2->setFrameShape(QFrame::StyledPanel);
78  frame2->setFrameShadow(QFrame::Sunken);
79  verticalLayout_3 = new QVBoxLayout(frame2);
80  verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
81  gridLayout = new QGridLayout();
82  gridLayout->setObjectName(QStringLiteral("gridLayout"));
83  reuseAddress = new QCheckBox(frame2);
84  reuseAddress->setObjectName(QStringLiteral("reuseAddress"));
85 
86  gridLayout->addWidget(reuseAddress, 7, 2, 1, 1);
87 
88  label_4 = new QLabel(frame2);
89  label_4->setObjectName(QStringLiteral("label_4"));
90 
91  gridLayout->addWidget(label_4, 7, 0, 1, 1);
92 
93  label_3 = new QLabel(frame2);
94  label_3->setObjectName(QStringLiteral("label_3"));
95  label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
96 
97  gridLayout->addWidget(label_3, 6, 0, 1, 1);
98 
99  reqLabel = new QLineEdit(frame2);
100  reqLabel->setObjectName(QStringLiteral("reqLabel"));
101 
102  gridLayout->addWidget(reqLabel, 4, 2, 1, 1);
103 
104  reqMessage = new QLineEdit(frame2);
105  reqMessage->setObjectName(QStringLiteral("reqMessage"));
106 
107  gridLayout->addWidget(reqMessage, 6, 2, 1, 1);
108 
109  label_5 = new QLabel(frame2);
110  label_5->setObjectName(QStringLiteral("label_5"));
111 
112  gridLayout->addWidget(label_5, 2, 2, 1, 1);
113 
114  label_2 = new QLabel(frame2);
115  label_2->setObjectName(QStringLiteral("label_2"));
116  label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
117 
118  gridLayout->addWidget(label_2, 4, 0, 1, 1);
119 
120  label = new QLabel(frame2);
121  label->setObjectName(QStringLiteral("label"));
122  label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
123 
124  gridLayout->addWidget(label, 5, 0, 1, 1);
125 
126  reqAmount = new AnoncoinAmountField(frame2);
127  reqAmount->setObjectName(QStringLiteral("reqAmount"));
128  reqAmount->setMinimumSize(QSize(80, 0));
129 
130  gridLayout->addWidget(reqAmount, 5, 2, 1, 1);
131 
132  horizontalLayout = new QHBoxLayout();
133  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
134  receiveButton = new QPushButton(frame2);
135  receiveButton->setObjectName(QStringLiteral("receiveButton"));
136  receiveButton->setMinimumSize(QSize(150, 0));
137  QIcon icon;
138  icon.addFile(QStringLiteral(":/icons/receiving_addresses"), QSize(), QIcon::Normal, QIcon::Off);
139  receiveButton->setIcon(icon);
140 
141  horizontalLayout->addWidget(receiveButton);
142 
143  clearButton = new QPushButton(frame2);
144  clearButton->setObjectName(QStringLiteral("clearButton"));
145  QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
146  sizePolicy1.setHorizontalStretch(0);
147  sizePolicy1.setVerticalStretch(0);
148  sizePolicy1.setHeightForWidth(clearButton->sizePolicy().hasHeightForWidth());
149  clearButton->setSizePolicy(sizePolicy1);
150  QIcon icon1;
151  icon1.addFile(QStringLiteral(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
152  clearButton->setIcon(icon1);
153  clearButton->setAutoRepeatDelay(300);
154  clearButton->setAutoDefault(false);
155 
156  horizontalLayout->addWidget(clearButton);
157 
158  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
159 
160  horizontalLayout->addItem(horizontalSpacer);
161 
162 
163  gridLayout->addLayout(horizontalLayout, 8, 2, 1, 1);
164 
165  label_7 = new QLabel(frame2);
166  label_7->setObjectName(QStringLiteral("label_7"));
167 
168  gridLayout->addWidget(label_7, 8, 0, 1, 1);
169 
170 
171  verticalLayout_3->addLayout(gridLayout);
172 
173 
174  verticalLayout->addWidget(frame2);
175 
176  verticalSpacer_2 = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Expanding);
177 
178  verticalLayout->addItem(verticalSpacer_2);
179 
180  frame = new QFrame(ReceiveCoinsDialog);
181  frame->setObjectName(QStringLiteral("frame"));
182  sizePolicy.setHeightForWidth(frame->sizePolicy().hasHeightForWidth());
183  frame->setSizePolicy(sizePolicy);
184  frame->setFrameShape(QFrame::StyledPanel);
185  frame->setFrameShadow(QFrame::Raised);
186  verticalLayout_2 = new QVBoxLayout(frame);
187  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
188  label_6 = new QLabel(frame);
189  label_6->setObjectName(QStringLiteral("label_6"));
190  QFont font;
191  font.setBold(true);
192  font.setWeight(75);
193  label_6->setFont(font);
194 
195  verticalLayout_2->addWidget(label_6);
196 
197  recentRequestsView = new QTableView(frame);
198  recentRequestsView->setObjectName(QStringLiteral("recentRequestsView"));
199  recentRequestsView->setContextMenuPolicy(Qt::CustomContextMenu);
200  recentRequestsView->setTabKeyNavigation(false);
201  recentRequestsView->setSortingEnabled(true);
202 
203  verticalLayout_2->addWidget(recentRequestsView);
204 
205  horizontalLayout_2 = new QHBoxLayout();
206  horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
207  showRequestButton = new QPushButton(frame);
208  showRequestButton->setObjectName(QStringLiteral("showRequestButton"));
209  showRequestButton->setEnabled(false);
210  QIcon icon2;
211  icon2.addFile(QStringLiteral(":/icons/edit"), QSize(), QIcon::Normal, QIcon::Off);
212  showRequestButton->setIcon(icon2);
213 
214  horizontalLayout_2->addWidget(showRequestButton);
215 
216  removeRequestButton = new QPushButton(frame);
217  removeRequestButton->setObjectName(QStringLiteral("removeRequestButton"));
218  removeRequestButton->setEnabled(false);
219  removeRequestButton->setIcon(icon1);
220 
221  horizontalLayout_2->addWidget(removeRequestButton);
222 
223  horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
224 
225  horizontalLayout_2->addItem(horizontalSpacer_2);
226 
227 
228  verticalLayout_2->addLayout(horizontalLayout_2);
229 
230 
231  verticalLayout->addWidget(frame);
232 
233  verticalLayout->setStretch(2, 1);
234 #ifndef QT_NO_SHORTCUT
235  label_3->setBuddy(reqMessage);
236  label_2->setBuddy(reqLabel);
237  label->setBuddy(reqAmount);
238 #endif // QT_NO_SHORTCUT
239  QWidget::setTabOrder(reqLabel, reqAmount);
240  QWidget::setTabOrder(reqAmount, reqMessage);
241  QWidget::setTabOrder(reqMessage, reuseAddress);
242  QWidget::setTabOrder(reuseAddress, receiveButton);
243  QWidget::setTabOrder(receiveButton, clearButton);
244  QWidget::setTabOrder(clearButton, recentRequestsView);
245  QWidget::setTabOrder(recentRequestsView, showRequestButton);
246  QWidget::setTabOrder(showRequestButton, removeRequestButton);
247 
248  retranslateUi(ReceiveCoinsDialog);
249 
250  QMetaObject::connectSlotsByName(ReceiveCoinsDialog);
251  } // setupUi
252 
254  {
255 #ifndef QT_NO_TOOLTIP
256  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));
257 #endif // QT_NO_TOOLTIP
258  reuseAddress->setText(QApplication::translate("ReceiveCoinsDialog", "R&euse an existing receiving address (not recommended)", 0));
259  label_4->setText(QString());
260 #ifndef QT_NO_TOOLTIP
261  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 Anoncoin network.", 0));
262 #endif // QT_NO_TOOLTIP
263  label_3->setText(QApplication::translate("ReceiveCoinsDialog", "&Message:", 0));
264 #ifndef QT_NO_TOOLTIP
265  reqLabel->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional label to associate with the new receiving address.", 0));
266 #endif // QT_NO_TOOLTIP
267 #ifndef QT_NO_TOOLTIP
268  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 Anoncoin network.", 0));
269 #endif // QT_NO_TOOLTIP
270  label_5->setText(QApplication::translate("ReceiveCoinsDialog", "Use this form to request payments. All fields are <b>optional</b>.", 0));
271 #ifndef QT_NO_TOOLTIP
272  label_2->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional label to associate with the new receiving address.", 0));
273 #endif // QT_NO_TOOLTIP
274  label_2->setText(QApplication::translate("ReceiveCoinsDialog", "&Label:", 0));
275 #ifndef QT_NO_TOOLTIP
276  label->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional amount to request. Leave this empty or zero to not request a specific amount.", 0));
277 #endif // QT_NO_TOOLTIP
278  label->setText(QApplication::translate("ReceiveCoinsDialog", "&Amount:", 0));
279 #ifndef QT_NO_TOOLTIP
280  reqAmount->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional amount to request. Leave this empty or zero to not request a specific amount.", 0));
281 #endif // QT_NO_TOOLTIP
282  receiveButton->setText(QApplication::translate("ReceiveCoinsDialog", "&Request payment", 0));
283 #ifndef QT_NO_TOOLTIP
284  clearButton->setToolTip(QApplication::translate("ReceiveCoinsDialog", "Clear all fields of the form.", 0));
285 #endif // QT_NO_TOOLTIP
286  clearButton->setText(QApplication::translate("ReceiveCoinsDialog", "Clear", 0));
287  label_7->setText(QString());
288  label_6->setText(QApplication::translate("ReceiveCoinsDialog", "Requested payments history", 0));
289 #ifndef QT_NO_TOOLTIP
290  showRequestButton->setToolTip(QApplication::translate("ReceiveCoinsDialog", "Show the selected request (does the same as double clicking an entry)", 0));
291 #endif // QT_NO_TOOLTIP
292  showRequestButton->setText(QApplication::translate("ReceiveCoinsDialog", "Show", 0));
293 #ifndef QT_NO_TOOLTIP
294  removeRequestButton->setToolTip(QApplication::translate("ReceiveCoinsDialog", "Remove the selected entries from the list", 0));
295 #endif // QT_NO_TOOLTIP
296  removeRequestButton->setText(QApplication::translate("ReceiveCoinsDialog", "Remove", 0));
297  Q_UNUSED(ReceiveCoinsDialog);
298  } // retranslateUi
299 
300 };
301 
302 namespace Ui {
304 } // namespace Ui
305 
306 QT_END_NAMESPACE
307 
308 #endif // UI_RECEIVECOINSDIALOG_H
void setText(const QString &text)
Dialog for requesting payment of anoncoins.
Widget for entering anoncoin amounts.
AnoncoinAmountField * reqAmount
void retranslateUi(QWidget *ReceiveCoinsDialog)
void setupUi(QWidget *ReceiveCoinsDialog)