1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 10:22:52 +01:00
openrw/rwviewer/ArchiveContentsWidget.hpp
2014-02-11 05:46:29 +00:00

27 lines
537 B
C++

#pragma once
#ifndef _ARCHIVECONTENTSWIDGET_HPP_
#define _ARCHIVECONTENTSWIDGET_HPP_
#include <QDockWidget>
#include <QListView>
#include "IMGArchiveModel.hpp"
class ArchiveContentsWidget : public QDockWidget
{
Q_OBJECT
IMGArchiveModel* model;
QListView* table;
public:
ArchiveContentsWidget(QWidget* parent = 0, Qt::WindowFlags flags = 0);
void setArchive(const LoaderIMG& archive);
signals:
void selectedFileChanged(const QString& file);
public slots:
void selectedIndexChanged(const QModelIndex& current);
};
#endif