LibreOffice Module sc (master) 1
FourierAnalysisDialog.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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 *
9 */
10
11#pragma once
12
14
16{
20
21 double mfMinMag;
22
25 bool mbWithLabels : 1;
26 bool mbInverse : 1;
27 bool mbPolar : 1;
28
29 std::unique_ptr<weld::CheckButton> mxWithLabelsCheckBox;
30 std::unique_ptr<weld::CheckButton> mxInverseCheckBox;
31 std::unique_ptr<weld::CheckButton> mxPolarCheckBox;
32 std::unique_ptr<weld::SpinButton> mxMinMagnitudeField;
33 std::unique_ptr<weld::Label> mxErrorMessage;
34
35public:
37 ScViewData& rViewData);
38
39 virtual ~ScFourierAnalysisDialog() override;
40
41 virtual void Close() override;
42
43protected:
44 virtual TranslateId GetUndoNameId() override;
45 virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
46 virtual bool InputRangesValid() override;
47
48private:
49 void getOptions();
50 void getDataLabel(OUString& rLabel);
51 void genFormula(OUString& rFormula);
52
53 DECL_LINK(CheckBoxHdl, weld::Toggleable&, void);
54};
55
56/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
size_t SCSIZE
size_t typedef to be able to find places where code was changed from USHORT to size_t and is used to ...
Definition: address.hxx:44
ScFourierAnalysisDialog(SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData &rViewData)
virtual ScRange ApplyOutput(ScDocShell *pDocShell) override
virtual ~ScFourierAnalysisDialog() override
virtual void Close() override
std::unique_ptr< weld::Label > mxErrorMessage
void getDataLabel(OUString &rLabel)
std::unique_ptr< weld::CheckButton > mxPolarCheckBox
void genFormula(OUString &rFormula)
virtual TranslateId GetUndoNameId() override
virtual bool InputRangesValid() override
std::unique_ptr< weld::CheckButton > mxInverseCheckBox
DECL_LINK(CheckBoxHdl, weld::Toggleable &, void)
std::unique_ptr< weld::SpinButton > mxMinMagnitudeField
std::unique_ptr< weld::CheckButton > mxWithLabelsCheckBox