2013-09-28 09:06:56 +00:00
|
|
|
#ifndef CSV_WORLD_SCENETOOL_H
|
|
|
|
#define CSV_WORLD_SCENETOOL_H
|
|
|
|
|
|
|
|
#include <QPushButton>
|
|
|
|
|
|
|
|
namespace CSVWorld
|
|
|
|
{
|
2013-10-07 09:14:11 +00:00
|
|
|
class SceneToolbar;
|
|
|
|
|
2013-09-28 09:27:24 +00:00
|
|
|
///< \brief Tool base class
|
2013-09-28 09:06:56 +00:00
|
|
|
class SceneTool : public QPushButton
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2013-10-07 09:14:11 +00:00
|
|
|
SceneTool (SceneToolbar *parent);
|
2013-09-28 09:06:56 +00:00
|
|
|
|
2013-09-28 11:10:42 +00:00
|
|
|
virtual void showPanel (const QPoint& position) = 0;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
|
|
|
void openRequest();
|
2013-09-28 09:06:56 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|