MCPcopy Create free account
hub / github.com/KDE/okular / ResizableStackedWidget

Class ResizableStackedWidget

shell/shell.cpp:87–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87class ResizableStackedWidget : public QStackedWidget
88{
89 Q_OBJECT
90
91public:
92 QSize sizeHint() const override
93 {
94 return currentWidget()->sizeHint();
95 }
96 QSize minimumSizeHint() const override
97 {
98 return currentWidget()->minimumSizeHint();
99 }
100};
101
102/**
103 * Groups sidebar containers in a QDockWidget.

Callers

nothing calls this directly

Calls 1

sizeHintMethod · 0.45

Tested by

no test coverage detected