2014-03-06 09:13:39 +00:00
|
|
|
#ifndef OPENCS_VIEW_PAGEDWORLDSPACEWIDGET_H
|
|
|
|
#define OPENCS_VIEW_PAGEDWORLDSPACEWIDGET_H
|
|
|
|
|
2014-04-07 12:16:02 +00:00
|
|
|
#include "../../model/world/cellselection.hpp"
|
|
|
|
|
2014-03-06 09:13:39 +00:00
|
|
|
#include "worldspacewidget.hpp"
|
|
|
|
|
|
|
|
namespace CSVRender
|
|
|
|
{
|
|
|
|
class PagedWorldspaceWidget : public WorldspaceWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
2014-04-07 12:16:02 +00:00
|
|
|
CSMWorld::CellSelection mSelection;
|
2014-04-01 08:04:14 +00:00
|
|
|
|
2014-03-06 09:13:39 +00:00
|
|
|
public:
|
|
|
|
|
|
|
|
PagedWorldspaceWidget (QWidget *parent);
|
2014-04-01 08:04:14 +00:00
|
|
|
///< \note Sets the cell area selection to an invalid value to indicate that currently
|
|
|
|
/// no cells are displayed. The cells to be displayed will be specified later through
|
|
|
|
/// hint system.
|
|
|
|
|
|
|
|
virtual void useViewHint (const std::string& hint);
|
|
|
|
|
2014-04-07 12:16:02 +00:00
|
|
|
void setCellSelection (const CSMWorld::CellSelection& selection);
|
2014-04-01 08:04:14 +00:00
|
|
|
|
|
|
|
signals:
|
|
|
|
|
2014-04-07 12:16:02 +00:00
|
|
|
void cellSelectionChanged (const CSMWorld::CellSelection& selection);
|
2014-03-06 09:13:39 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|