LibreOffice Module svx (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
svx::sidebar::GraphicPropertyPanel Class Reference

#include <GraphicPropertyPanel.hxx>

Inheritance diagram for svx::sidebar::GraphicPropertyPanel:
[legend]
Collaboration diagram for svx::sidebar::GraphicPropertyPanel:
[legend]

Public Member Functions

virtual ~GraphicPropertyPanel () override
 
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState) override
 
virtual void GetControlState (const sal_uInt16, boost::property_tree::ptree &) override
 
SfxBindingsGetBindings ()
 
 GraphicPropertyPanel (weld::Widget *pParent, SfxBindings *pBindings)
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (weld::Widget *pParent, const OUString &rID, const OUString &rUIXMLDescription)
 
void SetPanel (sfx2::sidebar::Panel *pPanel)
 
virtual ~PanelLayout ()
 
Size get_preferred_size () const
 
void queue_resize ()
 
- Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState)=0
 
virtual void GetControlState (const sal_uInt16 nSId, boost::property_tree::ptree &rState)=0
 
virtual ~ItemUpdateReceiverInterface ()
 

Static Public Member Functions

static std::unique_ptr< PanelLayoutCreate (weld::Widget *pParent, SfxBindings *pBindings)
 

Private Member Functions

 DECL_LINK (ModifyBrightnessHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ModifyContrastHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ModifyTransHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ClickColorModeHdl, weld::ComboBox &, void)
 
void Initialize ()
 

Private Attributes

::sfx2::sidebar::ControllerItem maBrightControl
 
::sfx2::sidebar::ControllerItem maContrastControl
 
::sfx2::sidebar::ControllerItem maTransparenceControl
 
::sfx2::sidebar::ControllerItem maRedControl
 
::sfx2::sidebar::ControllerItem maGreenControl
 
::sfx2::sidebar::ControllerItem maBlueControl
 
::sfx2::sidebar::ControllerItem maGammaControl
 
::sfx2::sidebar::ControllerItem maModeControl
 
SfxBindingsmpBindings
 
std::unique_ptr< weld::MetricSpinButtonmxMtrBrightness
 
std::unique_ptr< weld::MetricSpinButtonmxMtrContrast
 
std::unique_ptr< weld::ComboBoxmxLBColorMode
 
std::unique_ptr< weld::MetricSpinButtonmxMtrTrans
 

Additional Inherited Members

- Protected Member Functions inherited from PanelLayout
virtual void DataChanged (const DataChangedEvent &rEvent)
 
virtual void DumpAsPropertyTree (tools::JsonWriter &)
 
virtual weld::WindowGetFrameWeld () const
 
- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
sfx2::sidebar::Panelm_pPanel
 

Detailed Description

Definition at line 28 of file GraphicPropertyPanel.hxx.

Constructor & Destructor Documentation

◆ ~GraphicPropertyPanel()

svx::sidebar::GraphicPropertyPanel::~GraphicPropertyPanel ( )
overridevirtual

◆ GraphicPropertyPanel()

svx::sidebar::GraphicPropertyPanel::GraphicPropertyPanel ( weld::Widget pParent,
SfxBindings pBindings 
)

Definition at line 38 of file GraphicPropertyPanel.cxx.

References Initialize(), mxLBColorMode, and PERCENT().

Member Function Documentation

◆ Create()

std::unique_ptr< PanelLayout > svx::sidebar::GraphicPropertyPanel::Create ( weld::Widget pParent,
SfxBindings pBindings 
)
static

Definition at line 125 of file GraphicPropertyPanel.cxx.

◆ DECL_LINK() [1/4]

svx::sidebar::GraphicPropertyPanel::DECL_LINK ( ClickColorModeHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/4]

svx::sidebar::GraphicPropertyPanel::DECL_LINK ( ModifyBrightnessHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [3/4]

svx::sidebar::GraphicPropertyPanel::DECL_LINK ( ModifyContrastHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [4/4]

svx::sidebar::GraphicPropertyPanel::DECL_LINK ( ModifyTransHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ GetBindings()

SfxBindings * svx::sidebar::GraphicPropertyPanel::GetBindings ( )
inline

Definition at line 48 of file GraphicPropertyPanel.hxx.

References mpBindings.

◆ GetControlState()

virtual void svx::sidebar::GraphicPropertyPanel::GetControlState ( const  sal_uInt16,
boost::property_tree::ptree &   
)
inlineoverridevirtual

◆ Initialize()

void svx::sidebar::GraphicPropertyPanel::Initialize ( )
private

◆ NotifyItemUpdate()

void svx::sidebar::GraphicPropertyPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

Member Data Documentation

◆ maBlueControl

::sfx2::sidebar::ControllerItem svx::sidebar::GraphicPropertyPanel::maBlueControl
private

Definition at line 61 of file GraphicPropertyPanel.hxx.

Referenced by ~GraphicPropertyPanel().

◆ maBrightControl

::sfx2::sidebar::ControllerItem svx::sidebar::GraphicPropertyPanel::maBrightControl
private

Definition at line 56 of file GraphicPropertyPanel.hxx.

Referenced by ~GraphicPropertyPanel().

◆ maContrastControl

::sfx2::sidebar::ControllerItem svx::sidebar::GraphicPropertyPanel::maContrastControl
private

Definition at line 57 of file GraphicPropertyPanel.hxx.

Referenced by ~GraphicPropertyPanel().

◆ maGammaControl

::sfx2::sidebar::ControllerItem svx::sidebar::GraphicPropertyPanel::maGammaControl
private

Definition at line 62 of file GraphicPropertyPanel.hxx.

Referenced by ~GraphicPropertyPanel().

◆ maGreenControl

::sfx2::sidebar::ControllerItem svx::sidebar::GraphicPropertyPanel::maGreenControl
private

Definition at line 60 of file GraphicPropertyPanel.hxx.

Referenced by ~GraphicPropertyPanel().

◆ maModeControl

::sfx2::sidebar::ControllerItem svx::sidebar::GraphicPropertyPanel::maModeControl
private

Definition at line 63 of file GraphicPropertyPanel.hxx.

Referenced by ~GraphicPropertyPanel().

◆ maRedControl

::sfx2::sidebar::ControllerItem svx::sidebar::GraphicPropertyPanel::maRedControl
private

Definition at line 59 of file GraphicPropertyPanel.hxx.

Referenced by ~GraphicPropertyPanel().

◆ maTransparenceControl

::sfx2::sidebar::ControllerItem svx::sidebar::GraphicPropertyPanel::maTransparenceControl
private

Definition at line 58 of file GraphicPropertyPanel.hxx.

Referenced by ~GraphicPropertyPanel().

◆ mpBindings

SfxBindings* svx::sidebar::GraphicPropertyPanel::mpBindings
private

Definition at line 65 of file GraphicPropertyPanel.hxx.

Referenced by GetBindings().

◆ mxLBColorMode

std::unique_ptr<weld::ComboBox> svx::sidebar::GraphicPropertyPanel::mxLBColorMode
private

◆ mxMtrBrightness

std::unique_ptr<weld::MetricSpinButton> svx::sidebar::GraphicPropertyPanel::mxMtrBrightness
private

Definition at line 68 of file GraphicPropertyPanel.hxx.

Referenced by Initialize(), NotifyItemUpdate(), and ~GraphicPropertyPanel().

◆ mxMtrContrast

std::unique_ptr<weld::MetricSpinButton> svx::sidebar::GraphicPropertyPanel::mxMtrContrast
private

Definition at line 69 of file GraphicPropertyPanel.hxx.

Referenced by Initialize(), NotifyItemUpdate(), and ~GraphicPropertyPanel().

◆ mxMtrTrans

std::unique_ptr<weld::MetricSpinButton> svx::sidebar::GraphicPropertyPanel::mxMtrTrans
private

Definition at line 71 of file GraphicPropertyPanel.hxx.

Referenced by Initialize(), NotifyItemUpdate(), and ~GraphicPropertyPanel().


The documentation for this class was generated from the following files: