1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01:00
openrw/rwviewer/views/WorldViewer.hpp

35 lines
716 B
C++
Raw 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:
2016-09-09 22:13:21 +02:00
WorldViewer(ViewerWidget* viewer = 0, QWidget* parent = 0,
Qt::WindowFlags f = 0);
2016-09-09 22:13:21 +02:00
void setViewerWidget(ViewerWidget* widget) override;
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