LibreOffice Module sw (master)
1
sw
source
core
inc
dropdowncontentcontrolbutton.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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 "
contentcontrolbutton.hxx
"
13
14
class
SwEditWin
;
15
class
SwContentControl
;
16
21
class
SwDropDownContentControlButton
final :
public
SwContentControlButton
22
{
23
private
:
24
std::unique_ptr<weld::TreeView>
m_xTreeView
;
25
26
DECL_LINK
(ListBoxHandler,
weld::TreeView
&,
bool
);
27
28
void
InitDropdown
();
29
30
public
:
31
SwDropDownContentControlButton
(
SwEditWin
* pEditWin,
32
const
std::shared_ptr<SwContentControl>& pContentControl);
33
virtual
~SwDropDownContentControlButton
()
override
;
34
35
virtual
void
LaunchPopup
()
override
;
36
virtual
void
DestroyPopup
()
override
;
37
};
38
39
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SwContentControlButton
This button is shown when the cursor is inside a content control with drop-down capability.
Definition:
contentcontrolbutton.hxx:21
SwContentControl
Stores the properties of a content control.
Definition:
formatcontentcontrol.hxx:111
SwDropDownContentControlButton
This button is shown when the cursor is inside a drop-down content control.
Definition:
dropdowncontentcontrolbutton.hxx:22
SwDropDownContentControlButton::m_xTreeView
std::unique_ptr< weld::TreeView > m_xTreeView
Definition:
dropdowncontentcontrolbutton.hxx:24
SwDropDownContentControlButton::DestroyPopup
virtual void DestroyPopup() override
Definition:
dropdowncontentcontrolbutton.cxx:90
SwDropDownContentControlButton::~SwDropDownContentControlButton
virtual ~SwDropDownContentControlButton() override
Definition:
dropdowncontentcontrolbutton.cxx:76
SwDropDownContentControlButton::InitDropdown
void InitDropdown()
Definition:
dropdowncontentcontrolbutton.cxx:21
SwDropDownContentControlButton::SwDropDownContentControlButton
SwDropDownContentControlButton(SwEditWin *pEditWin, const std::shared_ptr< SwContentControl > &pContentControl)
Definition:
dropdowncontentcontrolbutton.cxx:70
SwDropDownContentControlButton::LaunchPopup
virtual void LaunchPopup() override
Definition:
dropdowncontentcontrolbutton.cxx:78
SwDropDownContentControlButton::DECL_LINK
DECL_LINK(ListBoxHandler, weld::TreeView &, bool)
SwEditWin
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
Definition:
edtwin.hxx:61
weld::TreeView
contentcontrolbutton.hxx
Generated on Sun Jul 30 2023 04:28:36 for LibreOffice Module sw (master) by
1.9.3