neobytes/src/qt/openuridialog.h
Philip Kaufmann 309f796b39 [Qt] make most Windows appear centered on main GUI
- remove default value for parent variable in dialogs, which should appear
  centered over main GUI and pass appropriate value
- add some addition NULL pointer checks
2013-11-14 19:58:00 +01:00

35 lines
613 B
C++

// Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef OPENURIDIALOG_H
#define OPENURIDIALOG_H
#include <QDialog>
namespace Ui {
class OpenURIDialog;
}
class OpenURIDialog : public QDialog
{
Q_OBJECT
public:
explicit OpenURIDialog(QWidget *parent);
~OpenURIDialog();
QString getURI();
protected slots:
void accept();
private slots:
void on_selectFileButton_clicked();
private:
Ui::OpenURIDialog *ui;
};
#endif // OPENURIDIALOG_H