GraphicsTabLayout.hpp
1 #pragma once
2 
3 #include <score/graphics/GraphicsLayout.hpp>
4 
5 namespace score
6 {
7 
8 class SCORE_LIB_BASE_EXPORT GraphicsTabLayout : public GraphicsLayout
9 {
10 public:
11  using GraphicsLayout::GraphicsLayout;
13 
14  void addTab(QString tab);
15 
16  void layout() override;
17 
18 private:
19  QGraphicsItem* current{};
20  std::vector<QGraphicsItem*> m_pages;
21  std::vector<QString> m_tabs;
22 };
23 
24 }
Definition: GraphicsLayout.hpp:8
Definition: GraphicsTabLayout.hpp:9
Base toolkit upon which the software is built.
Definition: Application.cpp:90