#ifndef QT_CHOOSE_FILE_H
#define QT_CHOOSE_FILE_H

#ifndef TEXT_H
#include "Text.h"
#endif

#ifndef CURRENT_FOLDER_H
#include "Current_folder.h"
#endif

#ifndef DBC_H
#include "DbC.h"
#endif

#include <QString>
#include <QStringList>

namespace MM
{
class Model;

class Qt_choose_file : protected Current_folder, protected DbC
{
protected:
    enum Intention {for_open, for_save};
    QString                 selected_filter_;
    QStringList             list_filters (Intention) const;
    Model &                 current_model ();
};

}//MM

#endif //QT_CHOOSE_FILE_H
