34#include <NDEVR/RibbonArea.h>
39 class TranslatedString;
80 bool event(QEvent* event)
override;
83 virtual QIcon
getIcon()
const {
return QIcon(); };
The core container for objects using the NDEVR API Widget Docking system. Contains information used t...
Definition SectionContent.h:51
Provides a tab that is used for either a tab if the section content is attached to a Container,...
Definition SectionTab.h:48
void setRoundedCorners(int radius_tl, int radius_tr, int radius_bl, int radius_br)
void updateClosableSignal()
QPointF m_drag_start_pos
Definition SectionTab.h:91
void recieveFullScreenButtonClicked()
void updateRoundedCorners()
virtual void mousePressEvent(QMouseEvent *event) override
void recieveCloseButtonClicked()
virtual QIcon getIcon() const
Definition SectionTab.h:83
void clickedSignal(SectionContent *content)
void fullscreenUpdated(bool is_moveable)
void setIsShown(bool shown)
void closableUpdated(bool is_moveable)
virtual void setFloatingWidget(FloatingWidget *widget)
bool event(QEvent *event) override
virtual bool isMovable() const
void setActiveTab(bool active)
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:93
SectionTab(SectionContent *content, QWidget *parent)
QPointF m_local_drag_pos
Definition SectionTab.h:92
virtual bool isShown() const
virtual void leaveEvent(QEvent *event) override
bool m_is_fullscreen
Definition SectionTab.h:95
FloatingWidget * m_floating_widget
Definition SectionTab.h:90
virtual void mouseReleaseEvent(QMouseEvent *ev) override
virtual void setFullscreen(bool fullscreen)
void setSectionContent(SectionContent *content)
virtual TranslatedString getTitle() const
SectionContent * m_content
Definition SectionTab.h:89
bool m_active_tab
Definition SectionTab.h:94
virtual void mouseMoveEvent(QMouseEvent *ev) override
void updateMoveableSignal()
virtual void setDocked(bool is_docked)=0
void closedSignal(SectionContent *content)
void fullscreenSignal(bool fullscreen)
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
Definition TranslatedString.h:13
RibbonArea
Requests a ribbon or tab area to be in a certain location and orientation relative to another widget.
Definition RibbonArea.h:71