tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sc / source / ui / inc / mergecellsdialog.hxx
blob33370d793dea28dd364d644b9edfc3a4a27724ee
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/.
9 */
11 #pragma once
13 #include <vcl/weld.hxx>
15 enum ScMergeCellsOption
17 MoveContentHiddenCells,
18 KeepContentHiddenCells,
19 EmptyContentHiddenCells
22 class ScMergeCellsDialog : public weld::GenericDialogController
24 std::unique_ptr<weld::RadioButton> m_xRBMoveContent;
25 std::unique_ptr<weld::RadioButton> m_xRBKeepContent;
26 std::unique_ptr<weld::RadioButton> m_xRBEmptyContent;
28 public:
29 ScMergeCellsDialog(weld::Window* pParent);
30 virtual ~ScMergeCellsDialog() override;
32 ScMergeCellsOption GetMergeCellsOption() const;
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */