summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/navipi.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-04 17:22:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-11 17:42:22 +0100
commit1653bb9bffaa84a40b7d81a8277e887ea28df4e4 (patch)
tree5e56142b7b63ab66fb1dcc781ffeb3ae5afda2ad /sc/source/ui/inc/navipi.hxx
parent40c58f6039fb02cff74e442f6adc5ba38adcff1d (diff)
remove intermediate containers in sidebars
tested extension sidebars of: a) Wollmux extension sidebars b) Analog Clock Extension demo https://wiki.openoffice.org/wiki/Sidebar_for_Developers#Example:_Analog_Clock_Extension Change-Id: If9729e20526681928137989f01a8ae733a9b0cb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112035 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/inc/navipi.hxx')
-rw-r--r--sc/source/ui/inc/navipi.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx
index 37f6bffffbb1..1229f812a59d 100644
--- a/sc/source/ui/inc/navipi.hxx
+++ b/sc/source/ui/inc/navipi.hxx
@@ -105,6 +105,8 @@ private:
std::unique_ptr<weld::ComboBox> m_xLbDocuments;
std::unique_ptr<weld::Menu> m_xDragModeMenu;
+ VclPtr<SfxNavigator> m_xNavigatorDlg;
+
Size aExpandedSize;
Idle aContentIdle;
@@ -168,16 +170,17 @@ private:
void StartOfDataArea ();
void EndOfDataArea ();
+ void UpdateInitShow();
+
static void ReleaseFocus();
public:
- ScNavigatorDlg(SfxBindings* pB, vcl::Window* pParent);
+ ScNavigatorDlg(SfxBindings* pB, weld::Widget* pParent, SfxNavigator* pNavigatorDlg);
+ virtual weld::Window* GetFrameWeld() const override;
virtual ~ScNavigatorDlg() override;
- virtual void dispose() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
- virtual void StateChanged(StateChangedType nStateChange) override;
};
class ScNavigatorWrapper final : public SfxNavigatorWrapper