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