LibreOffice Module sc (master) 1
colorformat.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#pragma once
11
12#include <vcl/weld.hxx>
13#include <svx/colorbox.hxx>
14#include <address.hxx>
15
17class ScDocument;
19
21{
22private:
25
28
29 std::unique_ptr<weld::Button> mxBtnOk;
30
31 std::unique_ptr<ColorListBox> mxLbPos;
32 std::unique_ptr<ColorListBox> mxLbNeg;
33 std::unique_ptr<ColorListBox> mxLbAxisCol;
34
35 std::unique_ptr<weld::ComboBox> mxLbFillType;
36 std::unique_ptr<weld::ComboBox> mxLbTypeMin;
37 std::unique_ptr<weld::ComboBox> mxLbTypeMax;
38 std::unique_ptr<weld::ComboBox> mxLbAxisPos;
39
40 std::unique_ptr<weld::Entry> mxEdMin;
41 std::unique_ptr<weld::Entry> mxEdMax;
42 std::unique_ptr<weld::Entry> mxLenMin;
43 std::unique_ptr<weld::Entry> mxLenMax;
44
45 std::unique_ptr<weld::CheckButton> mxCbOnlyBar;
46
47 std::unique_ptr<weld::Label> mxStrSameValueFT;
48
49 DECL_LINK(OkBtnHdl, weld::Button&, void);
50 DECL_LINK(TypeSelectHdl, weld::ComboBox&, void);
51 DECL_LINK(PosSelectHdl, weld::ComboBox&, void);
52
53 void Init();
54
55public:
57 const ScAddress& rPos);
58 virtual ~ScDataBarSettingsDlg() override;
59
61};
62
63/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
DECL_LINK(TypeSelectHdl, weld::ComboBox &, void)
std::unique_ptr< ColorListBox > mxLbNeg
Definition: colorformat.hxx:32
std::unique_ptr< weld::CheckButton > mxCbOnlyBar
Definition: colorformat.hxx:45
std::unique_ptr< ColorListBox > mxLbAxisCol
Definition: colorformat.hxx:33
virtual ~ScDataBarSettingsDlg() override
DECL_LINK(OkBtnHdl, weld::Button &, void)
OUString maStrWarnSameValue
Definition: colorformat.hxx:23
ScDataBarSettingsDlg(weld::Window *pParent, const ScDataBarFormatData &rData, ScDocument *pDoc, const ScAddress &rPos)
Definition: colorformat.cxx:71
std::unique_ptr< weld::Button > mxBtnOk
Definition: colorformat.hxx:29
std::unique_ptr< weld::Label > mxStrSameValueFT
Definition: colorformat.hxx:47
std::unique_ptr< weld::Entry > mxLenMin
Definition: colorformat.hxx:42
SvNumberFormatter * mpNumberFormatter
Definition: colorformat.hxx:24
std::unique_ptr< weld::Entry > mxEdMax
Definition: colorformat.hxx:41
std::unique_ptr< weld::ComboBox > mxLbAxisPos
Definition: colorformat.hxx:38
ScDocument * mpDoc
Definition: colorformat.hxx:26
std::unique_ptr< weld::Entry > mxEdMin
Definition: colorformat.hxx:40
std::unique_ptr< ColorListBox > mxLbPos
Definition: colorformat.hxx:31
ScDataBarFormatData * GetData()
std::unique_ptr< weld::ComboBox > mxLbTypeMax
Definition: colorformat.hxx:37
DECL_LINK(PosSelectHdl, weld::ComboBox &, void)
std::unique_ptr< weld::ComboBox > mxLbFillType
Definition: colorformat.hxx:35
std::unique_ptr< weld::ComboBox > mxLbTypeMin
Definition: colorformat.hxx:36
std::unique_ptr< weld::Entry > mxLenMax
Definition: colorformat.hxx:43