Line data Source code
1 : /********************************************************************************
2 : ** Form generated from reading UI file 'coincontroldialog.ui'
3 : **
4 : ** Created by: Qt User Interface Compiler version 5.15.0
5 : **
6 : ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 : ********************************************************************************/
8 :
9 : #ifndef UI_COINCONTROLDIALOG_H
10 : #define UI_COINCONTROLDIALOG_H
11 :
12 : #include <QtCore/QVariant>
13 : #include <QtWidgets/QApplication>
14 : #include <QtWidgets/QDialog>
15 : #include <QtWidgets/QDialogButtonBox>
16 : #include <QtWidgets/QFormLayout>
17 : #include <QtWidgets/QFrame>
18 : #include <QtWidgets/QHBoxLayout>
19 : #include <QtWidgets/QHeaderView>
20 : #include <QtWidgets/QLabel>
21 : #include <QtWidgets/QPushButton>
22 : #include <QtWidgets/QRadioButton>
23 : #include <QtWidgets/QSpacerItem>
24 : #include <QtWidgets/QVBoxLayout>
25 : #include "qt/coincontroltreewidget.h"
26 :
27 : QT_BEGIN_NAMESPACE
28 :
29 : class Ui_CoinControlDialog
30 : {
31 : public:
32 : QVBoxLayout *verticalLayout;
33 : QHBoxLayout *horizontalLayoutTop;
34 : QFormLayout *formLayoutCoinControl1;
35 : QLabel *labelCoinControlQuantityText;
36 : QLabel *labelCoinControlQuantity;
37 : QLabel *labelCoinControlBytesText;
38 : QLabel *labelCoinControlBytes;
39 : QFormLayout *formLayoutCoinControl2;
40 : QLabel *labelCoinControlAmountText;
41 : QLabel *labelCoinControlAmount;
42 : QLabel *labelCoinControlLowOutputText;
43 : QLabel *labelCoinControlLowOutput;
44 : QFormLayout *formLayoutCoinControl3;
45 : QLabel *labelCoinControlFeeText;
46 : QLabel *labelCoinControlFee;
47 : QFormLayout *formLayoutCoinControl4;
48 : QLabel *labelCoinControlAfterFeeText;
49 : QLabel *labelCoinControlAfterFee;
50 : QLabel *labelCoinControlChangeText;
51 : QLabel *labelCoinControlChange;
52 : QFrame *frame;
53 : QHBoxLayout *horizontalLayout;
54 : QHBoxLayout *horizontalLayoutPanel;
55 : QPushButton *pushButtonSelectAll;
56 : QRadioButton *radioTreeMode;
57 : QRadioButton *radioListMode;
58 : QLabel *labelLocked;
59 : QSpacerItem *horizontalSpacer;
60 : CoinControlTreeWidget *treeWidget;
61 : QDialogButtonBox *buttonBox;
62 :
63 0 : void setupUi(QDialog *CoinControlDialog)
64 : {
65 0 : if (CoinControlDialog->objectName().isEmpty())
66 0 : CoinControlDialog->setObjectName(QString::fromUtf8("CoinControlDialog"));
67 0 : CoinControlDialog->resize(1000, 500);
68 0 : verticalLayout = new QVBoxLayout(CoinControlDialog);
69 0 : verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
70 0 : horizontalLayoutTop = new QHBoxLayout();
71 0 : horizontalLayoutTop->setObjectName(QString::fromUtf8("horizontalLayoutTop"));
72 0 : horizontalLayoutTop->setContentsMargins(-1, 0, -1, 10);
73 0 : formLayoutCoinControl1 = new QFormLayout();
74 0 : formLayoutCoinControl1->setObjectName(QString::fromUtf8("formLayoutCoinControl1"));
75 0 : formLayoutCoinControl1->setHorizontalSpacing(10);
76 0 : formLayoutCoinControl1->setVerticalSpacing(10);
77 0 : formLayoutCoinControl1->setContentsMargins(6, -1, 6, -1);
78 0 : labelCoinControlQuantityText = new QLabel(CoinControlDialog);
79 0 : labelCoinControlQuantityText->setObjectName(QString::fromUtf8("labelCoinControlQuantityText"));
80 0 : QFont font;
81 0 : font.setBold(true);
82 0 : font.setWeight(75);
83 0 : labelCoinControlQuantityText->setFont(font);
84 :
85 0 : formLayoutCoinControl1->setWidget(0, QFormLayout::LabelRole, labelCoinControlQuantityText);
86 :
87 0 : labelCoinControlQuantity = new QLabel(CoinControlDialog);
88 0 : labelCoinControlQuantity->setObjectName(QString::fromUtf8("labelCoinControlQuantity"));
89 0 : labelCoinControlQuantity->setCursor(QCursor(Qt::IBeamCursor));
90 0 : labelCoinControlQuantity->setContextMenuPolicy(Qt::ActionsContextMenu);
91 0 : labelCoinControlQuantity->setText(QString::fromUtf8("0"));
92 0 : labelCoinControlQuantity->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
93 :
94 0 : formLayoutCoinControl1->setWidget(0, QFormLayout::FieldRole, labelCoinControlQuantity);
95 :
96 0 : labelCoinControlBytesText = new QLabel(CoinControlDialog);
97 0 : labelCoinControlBytesText->setObjectName(QString::fromUtf8("labelCoinControlBytesText"));
98 0 : labelCoinControlBytesText->setFont(font);
99 :
100 0 : formLayoutCoinControl1->setWidget(1, QFormLayout::LabelRole, labelCoinControlBytesText);
101 :
102 0 : labelCoinControlBytes = new QLabel(CoinControlDialog);
103 0 : labelCoinControlBytes->setObjectName(QString::fromUtf8("labelCoinControlBytes"));
104 0 : labelCoinControlBytes->setCursor(QCursor(Qt::IBeamCursor));
105 0 : labelCoinControlBytes->setContextMenuPolicy(Qt::ActionsContextMenu);
106 0 : labelCoinControlBytes->setText(QString::fromUtf8("0"));
107 0 : labelCoinControlBytes->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
108 :
109 0 : formLayoutCoinControl1->setWidget(1, QFormLayout::FieldRole, labelCoinControlBytes);
110 :
111 :
112 0 : horizontalLayoutTop->addLayout(formLayoutCoinControl1);
113 :
114 0 : formLayoutCoinControl2 = new QFormLayout();
115 0 : formLayoutCoinControl2->setObjectName(QString::fromUtf8("formLayoutCoinControl2"));
116 0 : formLayoutCoinControl2->setHorizontalSpacing(10);
117 0 : formLayoutCoinControl2->setVerticalSpacing(10);
118 0 : formLayoutCoinControl2->setContentsMargins(6, -1, 6, -1);
119 0 : labelCoinControlAmountText = new QLabel(CoinControlDialog);
120 0 : labelCoinControlAmountText->setObjectName(QString::fromUtf8("labelCoinControlAmountText"));
121 0 : labelCoinControlAmountText->setFont(font);
122 :
123 0 : formLayoutCoinControl2->setWidget(0, QFormLayout::LabelRole, labelCoinControlAmountText);
124 :
125 0 : labelCoinControlAmount = new QLabel(CoinControlDialog);
126 0 : labelCoinControlAmount->setObjectName(QString::fromUtf8("labelCoinControlAmount"));
127 0 : labelCoinControlAmount->setCursor(QCursor(Qt::IBeamCursor));
128 0 : labelCoinControlAmount->setContextMenuPolicy(Qt::ActionsContextMenu);
129 0 : labelCoinControlAmount->setText(QString::fromUtf8("0.00 BTC"));
130 0 : labelCoinControlAmount->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
131 :
132 0 : formLayoutCoinControl2->setWidget(0, QFormLayout::FieldRole, labelCoinControlAmount);
133 :
134 0 : labelCoinControlLowOutputText = new QLabel(CoinControlDialog);
135 0 : labelCoinControlLowOutputText->setObjectName(QString::fromUtf8("labelCoinControlLowOutputText"));
136 0 : labelCoinControlLowOutputText->setEnabled(false);
137 0 : labelCoinControlLowOutputText->setFont(font);
138 :
139 0 : formLayoutCoinControl2->setWidget(1, QFormLayout::LabelRole, labelCoinControlLowOutputText);
140 :
141 0 : labelCoinControlLowOutput = new QLabel(CoinControlDialog);
142 0 : labelCoinControlLowOutput->setObjectName(QString::fromUtf8("labelCoinControlLowOutput"));
143 0 : labelCoinControlLowOutput->setEnabled(false);
144 0 : labelCoinControlLowOutput->setCursor(QCursor(Qt::IBeamCursor));
145 0 : labelCoinControlLowOutput->setContextMenuPolicy(Qt::ActionsContextMenu);
146 0 : labelCoinControlLowOutput->setText(QString::fromUtf8("no"));
147 0 : labelCoinControlLowOutput->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
148 :
149 0 : formLayoutCoinControl2->setWidget(1, QFormLayout::FieldRole, labelCoinControlLowOutput);
150 :
151 :
152 0 : horizontalLayoutTop->addLayout(formLayoutCoinControl2);
153 :
154 0 : formLayoutCoinControl3 = new QFormLayout();
155 0 : formLayoutCoinControl3->setObjectName(QString::fromUtf8("formLayoutCoinControl3"));
156 0 : formLayoutCoinControl3->setHorizontalSpacing(10);
157 0 : formLayoutCoinControl3->setVerticalSpacing(10);
158 0 : formLayoutCoinControl3->setContentsMargins(6, -1, 6, -1);
159 0 : labelCoinControlFeeText = new QLabel(CoinControlDialog);
160 0 : labelCoinControlFeeText->setObjectName(QString::fromUtf8("labelCoinControlFeeText"));
161 0 : labelCoinControlFeeText->setFont(font);
162 :
163 0 : formLayoutCoinControl3->setWidget(0, QFormLayout::LabelRole, labelCoinControlFeeText);
164 :
165 0 : labelCoinControlFee = new QLabel(CoinControlDialog);
166 0 : labelCoinControlFee->setObjectName(QString::fromUtf8("labelCoinControlFee"));
167 0 : labelCoinControlFee->setCursor(QCursor(Qt::IBeamCursor));
168 0 : labelCoinControlFee->setContextMenuPolicy(Qt::ActionsContextMenu);
169 0 : labelCoinControlFee->setText(QString::fromUtf8("0.00 BTC"));
170 0 : labelCoinControlFee->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
171 :
172 0 : formLayoutCoinControl3->setWidget(0, QFormLayout::FieldRole, labelCoinControlFee);
173 :
174 :
175 0 : horizontalLayoutTop->addLayout(formLayoutCoinControl3);
176 :
177 0 : formLayoutCoinControl4 = new QFormLayout();
178 0 : formLayoutCoinControl4->setObjectName(QString::fromUtf8("formLayoutCoinControl4"));
179 0 : formLayoutCoinControl4->setHorizontalSpacing(10);
180 0 : formLayoutCoinControl4->setVerticalSpacing(10);
181 0 : formLayoutCoinControl4->setContentsMargins(6, -1, 6, -1);
182 0 : labelCoinControlAfterFeeText = new QLabel(CoinControlDialog);
183 0 : labelCoinControlAfterFeeText->setObjectName(QString::fromUtf8("labelCoinControlAfterFeeText"));
184 0 : labelCoinControlAfterFeeText->setFont(font);
185 :
186 0 : formLayoutCoinControl4->setWidget(0, QFormLayout::LabelRole, labelCoinControlAfterFeeText);
187 :
188 0 : labelCoinControlAfterFee = new QLabel(CoinControlDialog);
189 0 : labelCoinControlAfterFee->setObjectName(QString::fromUtf8("labelCoinControlAfterFee"));
190 0 : labelCoinControlAfterFee->setCursor(QCursor(Qt::IBeamCursor));
191 0 : labelCoinControlAfterFee->setContextMenuPolicy(Qt::ActionsContextMenu);
192 0 : labelCoinControlAfterFee->setText(QString::fromUtf8("0.00 BTC"));
193 0 : labelCoinControlAfterFee->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
194 :
195 0 : formLayoutCoinControl4->setWidget(0, QFormLayout::FieldRole, labelCoinControlAfterFee);
196 :
197 0 : labelCoinControlChangeText = new QLabel(CoinControlDialog);
198 0 : labelCoinControlChangeText->setObjectName(QString::fromUtf8("labelCoinControlChangeText"));
199 0 : labelCoinControlChangeText->setEnabled(false);
200 0 : labelCoinControlChangeText->setFont(font);
201 :
202 0 : formLayoutCoinControl4->setWidget(1, QFormLayout::LabelRole, labelCoinControlChangeText);
203 :
204 0 : labelCoinControlChange = new QLabel(CoinControlDialog);
205 0 : labelCoinControlChange->setObjectName(QString::fromUtf8("labelCoinControlChange"));
206 0 : labelCoinControlChange->setEnabled(false);
207 0 : labelCoinControlChange->setCursor(QCursor(Qt::IBeamCursor));
208 0 : labelCoinControlChange->setContextMenuPolicy(Qt::ActionsContextMenu);
209 0 : labelCoinControlChange->setText(QString::fromUtf8("0.00 BTC"));
210 0 : labelCoinControlChange->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
211 :
212 0 : formLayoutCoinControl4->setWidget(1, QFormLayout::FieldRole, labelCoinControlChange);
213 :
214 :
215 0 : horizontalLayoutTop->addLayout(formLayoutCoinControl4);
216 :
217 :
218 0 : verticalLayout->addLayout(horizontalLayoutTop);
219 :
220 0 : frame = new QFrame(CoinControlDialog);
221 0 : frame->setObjectName(QString::fromUtf8("frame"));
222 0 : frame->setMinimumSize(QSize(0, 40));
223 0 : frame->setFrameShape(QFrame::StyledPanel);
224 0 : frame->setFrameShadow(QFrame::Sunken);
225 0 : horizontalLayout = new QHBoxLayout(frame);
226 0 : horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
227 0 : horizontalLayoutPanel = new QHBoxLayout();
228 0 : horizontalLayoutPanel->setSpacing(14);
229 0 : horizontalLayoutPanel->setObjectName(QString::fromUtf8("horizontalLayoutPanel"));
230 0 : pushButtonSelectAll = new QPushButton(frame);
231 0 : pushButtonSelectAll->setObjectName(QString::fromUtf8("pushButtonSelectAll"));
232 0 : QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed);
233 0 : sizePolicy.setHorizontalStretch(0);
234 0 : sizePolicy.setVerticalStretch(0);
235 0 : sizePolicy.setHeightForWidth(pushButtonSelectAll->sizePolicy().hasHeightForWidth());
236 0 : pushButtonSelectAll->setSizePolicy(sizePolicy);
237 0 : pushButtonSelectAll->setAutoDefault(false);
238 :
239 0 : horizontalLayoutPanel->addWidget(pushButtonSelectAll);
240 :
241 0 : radioTreeMode = new QRadioButton(frame);
242 0 : radioTreeMode->setObjectName(QString::fromUtf8("radioTreeMode"));
243 0 : sizePolicy.setHeightForWidth(radioTreeMode->sizePolicy().hasHeightForWidth());
244 0 : radioTreeMode->setSizePolicy(sizePolicy);
245 :
246 0 : horizontalLayoutPanel->addWidget(radioTreeMode);
247 :
248 0 : radioListMode = new QRadioButton(frame);
249 0 : radioListMode->setObjectName(QString::fromUtf8("radioListMode"));
250 0 : sizePolicy.setHeightForWidth(radioListMode->sizePolicy().hasHeightForWidth());
251 0 : radioListMode->setSizePolicy(sizePolicy);
252 0 : radioListMode->setChecked(true);
253 :
254 0 : horizontalLayoutPanel->addWidget(radioListMode);
255 :
256 0 : labelLocked = new QLabel(frame);
257 0 : labelLocked->setObjectName(QString::fromUtf8("labelLocked"));
258 0 : labelLocked->setText(QString::fromUtf8("(1 locked)"));
259 :
260 0 : horizontalLayoutPanel->addWidget(labelLocked);
261 :
262 0 : horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
263 :
264 0 : horizontalLayoutPanel->addItem(horizontalSpacer);
265 :
266 :
267 0 : horizontalLayout->addLayout(horizontalLayoutPanel);
268 :
269 :
270 0 : verticalLayout->addWidget(frame);
271 :
272 0 : treeWidget = new CoinControlTreeWidget(CoinControlDialog);
273 0 : treeWidget->headerItem()->setText(0, QString());
274 0 : treeWidget->headerItem()->setText(6, QString());
275 0 : treeWidget->headerItem()->setText(7, QString());
276 0 : treeWidget->headerItem()->setText(8, QString());
277 0 : treeWidget->headerItem()->setText(9, QString());
278 0 : treeWidget->setObjectName(QString::fromUtf8("treeWidget"));
279 0 : treeWidget->setContextMenuPolicy(Qt::CustomContextMenu);
280 0 : treeWidget->setSortingEnabled(false);
281 0 : treeWidget->setColumnCount(6);
282 0 : treeWidget->header()->setProperty("showSortIndicator", QVariant(true));
283 0 : treeWidget->header()->setStretchLastSection(false);
284 :
285 0 : verticalLayout->addWidget(treeWidget);
286 :
287 0 : buttonBox = new QDialogButtonBox(CoinControlDialog);
288 0 : buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
289 0 : buttonBox->setOrientation(Qt::Horizontal);
290 0 : buttonBox->setStandardButtons(QDialogButtonBox::Ok);
291 :
292 0 : verticalLayout->addWidget(buttonBox);
293 :
294 :
295 0 : retranslateUi(CoinControlDialog);
296 :
297 0 : QMetaObject::connectSlotsByName(CoinControlDialog);
298 0 : } // setupUi
299 :
300 0 : void retranslateUi(QDialog *CoinControlDialog)
301 : {
302 0 : CoinControlDialog->setWindowTitle(QCoreApplication::translate("CoinControlDialog", "Coin Selection", nullptr));
303 0 : labelCoinControlQuantityText->setText(QCoreApplication::translate("CoinControlDialog", "Quantity:", nullptr));
304 0 : labelCoinControlBytesText->setText(QCoreApplication::translate("CoinControlDialog", "Bytes:", nullptr));
305 0 : labelCoinControlAmountText->setText(QCoreApplication::translate("CoinControlDialog", "Amount:", nullptr));
306 0 : labelCoinControlLowOutputText->setText(QCoreApplication::translate("CoinControlDialog", "Dust:", nullptr));
307 0 : labelCoinControlFeeText->setText(QCoreApplication::translate("CoinControlDialog", "Fee:", nullptr));
308 0 : labelCoinControlAfterFeeText->setText(QCoreApplication::translate("CoinControlDialog", "After Fee:", nullptr));
309 0 : labelCoinControlChangeText->setText(QCoreApplication::translate("CoinControlDialog", "Change:", nullptr));
310 0 : pushButtonSelectAll->setText(QCoreApplication::translate("CoinControlDialog", "(un)select all", nullptr));
311 0 : radioTreeMode->setText(QCoreApplication::translate("CoinControlDialog", "Tree mode", nullptr));
312 0 : radioListMode->setText(QCoreApplication::translate("CoinControlDialog", "List mode", nullptr));
313 0 : QTreeWidgetItem *___qtreewidgetitem = treeWidget->headerItem();
314 0 : ___qtreewidgetitem->setText(5, QCoreApplication::translate("CoinControlDialog", "Confirmations", nullptr));
315 0 : ___qtreewidgetitem->setText(4, QCoreApplication::translate("CoinControlDialog", "Date", nullptr));
316 0 : ___qtreewidgetitem->setText(3, QCoreApplication::translate("CoinControlDialog", "Received with address", nullptr));
317 0 : ___qtreewidgetitem->setText(2, QCoreApplication::translate("CoinControlDialog", "Received with label", nullptr));
318 0 : ___qtreewidgetitem->setText(1, QCoreApplication::translate("CoinControlDialog", "Amount", nullptr));
319 : #if QT_CONFIG(tooltip)
320 0 : ___qtreewidgetitem->setToolTip(5, QCoreApplication::translate("CoinControlDialog", "Confirmed", nullptr));
321 : #endif // QT_CONFIG(tooltip)
322 0 : } // retranslateUi
323 :
324 : };
325 :
326 : namespace Ui {
327 : class CoinControlDialog: public Ui_CoinControlDialog {};
328 : } // namespace Ui
329 :
330 : QT_END_NAMESPACE
331 :
332 : #endif // UI_COINCONTROLDIALOG_H
|