tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sc / source / ui / inc / tpcompatibility.hxx
blob0ab84d4d93e8543f21c7e95839a945d63e756fbe
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #pragma once
12 #include <sfx2/tabdlg.hxx>
14 class ScTpCompatOptions : public SfxTabPage
16 public:
17 explicit ScTpCompatOptions(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rCoreAttrs);
18 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreAttrs);
19 virtual ~ScTpCompatOptions() override;
21 virtual OUString GetAllStrings() override;
23 virtual bool FillItemSet(SfxItemSet* rCoreAttrs) override;
24 virtual void Reset(const SfxItemSet* rCoreAttrs) override;
25 virtual DeactivateRC DeactivatePage(SfxItemSet* pSet ) override;
27 private:
28 std::unique_ptr<weld::ComboBox> m_xLbKeyBindings;
29 std::unique_ptr<weld::Widget> m_xLbKeyBindingsImg;
30 std::unique_ptr<weld::CheckButton> m_xBtnLink;
31 std::unique_ptr<weld::Widget> m_xBtnLinkImg;
34 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */