mirror of
https://github.com/jpd002/Play-.git
synced 2025-05-04 08:27:57 +03:00
42 lines
892 B
C
42 lines
892 B
C
![]() |
#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;
|
||
|
QString res;
|
||
|
QList<QStorageInfo> discInfo;
|
||
|
void refresh_disc_drive();
|
||
|
};
|
||
|
|
||
|
#endif // VFSDISCSELECTORDIALOG_H
|