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
9  : public QObject
10  , public GraphicsLayout
11 {
12 public:
13  using GraphicsLayout::GraphicsLayout;
15 
16  void addTab(QString tab);
17 
18  void layout() override;
19 
20 private:
21  QGraphicsItem* current{};
22  std::vector<QGraphicsItem*> m_pages;
23  std::vector<QString> m_tabs;
24 };
25 
26 }
Definition: GraphicsLayout.hpp:10
Definition: GraphicsTabLayout.hpp:11
Base toolkit upon which the software is built.
Definition: Application.cpp:90