34#include <NDEVR/RibbonArea.h>
35#include <NDEVR/QCustomStackedWidget.h>
36#include <NDEVR/Dictionary.h>
37#include <NDEVR/UUID.h>
49 class InternalContentData;
50 class QCustomSplitter;
65 int indexOf(QWidget* child)
const;
67 QWidget*
widget(
int index);
95 friend class MainWindow;
104 bool popWindowStack();
107 void resizeEvent(QResizeEvent* event)
override;
111 void bringFloatingWidgetsForward();
112 void setTabLock(
bool tab_lock);
113 void beginResetAll();
114 void removeFromResetShow(
UUID id);
119 QRect outerTopDropRect()
const;
120 QRect outerRightDropRect()
const;
121 QRect outerBottomDropRect()
const;
122 QRect outerLeftDropRect()
const;
123 QSize sizeHint()
const override;
124 QSize minimumSizeHint()
const override;
126 virtual void setShouldAnimateAdd(
bool animate);
127 virtual void clearAllSectionContent();
128 virtual void clearAllNonFloatingContent();
129 bool event(QEvent* event)
override;
132 void exitCurrentFullscreen();
141 void deleteEmptySplitters();
142 void pushCurrentToFullscreenStack();
153 bool m_animate_add =
true;
154 bool m_reset_is_on_home =
false;
164 ContainerWidgetBase::clearAllSectionContent();
168 ContainerWidgetBase::setShouldAnimateAdd(animate);
172 ContainerWidgetBase::setTabLock(tab_lock);
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition Dictionary.h:48
Definition DropOverlay.h:46
Definition QCustomSplitter.h:40
Definition SectionContent.h:47
Definition SectionTab.h:44
Definition ContainerWidget.h:55
int count() const
Definition ContainerWidget.cpp:121
QWidget * widget(int index)
Definition ContainerWidget.cpp:226
void updateLayout()
Definition ContainerWidget.cpp:169
Qt::Orientation m_orientation
Definition ContainerWidget.h:80
bool isHorizontal() const
Definition ContainerWidget.cpp:253
void initLayout()
Definition ContainerWidget.cpp:277
void addWidgets(QWidget *a, QWidget *b)
Definition ContainerWidget.cpp:33
QWidget * replaceWidget(int index, QWidget *child)
Definition ContainerWidget.cpp:97
int indexOf(QWidget *child) const
Definition ContainerWidget.cpp:140
QBoxLayout * m_box_layout
Definition ContainerWidget.h:79
void insertWidget(int index, QWidget *child)
Definition ContainerWidget.cpp:46
QCustomSplitter * splitter() const
Definition ContainerWidget.cpp:272
SharedSectionContentArea(Qt::Orientation orientation, QWidget *parent=nullptr)
Definition ContainerWidget.cpp:24
bool m_is_animating
Definition ContainerWidget.h:81
void refreshSizes()
Definition ContainerWidget.cpp:258
QSize sizeHint() const
Definition ContainerWidget.cpp:289
QCustomSplitter * m_splitter
Definition ContainerWidget.h:78
void setOrientation(Qt::Orientation orientation)
Definition ContainerWidget.cpp:158
void addWidget(QWidget *child)
Definition ContainerWidget.cpp:62
void setAnimating(bool animating)
Definition ContainerWidget.cpp:241
void initSplitter()
Definition ContainerWidget.cpp:77
Qt::Orientation orientation() const
Definition ContainerWidget.cpp:248
DropArea
Definition RibbonArea.h:47