tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sc / source / ui / inc / MovingAverageDialog.hxx
blob216b67c8b400bafc780b2d9f6164293cfb93584c
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 <address.hxx>
14 #include "viewdata.hxx"
16 #include "StatisticsInputOutputDialog.hxx"
18 class ScMovingAverageDialog : public ScStatisticsInputOutputDialog
20 private:
21 std::unique_ptr<weld::CheckButton> mxTrimRangeCheck;
22 std::unique_ptr<weld::SpinButton> mxIntervalSpin;
24 public:
25 ScMovingAverageDialog(
26 SfxBindings* pB, SfxChildWindow* pCW,
27 weld::Window* pParent, ScViewData& rViewData );
29 virtual ~ScMovingAverageDialog() override;
31 virtual void Close() override;
33 protected:
34 virtual TranslateId GetUndoNameId() override;
35 virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */