mirror of
https://github.com/rwengine/openrw.git
synced 2024-09-02 16:49:46 +02:00
32 lines
616 B
C++
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
|