mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 13:07:42 +00:00
Work on URDE version detection and downloading
This commit is contained in:
@@ -2,29 +2,12 @@
|
||||
#define FILEDIRDIALOG_HPP
|
||||
|
||||
#include <QFileDialog>
|
||||
#include <QTreeWidget>
|
||||
#include <QPushButton>
|
||||
#include <QStringList>
|
||||
|
||||
class QPushButton;
|
||||
class QTreeView;
|
||||
class QListView;
|
||||
|
||||
class FileDirDialog : public QFileDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
QListView* m_listView = nullptr;
|
||||
QTreeView* m_treeView = nullptr;
|
||||
QPushButton* m_btnOpen = nullptr;
|
||||
QStringList m_selectedFiles;
|
||||
|
||||
public slots:
|
||||
void chooseClicked();
|
||||
public:
|
||||
FileDirDialog(QWidget* parent = nullptr);
|
||||
QStringList selectedFiles();
|
||||
bool eventFilter(QObject* watched, QEvent* event);
|
||||
FileDirDialog(QWidget* parent = nullptr) : QFileDialog(parent) { setFileMode(QFileDialog::Directory); }
|
||||
};
|
||||
|
||||
#endif // FILEDIRDIALOG_HPP
|
||||
|
||||
Reference in New Issue
Block a user