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