1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-12 22:02:49 +01:00
openrw/rwviewer/views/WorldViewer.hpp
Daniel Evans 6f9c3db52e Overahaul of rwviewer to simplify the code and improve usability
- Shared ViewerWidget has been removed. Now multiple instances exist
2018-01-27 21:44:18 +00:00

32 lines
616 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(QWidget* parent = 0, Qt::WindowFlags f = 0);
signals:
void placementsLoaded(const QString& file);
public slots:
void loadPlacements(const QString& file);
void loadPlacements();
};
#endif