34#include <NDEVR/RibbonArea.h>
39 class TranslatedString;
49 bool isActiveTab()
const;
50 void setActiveTab(
bool active);
52 virtual void setFullscreen(
bool fullscreen);
55 virtual void mousePressEvent(QMouseEvent* event)
override;
56 virtual void mouseReleaseEvent(QMouseEvent* ev)
override;
57 virtual void mouseMoveEvent(QMouseEvent* ev)
override;
58 virtual void leaveEvent(QEvent* event)
override;
59 void recieveCloseButtonClicked();
60 void recieveFullScreenButtonClicked();
73 void updateRoundedCorners();
74 void setRoundedCorners(
int radius_tl,
int radius_tr,
int radius_bl,
int radius_br);
75 void setIsShown(
bool shown);
76 bool event(QEvent* event)
override;
77 virtual bool isMovable()
const;
78 virtual bool isShown()
const;
79 virtual QIcon
getIcon()
const {
return QIcon(); };
Definition SectionContent.h:47
Definition SectionTab.h:44
void updateClosableSignal()
virtual QIcon getIcon() const
Definition SectionTab.h:79
void clickedSignal(SectionContent *content)
void fullscreenUpdated(bool is_moveable)
void closableUpdated(bool is_moveable)
void isShownUpdated(bool is_shown)
void moveableUpdated(bool is_moveable)
virtual void setSelected(bool is_selected)=0
virtual void setLocation(RibbonArea area, bool is_docked)=0
bool m_tab_moving
Definition SectionTab.h:95
QPointF m_local_drag_pos
Definition SectionTab.h:94
bool m_is_fullscreen
Definition SectionTab.h:97
FloatingWidget * m_floating_widget
Definition SectionTab.h:92
SectionContent * m_content
Definition SectionTab.h:91
QPointF _dragStartPos
Definition SectionTab.h:93
bool m_active_tab
Definition SectionTab.h:96
bool m_is_shown
Definition SectionTab.h:85
void updateMoveableSignal()
virtual void setDocked(bool is_docked)=0
void closedSignal(SectionContent *content)
void fullscreenSignal(bool fullscreen)
Definition TranslatedString.h:9
RibbonArea
Definition RibbonArea.h:68