1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-11 09:36:37 +00:00
OpenMW/apps/opencs/view/doc/filedialog.hpp

64 lines
1.0 KiB
C++
Raw Normal View History

#ifndef FILEDIALOG_HPP
#define FILEDIALOG_HPP
#include <QDialog>
#include <QModelIndex>
#include "../../../../components/contentselector/view/contentselector.hpp"
class QDialogButtonBox;
class QSortFilterProxyModel;
class QAbstractItemModel;
class QPushButton;
class QStringList;
class QString;
class QMenu;
2013-08-18 22:11:23 +00:00
class QLabel;
class DataFilesModel;
class PluginsProxyModel;
namespace ContentSelectorView
2013-08-18 22:11:23 +00:00
{
class LineEdit;
}
namespace CSVDoc
{
class FileDialog : public QDialog
{
Q_OBJECT
unsigned char mOpenFileFlags;
unsigned char mNewFileFlags;
public:
explicit FileDialog(QWidget *parent = 0);
void openFile();
void newFile();
void addFiles (const QString &path);
QString filename();
QStringList selectedFilepaths();
private:
void showDialog();
signals:
void openFiles();
void createNewFile();
public slots:
void slotRejected();
private slots:
};
}
#endif // FILEDIALOG_HPP