| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 
 | //---------------------------------------------------------------------------
#ifndef fileseldlgH
#define fileseldlgH
//---------------------------------------------------------------------------
#include <QDialog>
#include "ui_fileseldlg.h"
class QShowEVent;
class QTreeView;
class QFileSystemModel;
class QModelIndex;
//---------------------------------------------------------------------------
class FileSelDialog : public QDialog, private Ui::FileSelDialog
{
    Q_OBJECT
public slots:
    void FileListClick(QModelIndex);
    void DirSelChange(QModelIndex);
    void DirSelSelected(QModelIndex);
    void DriveSelChanged();
    void FilterClick();
    void BtnDirSelClick();
protected:
    void showEvent(QShowEvent*);
    QTreeView *DirSelector;
    QFileSystemModel *fileModel, *dirModel;
public:
    QString Dir;
    explicit FileSelDialog(QWidget *parent=0);
    ~FileSelDialog();
};
//---------------------------------------------------------------------------
#endif
 |