LibreOffice Module chart2 (master) 1
ChartResourceGroupDlgs.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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
22#include <vcl/weld.hxx>
23
24namespace chart
25{
26class ChartTypeParameter;
27
29{
30public:
31 explicit SplinePropertiesDialog(weld::Window* pParent);
32
33 void fillControls(const ChartTypeParameter& rParameter);
34 void fillParameter(ChartTypeParameter& rParameter, bool bSmoothLines);
35
36private:
37 DECL_LINK(SplineTypeListBoxHdl, weld::ComboBox&, void);
38
39private:
40 std::unique_ptr<weld::ComboBox> m_xLB_Spline_Type;
41 std::unique_ptr<weld::SpinButton> m_xMF_SplineResolution;
42 std::unique_ptr<weld::Label> m_xFT_SplineOrder;
43 std::unique_ptr<weld::SpinButton> m_xMF_SplineOrder;
44};
45
47{
48public:
49 explicit SteppedPropertiesDialog(weld::Window* pParent);
50
51 void fillControls(const ChartTypeParameter& rParameter);
52 void fillParameter(ChartTypeParameter& rParameter, bool bSteppedLines);
53
54private:
55 std::unique_ptr<weld::RadioButton> m_xRB_Start;
56 std::unique_ptr<weld::RadioButton> m_xRB_End;
57 std::unique_ptr<weld::RadioButton> m_xRB_CenterX;
58 std::unique_ptr<weld::RadioButton> m_xRB_CenterY;
59};
60
61} //namespace chart
62
63/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void fillControls(const ChartTypeParameter &rParameter)
std::unique_ptr< weld::SpinButton > m_xMF_SplineOrder
std::unique_ptr< weld::Label > m_xFT_SplineOrder
std::unique_ptr< weld::ComboBox > m_xLB_Spline_Type
std::unique_ptr< weld::SpinButton > m_xMF_SplineResolution
void fillParameter(ChartTypeParameter &rParameter, bool bSmoothLines)
SplinePropertiesDialog(weld::Window *pParent)
DECL_LINK(SplineTypeListBoxHdl, weld::ComboBox &, void)
std::unique_ptr< weld::RadioButton > m_xRB_CenterY
std::unique_ptr< weld::RadioButton > m_xRB_End
SteppedPropertiesDialog(weld::Window *pParent)
void fillParameter(ChartTypeParameter &rParameter, bool bSteppedLines)
void fillControls(const ChartTypeParameter &rParameter)
std::unique_ptr< weld::RadioButton > m_xRB_CenterX
std::unique_ptr< weld::RadioButton > m_xRB_Start