2016-09-06 00:03:02 +01:00
|
|
|
#ifndef VFSDISCSELECTORDIALOG_H
|
|
|
|
#define VFSDISCSELECTORDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QStorageInfo>
|
|
|
|
|
|
|
|
#include "VfsDevice.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class VFSDiscSelectorDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class VFSDiscSelectorDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit VFSDiscSelectorDialog(std::string, CDevice::BINDINGTYPE,QWidget *parent = 0);
|
|
|
|
~VFSDiscSelectorDialog();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void accept() Q_DECL_OVERRIDE;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_iso_browse_button_clicked();
|
|
|
|
void on_refresh_disc_drive_button_clicked();
|
|
|
|
void on_comboBox_currentIndexChanged(int index);
|
|
|
|
void on_disc_image_radioButton_clicked();
|
|
|
|
void on_cd_device_radioButton_clicked();
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void onFinish(QString, CDevice::BINDINGTYPE);
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::VFSDiscSelectorDialog *ui;
|
2016-08-10 16:42:37 +01:00
|
|
|
QString m_path;
|
|
|
|
QList<QStorageInfo> m_discInfo;
|
|
|
|
void Refresh_disc_drive();
|
2016-09-06 00:03:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // VFSDISCSELECTORDIALOG_H
|