33#include <NDEVR/CameraManager.h>
34#if NDEVR_VIEWPORT && SUPPORTS_MULTIPLE_VIEWPORTS
35#include <NDEVR/Button.h>
36#include <NDEVR/QTIconManager.h>
37#include <NDEVR/QTTools.h>
39#include <QActionGroup>
42 class ViewportLayoutButton :
public QObject
45 ViewportLayoutButton(CameraManager* manager, Button* button);
46 bool event(QEvent* event)
override;
48 void themeChanged(ViewportLayout layout);
54 QAction* m_three_panel_left;
55 QAction* m_three_panel_right;
56 QAction* m_four_panel;
57 QActionGroup* m_action_group;
58 CameraManager* m_manager;