Master Core  v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ui_sendmpdialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'sendmpdialog.ui'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost when recompiling UI file!
6 ********************************************************************************/
7 
8 #ifndef UI_SENDMPDIALOG_H
9 #define UI_SENDMPDIALOG_H
10 
11 #include <QtCore/QVariant>
12 #include <QtGui/QAction>
13 #include <QtGui/QApplication>
14 #include <QtGui/QButtonGroup>
15 #include <QtGui/QComboBox>
16 #include <QtGui/QDialog>
17 #include <QtGui/QHBoxLayout>
18 #include <QtGui/QHeaderView>
19 #include <QtGui/QLabel>
20 #include <QtGui/QLineEdit>
21 #include <QtGui/QPushButton>
22 #include <QtGui/QScrollArea>
23 #include <QtGui/QSpacerItem>
24 #include <QtGui/QVBoxLayout>
25 #include <QtGui/QWidget>
26 
27 QT_BEGIN_NAMESPACE
28 
30 {
31 public:
32  QVBoxLayout *verticalLayout;
33  QScrollArea *scrollArea;
35  QVBoxLayout *verticalLayout_2;
36  QHBoxLayout *FromHLayout;
40  QSpacerItem *horizontalSpacer_2;
41  QHBoxLayout *ToHLayout;
44  QSpacerItem *horizontalSpacer_3;
45  QHBoxLayout *horizontalLayout_3;
49  QSpacerItem *horizontalSpacer_5;
50  QHBoxLayout *horizontalLayout_4;
52  QSpacerItem *horizontalSpacer_4;
53  QSpacerItem *verticalSpacer;
54  QHBoxLayout *horizontalLayout;
55  QPushButton *sendButton;
56  QPushButton *clearButton;
57  QSpacerItem *horizontalSpacer;
58  QHBoxLayout *horizontalLayout_2;
60 
62  {
63  if (SendMPDialog->objectName().isEmpty())
64  SendMPDialog->setObjectName(QString::fromUtf8("SendMPDialog"));
65  SendMPDialog->resize(850, 400);
66  SendMPDialog->setAutoFillBackground(true);
67  verticalLayout = new QVBoxLayout(SendMPDialog);
68  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
69  verticalLayout->setContentsMargins(-1, -1, -1, 8);
70  scrollArea = new QScrollArea(SendMPDialog);
71  scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
72  scrollArea->setFrameShape(QFrame::NoFrame);
73  scrollArea->setFrameShadow(QFrame::Plain);
74  scrollArea->setWidgetResizable(true);
75  scrollAreaWidgetContents = new QWidget();
76  scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
77  scrollAreaWidgetContents->setGeometry(QRect(0, 0, 832, 351));
78  verticalLayout_2 = new QVBoxLayout(scrollAreaWidgetContents);
79  verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
80  verticalLayout_2->setContentsMargins(0, 0, 0, 0);
81  FromHLayout = new QHBoxLayout();
82  FromHLayout->setObjectName(QString::fromUtf8("FromHLayout"));
83  sendFromLabel = new QLabel(scrollAreaWidgetContents);
84  sendFromLabel->setObjectName(QString::fromUtf8("sendFromLabel"));
85  QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
86  sizePolicy.setHorizontalStretch(0);
87  sizePolicy.setVerticalStretch(0);
88  sizePolicy.setHeightForWidth(sendFromLabel->sizePolicy().hasHeightForWidth());
89  sendFromLabel->setSizePolicy(sizePolicy);
90  sendFromLabel->setMinimumSize(QSize(95, 0));
91  sendFromLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
92  sendFromLabel->setMargin(8);
93 
94  FromHLayout->addWidget(sendFromLabel);
95 
96  sendFromComboBox = new QComboBox(scrollAreaWidgetContents);
97  sendFromComboBox->setObjectName(QString::fromUtf8("sendFromComboBox"));
98  QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
99  sizePolicy1.setHorizontalStretch(0);
100  sizePolicy1.setVerticalStretch(0);
101  sizePolicy1.setHeightForWidth(sendFromComboBox->sizePolicy().hasHeightForWidth());
102  sendFromComboBox->setSizePolicy(sizePolicy1);
103 
104  FromHLayout->addWidget(sendFromComboBox);
105 
106  addressBalanceLabel = new QLabel(scrollAreaWidgetContents);
107  addressBalanceLabel->setObjectName(QString::fromUtf8("addressBalanceLabel"));
108 
109  FromHLayout->addWidget(addressBalanceLabel);
110 
111  horizontalSpacer_2 = new QSpacerItem(15, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
112 
113  FromHLayout->addItem(horizontalSpacer_2);
114 
115 
116  verticalLayout_2->addLayout(FromHLayout);
117 
118  ToHLayout = new QHBoxLayout();
119  ToHLayout->setObjectName(QString::fromUtf8("ToHLayout"));
120  sendToLabel = new QLabel(scrollAreaWidgetContents);
121  sendToLabel->setObjectName(QString::fromUtf8("sendToLabel"));
122  sendToLabel->setMinimumSize(QSize(95, 0));
123  sendToLabel->setLayoutDirection(Qt::LeftToRight);
124  sendToLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
125  sendToLabel->setMargin(8);
126 
127  ToHLayout->addWidget(sendToLabel);
128 
129  sendToLineEdit = new QLineEdit(scrollAreaWidgetContents);
130  sendToLineEdit->setObjectName(QString::fromUtf8("sendToLineEdit"));
131 
132  ToHLayout->addWidget(sendToLineEdit);
133 
134  horizontalSpacer_3 = new QSpacerItem(15, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
135 
136  ToHLayout->addItem(horizontalSpacer_3);
137 
138 
139  verticalLayout_2->addLayout(ToHLayout);
140 
141  horizontalLayout_3 = new QHBoxLayout();
142  horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
143  horizontalLayout_3->setContentsMargins(-1, -1, -1, 0);
144  amountLabel = new QLabel(scrollAreaWidgetContents);
145  amountLabel->setObjectName(QString::fromUtf8("amountLabel"));
146  amountLabel->setMinimumSize(QSize(95, 0));
147  amountLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
148  amountLabel->setMargin(8);
149 
150  horizontalLayout_3->addWidget(amountLabel);
151 
152  amountLineEdit = new QLineEdit(scrollAreaWidgetContents);
153  amountLineEdit->setObjectName(QString::fromUtf8("amountLineEdit"));
154 
155  horizontalLayout_3->addWidget(amountLineEdit);
156 
157  propertyComboBox = new QComboBox(scrollAreaWidgetContents);
158  propertyComboBox->setObjectName(QString::fromUtf8("propertyComboBox"));
159  sizePolicy1.setHeightForWidth(propertyComboBox->sizePolicy().hasHeightForWidth());
160  propertyComboBox->setSizePolicy(sizePolicy1);
161 
162  horizontalLayout_3->addWidget(propertyComboBox);
163 
164  horizontalSpacer_5 = new QSpacerItem(15, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
165 
166  horizontalLayout_3->addItem(horizontalSpacer_5);
167 
168 
169  verticalLayout_2->addLayout(horizontalLayout_3);
170 
171  horizontalLayout_4 = new QHBoxLayout();
172  horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
173  horizontalLayout_4->setContentsMargins(-1, -1, -1, 0);
174  feeWarningLabel = new QLabel(scrollAreaWidgetContents);
175  feeWarningLabel->setObjectName(QString::fromUtf8("feeWarningLabel"));
176  QFont font;
177  font.setPointSize(7);
178  feeWarningLabel->setFont(font);
179  feeWarningLabel->setStyleSheet(QString::fromUtf8("QLabel { color:rgb(191, 127, 0);} "));
180  feeWarningLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
181 
182  horizontalLayout_4->addWidget(feeWarningLabel);
183 
184  horizontalSpacer_4 = new QSpacerItem(15, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
185 
186  horizontalLayout_4->addItem(horizontalSpacer_4);
187 
188 
189  verticalLayout_2->addLayout(horizontalLayout_4);
190 
191  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
192 
193  verticalLayout_2->addItem(verticalSpacer);
194 
195  verticalLayout_2->setStretch(4, 1);
196  scrollArea->setWidget(scrollAreaWidgetContents);
197 
198  verticalLayout->addWidget(scrollArea);
199 
200  horizontalLayout = new QHBoxLayout();
201  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
202  sendButton = new QPushButton(SendMPDialog);
203  sendButton->setObjectName(QString::fromUtf8("sendButton"));
204  sendButton->setMinimumSize(QSize(150, 0));
205  QIcon icon;
206  icon.addFile(QString::fromUtf8(":/icons/send"), QSize(), QIcon::Normal, QIcon::Off);
207  sendButton->setIcon(icon);
208  sendButton->setDefault(true);
209 
210  horizontalLayout->addWidget(sendButton);
211 
212  clearButton = new QPushButton(SendMPDialog);
213  clearButton->setObjectName(QString::fromUtf8("clearButton"));
214  QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Fixed);
215  sizePolicy2.setHorizontalStretch(0);
216  sizePolicy2.setVerticalStretch(0);
217  sizePolicy2.setHeightForWidth(clearButton->sizePolicy().hasHeightForWidth());
218  clearButton->setSizePolicy(sizePolicy2);
219  QIcon icon1;
220  icon1.addFile(QString::fromUtf8(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
221  clearButton->setIcon(icon1);
222  clearButton->setAutoRepeatDelay(300);
223  clearButton->setAutoDefault(false);
224 
225  horizontalLayout->addWidget(clearButton);
226 
227  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
228 
229  horizontalLayout->addItem(horizontalSpacer);
230 
231  horizontalLayout_2 = new QHBoxLayout();
232  horizontalLayout_2->setSpacing(3);
233  horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
234  globalBalanceLabel = new QLabel(SendMPDialog);
235  globalBalanceLabel->setObjectName(QString::fromUtf8("globalBalanceLabel"));
236  QSizePolicy sizePolicy3(QSizePolicy::Preferred, QSizePolicy::Fixed);
237  sizePolicy3.setHorizontalStretch(0);
238  sizePolicy3.setVerticalStretch(0);
239  sizePolicy3.setHeightForWidth(globalBalanceLabel->sizePolicy().hasHeightForWidth());
240  globalBalanceLabel->setSizePolicy(sizePolicy3);
241  globalBalanceLabel->setCursor(QCursor(Qt::IBeamCursor));
242  globalBalanceLabel->setText(QString::fromUtf8("123.456 MSC"));
243  globalBalanceLabel->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
244 
245  horizontalLayout_2->addWidget(globalBalanceLabel);
246 
247 
248  horizontalLayout->addLayout(horizontalLayout_2);
249 
250 
251  verticalLayout->addLayout(horizontalLayout);
252 
253  verticalLayout->setStretch(0, 1);
254 
255  retranslateUi(SendMPDialog);
256 
257  QMetaObject::connectSlotsByName(SendMPDialog);
258  } // setupUi
259 
261  {
262  SendMPDialog->setWindowTitle(QApplication::translate("SendMPDialog", "Send Coins", 0, QApplication::UnicodeUTF8));
263  sendFromLabel->setText(QApplication::translate("SendMPDialog", "Send From:", 0, QApplication::UnicodeUTF8));
264  addressBalanceLabel->setText(QApplication::translate("SendMPDialog", "Address Balance: 123.456 MSC", 0, QApplication::UnicodeUTF8));
265  sendToLabel->setText(QApplication::translate("SendMPDialog", "Send To:", 0, QApplication::UnicodeUTF8));
266  amountLabel->setText(QApplication::translate("SendMPDialog", "Amount:", 0, QApplication::UnicodeUTF8));
267  feeWarningLabel->setText(QApplication::translate("SendMPDialog", "Warning: The sending address does not have enough BTC to cover the fees for this transaction.", 0, QApplication::UnicodeUTF8));
268 #ifndef QT_NO_TOOLTIP
269  sendButton->setToolTip(QApplication::translate("SendMPDialog", "Confirm the send action", 0, QApplication::UnicodeUTF8));
270 #endif // QT_NO_TOOLTIP
271  sendButton->setText(QApplication::translate("SendMPDialog", "S&end", 0, QApplication::UnicodeUTF8));
272 #ifndef QT_NO_TOOLTIP
273  clearButton->setToolTip(QApplication::translate("SendMPDialog", "Clear all fields of the form.", 0, QApplication::UnicodeUTF8));
274 #endif // QT_NO_TOOLTIP
275  clearButton->setText(QApplication::translate("SendMPDialog", "Clear &All", 0, QApplication::UnicodeUTF8));
276  } // retranslateUi
277 
278 };
279 
280 namespace Ui {
281  class SendMPDialog: public Ui_SendMPDialog {};
282 } // namespace Ui
283 
284 QT_END_NAMESPACE
285 
286 #endif // UI_SENDMPDIALOG_H
QSpacerItem * horizontalSpacer
QHBoxLayout * ToHLayout
QHBoxLayout * FromHLayout
QPushButton * clearButton
QSpacerItem * verticalSpacer
void setupUi(QDialog *SendMPDialog)
QSpacerItem * horizontalSpacer_4
void retranslateUi(QDialog *SendMPDialog)
Dialog for sending Master Protocol tokens.
Definition: sendmpdialog.h:26
QComboBox * propertyComboBox
QLineEdit * sendToLineEdit
QHBoxLayout * horizontalLayout
QVBoxLayout * verticalLayout
QPushButton * sendButton
QLabel * addressBalanceLabel
QLabel * sendFromLabel
QHBoxLayout * horizontalLayout_4
QSpacerItem * horizontalSpacer_2
QLineEdit * amountLineEdit
QComboBox * sendFromComboBox
QVBoxLayout * verticalLayout_2
QHBoxLayout * horizontalLayout_3
QLabel * sendToLabel
QSpacerItem * horizontalSpacer_5
QScrollArea * scrollArea
QWidget * scrollAreaWidgetContents
QLabel * amountLabel
QLabel * feeWarningLabel
QSpacerItem * horizontalSpacer_3
QHBoxLayout * horizontalLayout_2
QLabel * globalBalanceLabel