23 #if QT_VERSION >= 0x040700 24 ui->
uriEdit->setPlaceholderText(
"fabcoin:");
53 if(filename.isEmpty())
55 QUrl fileUri = QUrl::fromLocalFile(filename);
56 ui->
uriEdit->setText(
"fabcoin:?r=" + QUrl::toPercentEncoding(fileUri.toString()));
#define SetObjectStyleSheet(object, name)
QString getOpenFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedSuffixOut)
Get open filename, convenience wrapper for QFileDialog::getOpenFileName.
void setupUi(QDialog *OpenURIDialog)
OpenURIDialog(QWidget *parent)
QValidatedLineEdit * uriEdit
void on_selectFileButton_clicked()
bool parseFabcoinURI(const QUrl &uri, SendCoinsRecipient *out)
QDialogButtonBox * buttonBox
void setValid(bool valid)