OpenMW
apps/opencs/view/world/scenetoolbar.hpp
Go to the documentation of this file.
00001 #ifndef CSV_WORLD_SCENETOOLBAR_H
00002 #define CSV_WORLD_SCENETOOLBAR_H
00003 
00004 #include <QWidget>
00005 
00006 class QVBoxLayout;
00007 
00008 namespace CSVWorld
00009 {
00010     class SceneTool;
00011 
00012     class SceneToolbar : public QWidget
00013     {
00014             Q_OBJECT
00015 
00016             QVBoxLayout *mLayout;
00017             int mButtonSize;
00018 
00019         public:
00020 
00021             SceneToolbar (int buttonSize, QWidget *parent = 0);
00022 
00023             void addTool (SceneTool *tool);
00024 
00025             int getButtonSize() const;
00026     };
00027 }
00028 
00029 #endif