Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / sc / source / ui / inc / MovingAverageDialog.hxx
blob5b373e563eddcfa63a6caca4978075956ac919e2
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 #ifndef INCLUDED_SC_SOURCE_UI_INC_MOVINGAVERAGEDIALOG_HXX
12 #define INCLUDED_SC_SOURCE_UI_INC_MOVINGAVERAGEDIALOG_HXX
14 #include <address.hxx>
15 #include "viewdata.hxx"
17 #include "StatisticsInputOutputDialog.hxx"
19 class ScMovingAverageDialog : public ScStatisticsInputOutputDialog
21 private:
22 std::unique_ptr<weld::CheckButton> mxTrimRangeCheck;
23 std::unique_ptr<weld::SpinButton> mxIntervalSpin;
25 public:
26 ScMovingAverageDialog(
27 SfxBindings* pB, SfxChildWindow* pCW,
28 weld::Window* pParent, ScViewData* pViewData );
30 virtual ~ScMovingAverageDialog() override;
32 virtual void Close() override;
34 protected:
35 virtual const char* GetUndoNameId() override;
36 virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
39 #endif
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */