2014-03-06 09:13:39 +00:00
|
|
|
#ifndef OPENCS_VIEW_PAGEDWORLDSPACEWIDGET_H
|
|
|
|
#define OPENCS_VIEW_PAGEDWORLDSPACEWIDGET_H
|
|
|
|
|
|
|
|
#include "worldspacewidget.hpp"
|
|
|
|
|
|
|
|
namespace CSVRender
|
|
|
|
{
|
|
|
|
class PagedWorldspaceWidget : public WorldspaceWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
2014-04-01 08:04:14 +00:00
|
|
|
std::pair<int, int> mMin;
|
|
|
|
std::pair<int, int> mMax;
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
void setCellIndex (const std::pair<int, int>& min, const std::pair<int, int>& max);
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
void cellIndexChanged (const std::pair<int, int>& min, const std::pair<int, int>& max);
|
2014-03-06 09:13:39 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|