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

#include <extrusioncontrols.hxx>

Inheritance diagram for svx::ExtrusionLightingWindow:
[legend]
Collaboration diagram for svx::ExtrusionLightingWindow:
[legend]

Public Member Functions

 ExtrusionLightingWindow (svt::ToolboxController &rController, vcl::Window *pParentWindow)
 
virtual ~ExtrusionLightingWindow () override
 
virtual void dispose () override
 
virtual void statusChanged (const css::frame::FeatureStateEvent &Event) override
 
virtual void DataChanged (const DataChangedEvent &rDCEvt) override
 
- Public Member Functions inherited from svtools::ToolbarMenu
 ToolbarMenu (const css::uno::Reference< css::frame::XFrame > &rFrame, vcl::Window *pParentWindow, WinBits nBits)
 
virtual ~ToolbarMenu () override
 
virtual void MouseMove (const MouseEvent &rMEvt) override
 
virtual void MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual void MouseButtonUp (const MouseEvent &rMEvt) override
 
virtual void KeyInput (const KeyEvent &rKEvent) override
 
virtual void Command (const CommandEvent &rCEvt) override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual void GetFocus () override
 
virtual void LoseFocus () override
 
void appendEntry (int nEntryId, const OUString &rStr, MenuItemBits nItemBits=MenuItemBits::NONE)
 
void appendEntry (int nEntryId, const OUString &rStr, const Image &rImage)
 
void appendEntry (int nEntryId, Control *pControl)
 
void appendSeparator ()
 
VclPtr< ValueSetcreateEmptyValueSetControl ()
 
void checkEntry (int nEntryId, bool bCheck)
 
void enableEntry (int nEntryId, bool bEnable)
 
void setEntryText (int nEntryId, const OUString &rStr)
 
void setEntryImage (int nEntryId, const Image &rImage)
 
const SizegetMenuSize () const
 
void SetSelectHdl (const Link< ToolbarMenu *, void > &rLink)
 
int getSelectedEntryId () const
 
int getHighlightedEntryId () const
 
- Public Member Functions inherited from svtools::ToolbarPopup
 ToolbarPopup (const css::uno::Reference< css::frame::XFrame > &rFrame, vcl::Window *pParentWindow, WinBits nBits)
 
 ToolbarPopup (const css::uno::Reference< css::frame::XFrame > &rFrame, vcl::Window *pParentWindow, const OString &rID, const OUString &rUIXMLDescription)
 
virtual ~ToolbarPopup () override
 
- Public Member Functions inherited from svtools::ToolbarPopupBase
 ToolbarPopupBase (const css::uno::Reference< css::frame::XFrame > &rFrame)
 
virtual ~ToolbarPopupBase ()
 

Private Member Functions

void implSetIntensity (int nLevel, bool bEnabled)
 
void implSetDirection (int nDirection, bool bEnabled)
 
 DECL_LINK (SelectToolbarMenuHdl, ToolbarMenu *, void)
 
 DECL_LINK (SelectValueSetHdl, ValueSet *, void)
 
void SelectHdl (void const *)
 

Private Attributes

svt::ToolboxControllermrController
 
VclPtr< ValueSetmpLightingSet
 
Image maImgLightingOff [9]
 
Image maImgLightingOn [9]
 
Image maImgLightingPreview [9]
 
Image const maImgBright
 
Image const maImgNormal
 
Image const maImgDim
 
int mnDirection
 
bool mbDirectionEnabled
 

Additional Inherited Members

- Protected Member Functions inherited from svtools::ToolbarMenu
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
 
void StateChanged (StateChangedType nType) override
 
void DataChanged (const DataChangedEvent &rDCEvt) override
 
- Protected Member Functions inherited from svtools::ToolbarPopup
bool IsInPopupMode () const
 
void EndPopupMode ()
 
- Protected Member Functions inherited from svtools::ToolbarPopupBase
void AddStatusListener (const OUString &rCommandURL)
 
- Protected Attributes inherited from svtools::ToolbarPopupBase
css::uno::Reference< css::frame::XFrame > mxFrame
 
rtl::Reference< svt::FrameStatusListenermxStatusListener
 

Detailed Description

Definition at line 135 of file extrusioncontrols.hxx.

Constructor & Destructor Documentation

svx::ExtrusionLightingWindow::ExtrusionLightingWindow ( svt::ToolboxController rController,
vcl::Window pParentWindow 
)
svx::ExtrusionLightingWindow::~ExtrusionLightingWindow ( )
overridevirtual

Definition at line 639 of file extrusioncontrols.cxx.

Member Function Documentation

void svx::ExtrusionLightingWindow::DataChanged ( const DataChangedEvent rDCEvt)
overridevirtual
svx::ExtrusionLightingWindow::DECL_LINK ( SelectToolbarMenuHdl  ,
ToolbarMenu ,
void   
)
private
svx::ExtrusionLightingWindow::DECL_LINK ( SelectValueSetHdl  ,
ValueSet ,
void   
)
private
void svx::ExtrusionLightingWindow::dispose ( void  )
overridevirtual

Reimplemented from svtools::ToolbarMenu.

Definition at line 644 of file extrusioncontrols.cxx.

References VclPtr< reference_type >::clear(), and mpLightingSet.

void svx::ExtrusionLightingWindow::implSetDirection ( int  nDirection,
bool  bEnabled 
)
private
void svx::ExtrusionLightingWindow::implSetIntensity ( int  nLevel,
bool  bEnabled 
)
private
void svx::ExtrusionLightingWindow::SelectHdl ( void const *  pControl)
private
void svx::ExtrusionLightingWindow::statusChanged ( const css::frame::FeatureStateEvent &  Event)
overridevirtual

Reimplemented from svtools::ToolbarPopupBase.

Definition at line 687 of file extrusioncontrols.cxx.

References implSetDirection(), and implSetIntensity().

Member Data Documentation

Image const svx::ExtrusionLightingWindow::maImgBright
private

Definition at line 145 of file extrusioncontrols.hxx.

Referenced by DataChanged(), and ExtrusionLightingWindow().

Image const svx::ExtrusionLightingWindow::maImgDim
private

Definition at line 147 of file extrusioncontrols.hxx.

Referenced by DataChanged(), and ExtrusionLightingWindow().

Image svx::ExtrusionLightingWindow::maImgLightingOff[9]
private

Definition at line 141 of file extrusioncontrols.hxx.

Referenced by ExtrusionLightingWindow(), and implSetDirection().

Image svx::ExtrusionLightingWindow::maImgLightingOn[9]
private

Definition at line 142 of file extrusioncontrols.hxx.

Referenced by ExtrusionLightingWindow(), and implSetDirection().

Image svx::ExtrusionLightingWindow::maImgLightingPreview[9]
private

Definition at line 143 of file extrusioncontrols.hxx.

Referenced by ExtrusionLightingWindow(), and implSetDirection().

Image const svx::ExtrusionLightingWindow::maImgNormal
private

Definition at line 146 of file extrusioncontrols.hxx.

Referenced by DataChanged(), and ExtrusionLightingWindow().

bool svx::ExtrusionLightingWindow::mbDirectionEnabled
private

Definition at line 150 of file extrusioncontrols.hxx.

Referenced by DataChanged(), and implSetDirection().

int svx::ExtrusionLightingWindow::mnDirection
private

Definition at line 149 of file extrusioncontrols.hxx.

Referenced by DataChanged(), and implSetDirection().

VclPtr<ValueSet> svx::ExtrusionLightingWindow::mpLightingSet
private
svt::ToolboxController& svx::ExtrusionLightingWindow::mrController
private

Definition at line 138 of file extrusioncontrols.hxx.

Referenced by SelectHdl().


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