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