LibreOffice Module cui (master) 1
tsaurls.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
14#include <set>
15
17{
18private:
19 std::unique_ptr<weld::Button> m_xAddBtn;
20 std::unique_ptr<weld::Button> m_xDeleteBtn;
21 std::unique_ptr<weld::Button> m_xOKBtn;
22 std::unique_ptr<weld::TreeView> m_xURLListBox;
23 std::unique_ptr<weld::Label> m_xEnterAUrl;
24
25 DECL_LINK(AddHdl_Impl, weld::Button&, void);
26 DECL_LINK(DeleteHdl_Impl, weld::Button&, void);
27 DECL_LINK(OKHdl_Impl, weld::Button&, void);
28 // After operations in a TreeView we have nothing selected
29 // Is Selected element handler for the TreeView
30 DECL_LINK(SelectHdl, weld::TreeView&, void);
31
32 std::set<OUString> m_aURLs;
33
34 void AddTSAURL(const OUString& rURL);
35
36public:
37 explicit TSAURLsDialog(weld::Window* pParent);
38 virtual ~TSAURLsDialog() override;
39};
40
41/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::Button > m_xOKBtn
Definition: tsaurls.hxx:21
std::set< OUString > m_aURLs
Definition: tsaurls.hxx:32
DECL_LINK(AddHdl_Impl, weld::Button &, void)
void AddTSAURL(const OUString &rURL)
Definition: tsaurls.cxx:74
DECL_LINK(SelectHdl, weld::TreeView &, void)
std::unique_ptr< weld::Label > m_xEnterAUrl
Definition: tsaurls.hxx:23
DECL_LINK(DeleteHdl_Impl, weld::Button &, void)
DECL_LINK(OKHdl_Impl, weld::Button &, void)
virtual ~TSAURLsDialog() override
Definition: tsaurls.cxx:72
std::unique_ptr< weld::TreeView > m_xURLListBox
Definition: tsaurls.hxx:22
std::unique_ptr< weld::Button > m_xAddBtn
Definition: tsaurls.hxx:19
std::unique_ptr< weld::Button > m_xDeleteBtn
Definition: tsaurls.hxx:20
TSAURLsDialog(weld::Window *pParent)
Definition: tsaurls.cxx:19