2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 23:07:42 +00:00

Initial implementation

This commit is contained in:
2017-12-05 19:31:43 -08:00
parent 6a6bed1e79
commit 479a44910b
6 changed files with 960 additions and 59 deletions

View File

@@ -0,0 +1,30 @@
#ifndef FILEDIRDIALOG_HPP
#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);
};
#endif // FILEDIRDIALOG_HPP