1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-02 16:49:46 +02:00
openrw/rwviewer/views/WorldViewer.hpp

32 lines
616 B
C++
Raw Permalink Normal View History

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