mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
41 lines
671 B
C++
41 lines
671 B
C++
#ifndef CSV_WIDGET_SCENETOOLBAR_H
|
|
#define CSV_WIDGET_SCENETOOLBAR_H
|
|
|
|
#include <QWidget>
|
|
|
|
class QVBoxLayout;
|
|
|
|
namespace CSVWidget
|
|
{
|
|
class SceneTool;
|
|
|
|
class SceneToolbar : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
QVBoxLayout *mLayout;
|
|
int mButtonSize;
|
|
int mIconSize;
|
|
|
|
protected:
|
|
|
|
virtual void focusInEvent (QFocusEvent *event);
|
|
|
|
public:
|
|
|
|
SceneToolbar (int buttonSize, QWidget *parent = 0);
|
|
|
|
void addTool (SceneTool *tool);
|
|
|
|
int getButtonSize() const;
|
|
|
|
int getIconSize() const;
|
|
|
|
signals:
|
|
|
|
void focusSceneRequest();
|
|
};
|
|
}
|
|
|
|
#endif
|