LibreOffice Module svx (master)
1
svx
source
sidebar
effect
EffectPropertyPanel.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
#ifndef INCLUDED_SVX_SOURCE_SIDEBAR_EFFECT_EFFECTPROPERTYPANEL_HXX
10
#define INCLUDED_SVX_SOURCE_SIDEBAR_EFFECT_EFFECTPROPERTYPANEL_HXX
11
12
#include <
sfx2/sidebar/ControllerItem.hxx
>
13
#include <
sfx2/sidebar/PanelLayout.hxx
>
14
15
class
ColorListBox
;
16
17
namespace
svx::sidebar
18
{
19
class
EffectPropertyPanel
:
public
PanelLayout
,
20
public
::sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
21
{
22
public
:
23
EffectPropertyPanel
(
weld::Widget
* pParent,
SfxBindings
* pBindings);
24
virtual
~EffectPropertyPanel
()
override
;
25
26
static
std::unique_ptr<PanelLayout>
Create
(
weld::Widget
* pParent,
SfxBindings
* pBindings);
27
28
virtual
void
NotifyItemUpdate
(
const
sal_uInt16 nSId,
const
SfxItemState
eState,
29
const
SfxPoolItem
* pState)
override
;
30
31
virtual
void
GetControlState
(
const
sal_uInt16
/*nSId*/
,
32
boost::property_tree::ptree&
/*rState*/
)
override
{};
33
34
private
:
35
sfx2::sidebar::ControllerItem
maGlowColorController
;
36
sfx2::sidebar::ControllerItem
maGlowRadiusController
;
37
sfx2::sidebar::ControllerItem
maGlowTransparencyController
;
38
std::unique_ptr<weld::Label>
mxFTTransparency
;
39
sfx2::sidebar::ControllerItem
maSoftEdgeRadiusController
;
40
41
SfxBindings
*
mpBindings
;
42
43
std::unique_ptr<weld::MetricSpinButton>
mxGlowRadius
;
44
std::unique_ptr<ColorListBox>
mxLBGlowColor
;
45
std::unique_ptr<weld::MetricSpinButton>
mxGlowTransparency
;
46
std::unique_ptr<weld::Label>
mxFTColor
;
47
std::unique_ptr<weld::MetricSpinButton>
mxSoftEdgeRadius
;
48
49
void
Initialize
();
50
void
UpdateControls
();
51
52
DECL_LINK
(ModifyGlowColorHdl,
ColorListBox
&,
void
);
53
DECL_LINK
(ModifyGlowRadiusHdl,
weld::MetricSpinButton
&,
void
);
54
DECL_LINK
(ModifyGlowTransparencyHdl,
weld::MetricSpinButton
&,
void
);
55
DECL_LINK
(ModifySoftEdgeRadiusHdl,
weld::MetricSpinButton
&,
void
);
56
};
57
}
58
59
#endif
60
61
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ControllerItem.hxx
PanelLayout.hxx
ColorListBox
Definition:
colorbox.hxx:30
PanelLayout
SfxBindings
SfxPoolItem
sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
sfx2::sidebar::ControllerItem
svx::sidebar::EffectPropertyPanel
Definition:
EffectPropertyPanel.hxx:21
svx::sidebar::EffectPropertyPanel::maGlowRadiusController
sfx2::sidebar::ControllerItem maGlowRadiusController
Definition:
EffectPropertyPanel.hxx:36
svx::sidebar::EffectPropertyPanel::NotifyItemUpdate
virtual void NotifyItemUpdate(const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState) override
Definition:
EffectPropertyPanel.cxx:104
svx::sidebar::EffectPropertyPanel::DECL_LINK
DECL_LINK(ModifyGlowColorHdl, ColorListBox &, void)
svx::sidebar::EffectPropertyPanel::mpBindings
SfxBindings * mpBindings
Definition:
EffectPropertyPanel.hxx:41
svx::sidebar::EffectPropertyPanel::~EffectPropertyPanel
virtual ~EffectPropertyPanel() override
Definition:
EffectPropertyPanel.cxx:43
svx::sidebar::EffectPropertyPanel::mxSoftEdgeRadius
std::unique_ptr< weld::MetricSpinButton > mxSoftEdgeRadius
Definition:
EffectPropertyPanel.hxx:47
svx::sidebar::EffectPropertyPanel::mxFTTransparency
std::unique_ptr< weld::Label > mxFTTransparency
Definition:
EffectPropertyPanel.hxx:38
svx::sidebar::EffectPropertyPanel::mxGlowRadius
std::unique_ptr< weld::MetricSpinButton > mxGlowRadius
Definition:
EffectPropertyPanel.hxx:43
svx::sidebar::EffectPropertyPanel::Create
static std::unique_ptr< PanelLayout > Create(weld::Widget *pParent, SfxBindings *pBindings)
Definition:
EffectPropertyPanel.cxx:160
svx::sidebar::EffectPropertyPanel::mxLBGlowColor
std::unique_ptr< ColorListBox > mxLBGlowColor
Definition:
EffectPropertyPanel.hxx:44
svx::sidebar::EffectPropertyPanel::mxGlowTransparency
std::unique_ptr< weld::MetricSpinButton > mxGlowTransparency
Definition:
EffectPropertyPanel.hxx:45
svx::sidebar::EffectPropertyPanel::DECL_LINK
DECL_LINK(ModifyGlowTransparencyHdl, weld::MetricSpinButton &, void)
svx::sidebar::EffectPropertyPanel::EffectPropertyPanel
EffectPropertyPanel(weld::Widget *pParent, SfxBindings *pBindings)
Definition:
EffectPropertyPanel.cxx:24
svx::sidebar::EffectPropertyPanel::mxFTColor
std::unique_ptr< weld::Label > mxFTColor
Definition:
EffectPropertyPanel.hxx:46
svx::sidebar::EffectPropertyPanel::maSoftEdgeRadiusController
sfx2::sidebar::ControllerItem maSoftEdgeRadiusController
Definition:
EffectPropertyPanel.hxx:39
svx::sidebar::EffectPropertyPanel::GetControlState
virtual void GetControlState(const sal_uInt16, boost::property_tree::ptree &) override
Definition:
EffectPropertyPanel.hxx:31
svx::sidebar::EffectPropertyPanel::maGlowTransparencyController
sfx2::sidebar::ControllerItem maGlowTransparencyController
Definition:
EffectPropertyPanel.hxx:37
svx::sidebar::EffectPropertyPanel::DECL_LINK
DECL_LINK(ModifyGlowRadiusHdl, weld::MetricSpinButton &, void)
svx::sidebar::EffectPropertyPanel::Initialize
void Initialize()
Definition:
EffectPropertyPanel.cxx:58
svx::sidebar::EffectPropertyPanel::UpdateControls
void UpdateControls()
Definition:
EffectPropertyPanel.cxx:95
svx::sidebar::EffectPropertyPanel::DECL_LINK
DECL_LINK(ModifySoftEdgeRadiusHdl, weld::MetricSpinButton &, void)
svx::sidebar::EffectPropertyPanel::maGlowColorController
sfx2::sidebar::ControllerItem maGlowColorController
Definition:
EffectPropertyPanel.hxx:32
weld::MetricSpinButton
weld::Widget
svx::sidebar
SfxItemState
SfxItemState
Generated on Sun Jul 30 2023 04:28:15 for LibreOffice Module svx (master) by
1.9.3