1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00
OpenMW/apps/opencs/view/doc/filedialog.hpp
graffy76 00c78a4aa1 Implementing ContentSelector class in DataFilesPage
Moved AdjusterWidget / FileWidget to ContentSelectorView
2013-10-01 21:29:45 -05:00

64 lines
1.0 KiB
C++

#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;
class QLabel;
class DataFilesModel;
class PluginsProxyModel;
namespace ContentSelectorView
{
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