8 #ifndef UI_OPENURIDIALOG_H
9 #define UI_OPENURIDIALOG_H
11 #include <QtCore/QVariant>
12 #include <QtGui/QAction>
13 #include <QtGui/QApplication>
14 #include <QtGui/QButtonGroup>
15 #include <QtGui/QDialog>
16 #include <QtGui/QDialogButtonBox>
17 #include <QtGui/QHBoxLayout>
18 #include <QtGui/QHeaderView>
19 #include <QtGui/QLabel>
20 #include <QtGui/QPushButton>
21 #include <QtGui/QSpacerItem>
22 #include <QtGui/QVBoxLayout>
41 if (OpenURIDialog->objectName().isEmpty())
42 OpenURIDialog->setObjectName(QString::fromUtf8(
"OpenURIDialog"));
43 OpenURIDialog->resize(564, 109);
44 verticalLayout =
new QVBoxLayout(OpenURIDialog);
45 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
46 label_2 =
new QLabel(OpenURIDialog);
47 label_2->setObjectName(QString::fromUtf8(
"label_2"));
49 verticalLayout->addWidget(label_2);
51 horizontalLayout =
new QHBoxLayout();
52 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
53 label =
new QLabel(OpenURIDialog);
54 label->setObjectName(QString::fromUtf8(
"label"));
56 horizontalLayout->addWidget(label);
59 uriEdit->setObjectName(QString::fromUtf8(
"uriEdit"));
61 horizontalLayout->addWidget(uriEdit);
63 selectFileButton =
new QPushButton(OpenURIDialog);
64 selectFileButton->setObjectName(QString::fromUtf8(
"selectFileButton"));
65 selectFileButton->setText(QString::fromUtf8(
"\342\200\246"));
67 horizontalLayout->addWidget(selectFileButton);
70 verticalLayout->addLayout(horizontalLayout);
72 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
74 verticalLayout->addItem(verticalSpacer);
76 buttonBox =
new QDialogButtonBox(OpenURIDialog);
77 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
78 buttonBox->setOrientation(Qt::Horizontal);
79 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
81 verticalLayout->addWidget(buttonBox);
85 QObject::connect(buttonBox, SIGNAL(accepted()), OpenURIDialog, SLOT(accept()));
86 QObject::connect(buttonBox, SIGNAL(rejected()), OpenURIDialog, SLOT(reject()));
88 QMetaObject::connectSlotsByName(OpenURIDialog);
93 OpenURIDialog->setWindowTitle(QApplication::translate(
"OpenURIDialog",
"Open URI", 0, QApplication::UnicodeUTF8));
94 label_2->setText(QApplication::translate(
"OpenURIDialog",
"Open payment request from URI or file", 0, QApplication::UnicodeUTF8));
95 label->setText(QApplication::translate(
"OpenURIDialog",
"URI:", 0, QApplication::UnicodeUTF8));
97 selectFileButton->setToolTip(QApplication::translate(
"OpenURIDialog",
"Select payment request file", 0, QApplication::UnicodeUTF8));
98 #endif // QT_NO_TOOLTIP
109 #endif // UI_OPENURIDIALOG_H
void setupUi(QDialog *OpenURIDialog)
QVBoxLayout * verticalLayout
QValidatedLineEdit * uriEdit
Line edit that can be marked as "invalid" to show input validation feedback.
QPushButton * selectFileButton
void retranslateUi(QDialog *OpenURIDialog)
QSpacerItem * verticalSpacer
QHBoxLayout * horizontalLayout
QDialogButtonBox * buttonBox