mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 18:39:29 +00:00
30 lines
485 B
C++
30 lines
485 B
C++
#ifndef CSV_WORLD_SCENETOOL_H
|
|
#define CSV_WORLD_SCENETOOL_H
|
|
|
|
#include <QPushButton>
|
|
|
|
namespace CSVWorld
|
|
{
|
|
///< \brief Tool base class
|
|
class SceneTool : public QPushButton
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
SceneTool (QWidget *parent = 0);
|
|
|
|
virtual void showPanel (const QPoint& position) = 0;
|
|
|
|
protected slots:
|
|
|
|
void updateIcon (const QIcon& icon);
|
|
|
|
private slots:
|
|
|
|
void openRequest();
|
|
};
|
|
}
|
|
|
|
#endif
|