#pragma once

#include <QDialog>

namespace Ui
{
    class BrowseDialog;
}

class BrowseDialog : public QDialog
{
    Q_OBJECT

public:
    BrowseDialog(QWidget* parent, const QString & title, const QString & text, const QString & filter, const QString & defaultPath, bool save);
    ~BrowseDialog();

    QString path;
public slots:
    void on_browse_clicked();
    void on_ok_clicked();

private:
    Ui::BrowseDialog* ui;
    QString mFilter;
    bool mSave;
};
