1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 10:22:52 +01:00
openrw/rwviewer/views/WorldViewer.hpp
2016-09-09 21:13:21 +01:00

35 lines
716 B
C++

#ifndef _RWVIEWER_WORLDVIEWER_HPP_
#define _RWVIEWER_WORLDVIEWER_HPP_
#include <engine/GameData.hpp>
#include <engine/GameWorld.hpp>
#include "ViewerInterface.hpp"
#include <QLabel>
#include <QLayout>
#include <QSplitter>
#include <QTreeView>
#include <QVBoxLayout>
class WorldViewer : public ViewerInterface {
Q_OBJECT
QVBoxLayout* mainLayout;
ViewerWidget* viewerWidget;
public:
WorldViewer(ViewerWidget* viewer = 0, QWidget* parent = 0,
Qt::WindowFlags f = 0);
void setViewerWidget(ViewerWidget* widget) override;
signals:
void placementsLoaded(const QString& file);
public slots:
void loadPlacements(const QString& file);
void loadPlacements();
};
#endif