mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-01 16:32:31 +01:00
6f9c3db52e
- Shared ViewerWidget has been removed. Now multiple instances exist
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
|