LibreOffice Module sc (master)  1
sortkeydlg.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_SORTKEYDLG_HXX
11 #define INCLUDED_SC_SOURCE_UI_INC_SORTKEYDLG_HXX
12 
13 #include <vector>
14 #include <memory>
15 
16 #include <vcl/weld.hxx>
17 
19 {
20  std::unique_ptr<weld::Builder> m_xBuilder;
21 
22  std::unique_ptr<weld::Frame> m_xFrame;
23  std::unique_ptr<weld::ComboBox> m_xLbSort;
24  std::unique_ptr<weld::RadioButton> m_xBtnUp;
25  std::unique_ptr<weld::RadioButton> m_xBtnDown;
27 
30 
31  void DisableField();
32  void EnableField();
33 };
34 
35 typedef std::vector<std::unique_ptr<ScSortKeyItem>> ScSortKeyItems;
36 
38 {
39 public:
41 
42 private:
44 
45 public:
48 
49  void AddSortKey(sal_uInt16 nItem);
50 };
51 
52 #endif // INCLUDED_SC_SOURCE_UI_INC_SORTKEYDLG_HXX
53 
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::Builder > m_xBuilder
Definition: sortkeydlg.hxx:20
ScSortKeyItem(weld::Container *pParent)
Definition: sortkeydlg.cxx:14
weld::Container * m_pBox
Definition: sortkeydlg.hxx:43
std::unique_ptr< weld::Frame > m_xFrame
Definition: sortkeydlg.hxx:22
ScSortKeyWindow(weld::Container *pBox)
Definition: sortkeydlg.cxx:42
void EnableField()
Definition: sortkeydlg.cxx:37
std::unique_ptr< weld::ComboBox > m_xLbSort
Definition: sortkeydlg.hxx:23
void AddSortKey(sal_uInt16 nItem)
Definition: sortkeydlg.cxx:51
ScSortKeyItems m_aSortKeyItems
Definition: sortkeydlg.hxx:40
weld::Container * m_pParent
Definition: sortkeydlg.hxx:26
std::unique_ptr< weld::RadioButton > m_xBtnUp
Definition: sortkeydlg.hxx:24
void DisableField()
Definition: sortkeydlg.cxx:32
std::vector< std::unique_ptr< ScSortKeyItem > > ScSortKeyItems
Definition: sortkeydlg.hxx:35
std::unique_ptr< weld::RadioButton > m_xBtnDown
Definition: sortkeydlg.hxx:25