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;
25 std::unique_ptr<weld::Label> m_xLabel;
27
30
31 void DisableField();
32 void EnableField();
33};
34
35typedef std::vector<std::unique_ptr<ScSortKeyItem>> ScSortKeyItems;
36
38{
39public:
41
42private:
44
45public:
48
49 void AddSortKey(sal_uInt16 nItem);
50};
51
52/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void AddSortKey(sal_uInt16 nItem)
Definition: sortkeydlg.cxx:59
ScSortKeyWindow(weld::Container *pBox)
Definition: sortkeydlg.cxx:50
weld::Container * m_pBox
Definition: sortkeydlg.hxx:43
ScSortKeyItems m_aSortKeyItems
Definition: sortkeydlg.hxx:40
std::vector< std::unique_ptr< ScSortKeyItem > > ScSortKeyItems
Definition: sortkeydlg.hxx:35
std::unique_ptr< weld::RadioButton > m_xBtnDown
Definition: sortkeydlg.hxx:24
std::unique_ptr< weld::Label > m_xLabel
Definition: sortkeydlg.hxx:25
weld::Container * m_pParent
Definition: sortkeydlg.hxx:26
std::unique_ptr< weld::ComboBox > m_xLbSort
Definition: sortkeydlg.hxx:22
std::unique_ptr< weld::Frame > m_xFrame
Definition: sortkeydlg.hxx:21
ScSortKeyItem(weld::Container *pParent)
Definition: sortkeydlg.cxx:18
void EnableField()
Definition: sortkeydlg.cxx:45
std::unique_ptr< weld::Builder > m_xBuilder
Definition: sortkeydlg.hxx:19
std::unique_ptr< weld::RadioButton > m_xBtnUp
Definition: sortkeydlg.hxx:23
void DisableField()
Definition: sortkeydlg.cxx:40