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