LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ImplDockingWindowWrapper Class Referencefinal

ImplDockingWindowWrapper. More...

#include <impldockingwrapper.hxx>

Collaboration diagram for ImplDockingWindowWrapper:
[legend]

Public Member Functions

 ImplDockingWindowWrapper (const vcl::Window *pWindow)
 
 ~ImplDockingWindowWrapper ()
 
vcl::WindowGetWindow ()
 
void ImplStartDocking (const Point &rPos)
 
void StartDocking (const Point &rPos, tools::Rectangle const &rRect)
 
bool Docking (const Point &rPos, tools::Rectangle &rRect)
 
void EndDocking (const tools::Rectangle &rRect, bool bFloatMode)
 
bool PrepareToggleFloatingMode ()
 
void ToggleFloatingMode ()
 
void SetDragArea (const tools::Rectangle &rRect)
 
const tools::RectangleGetDragArea () const
 
void Lock ()
 
void Unlock ()
 
bool IsLocked () const
 
void StartPopupMode (const tools::Rectangle &rRect, FloatWinPopupFlags nPopupModeFlags)
 
void StartPopupMode (ToolBox *pParentToolBox, FloatWinPopupFlags nPopupModeFlags)
 
bool IsInPopupMode () const
 
void SetPopupModeEndHdl (const Link< FloatingWindow *, void > &rLink)
 
void TitleButtonClick (TitleButton nButton)
 
void Resizing (Size &rSize)
 
void Tracking (const TrackingEvent &rTEvt)
 
void ShowMenuTitleButton (bool bVisible)
 
void SetMinOutputSizePixel (const Size &rSize)
 
void SetMaxOutputSizePixel (const Size &rSize)
 
bool IsDocking () const
 
bool IsDockingCanceled () const
 
void SetFloatingMode (bool bFloatMode)
 
bool IsFloatingMode () const
 
SystemWindowGetFloatingWindow () const
 
void SetFloatStyle (WinBits nWinStyle)
 
WinBits GetFloatStyle () const
 
void setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags)
 
Point GetPosPixel () const
 
Size GetSizePixel () const
 

Private Member Functions

 DECL_LINK (PopupModeEnd, FloatingWindow *, void)
 
void ImplEnableStartDocking ()
 
bool ImplStartDockingEnabled () const
 
void ImplPreparePopupMode ()
 

Private Attributes

VclPtr< vcl::WindowmpDockingWindow
 
VclPtr< FloatingWindowmpFloatWin
 
VclPtr< vcl::WindowmpOldBorderWin
 
VclPtr< vcl::WindowmpParent
 
Link< FloatingWindow *, void > maPopupModeEndHdl
 
Point maFloatPos
 
Point maDockPos
 
Point maMouseOff
 
Size maMinOutSize
 
Size maMaxOutSize
 
tools::Rectangle maDragArea
 
tools::Long mnTrackX
 
tools::Long mnTrackY
 
tools::Long mnTrackWidth
 
tools::Long mnTrackHeight
 
sal_Int32 mnDockLeft
 
sal_Int32 mnDockTop
 
sal_Int32 mnDockRight
 
sal_Int32 mnDockBottom
 
WinBits mnFloatBits
 
bool mbDockCanceled:1
 
bool mbDocking:1
 
bool mbLastFloatMode:1
 
bool mbDockBtn:1
 
bool mbHideBtn:1
 
bool mbStartDockingEnabled:1
 
bool mbLocked:1
 

Friends

class ::vcl::Window
 
class DockingManager
 
class DockingWindow
 

Detailed Description

ImplDockingWindowWrapper.

ImplDockingWindowWrapper obsoletes the DockingWindow class. It is better because it can make a "normal window" dockable. All DockingWindows should be converted the new class.

Definition at line 33 of file impldockingwrapper.hxx.

Constructor & Destructor Documentation

◆ ImplDockingWindowWrapper()

ImplDockingWindowWrapper::ImplDockingWindowWrapper ( const vcl::Window pWindow)

◆ ~ImplDockingWindowWrapper()

ImplDockingWindowWrapper::~ImplDockingWindowWrapper ( )

Member Function Documentation

◆ DECL_LINK()

ImplDockingWindowWrapper::DECL_LINK ( PopupModeEnd  ,
FloatingWindow ,
void   
)
private

◆ Docking()

bool ImplDockingWindowWrapper::Docking ( const Point rPos,
tools::Rectangle rRect 
)

◆ EndDocking()

void ImplDockingWindowWrapper::EndDocking ( const tools::Rectangle rRect,
bool  bFloatMode 
)

◆ GetDragArea()

const tools::Rectangle & ImplDockingWindowWrapper::GetDragArea ( ) const
inline

◆ GetFloatingWindow()

SystemWindow * ImplDockingWindowWrapper::GetFloatingWindow ( ) const

◆ GetFloatStyle()

WinBits ImplDockingWindowWrapper::GetFloatStyle ( ) const
inline

Definition at line 122 of file impldockingwrapper.hxx.

References mnFloatBits.

Referenced by DockingWindow::GetFloatStyle().

◆ GetPosPixel()

Point ImplDockingWindowWrapper::GetPosPixel ( ) const

◆ GetSizePixel()

Size ImplDockingWindowWrapper::GetSizePixel ( ) const

◆ GetWindow()

vcl::Window * ImplDockingWindowWrapper::GetWindow ( )
inline

◆ ImplEnableStartDocking()

void ImplDockingWindowWrapper::ImplEnableStartDocking ( )
inlineprivate

Definition at line 73 of file impldockingwrapper.hxx.

References mbStartDockingEnabled.

Referenced by vcl::Window::EventNotify().

◆ ImplPreparePopupMode()

void ImplDockingWindowWrapper::ImplPreparePopupMode ( )
private

◆ ImplStartDocking()

void ImplDockingWindowWrapper::ImplStartDocking ( const Point rPos)

◆ ImplStartDockingEnabled()

bool ImplDockingWindowWrapper::ImplStartDockingEnabled ( ) const
inlineprivate

Definition at line 74 of file impldockingwrapper.hxx.

References mbStartDockingEnabled.

Referenced by vcl::Window::EventNotify().

◆ IsDocking()

bool ImplDockingWindowWrapper::IsDocking ( ) const
inline

Definition at line 114 of file impldockingwrapper.hxx.

References mbDocking.

Referenced by vcl::Window::EventNotify().

◆ IsDockingCanceled()

bool ImplDockingWindowWrapper::IsDockingCanceled ( ) const
inline

Definition at line 115 of file impldockingwrapper.hxx.

References mbDockCanceled.

Referenced by EndDocking().

◆ IsFloatingMode()

bool ImplDockingWindowWrapper::IsFloatingMode ( ) const

◆ IsInPopupMode()

bool ImplDockingWindowWrapper::IsInPopupMode ( ) const

Definition at line 876 of file dockmgr.cxx.

References GetFloatingWindow(), and IsInPopupMode().

Referenced by IsInPopupMode(), and DockingManager::IsInPopupMode().

◆ IsLocked()

bool ImplDockingWindowWrapper::IsLocked ( ) const
inline

◆ Lock()

void ImplDockingWindowWrapper::Lock ( )

Definition at line 1050 of file dockmgr.cxx.

References GetWindow(), ToolBox::Lock(), and mbLocked.

Referenced by DockingManager::Lock().

◆ PrepareToggleFloatingMode()

bool ImplDockingWindowWrapper::PrepareToggleFloatingMode ( )

Definition at line 711 of file dockmgr.cxx.

References vcl::Window::CallEventListeners(), GetWindow(), and WindowPrepareToggleFloating.

Referenced by SetFloatingMode().

◆ Resizing()

void ImplDockingWindowWrapper::Resizing ( Size rSize)

Definition at line 749 of file dockmgr.cxx.

References GetWindow(), and DockingWindow::Resizing().

◆ SetDragArea()

void ImplDockingWindowWrapper::SetDragArea ( const tools::Rectangle rRect)

Definition at line 1044 of file dockmgr.cxx.

References maDragArea.

Referenced by ToolBox::ImplUpdateDragArea().

◆ SetFloatingMode()

void ImplDockingWindowWrapper::SetFloatingMode ( bool  bFloatMode)

◆ SetFloatStyle()

void ImplDockingWindowWrapper::SetFloatStyle ( WinBits  nWinStyle)

Definition at line 991 of file dockmgr.cxx.

References mnFloatBits.

Referenced by DockingWindow::SetFloatStyle().

◆ SetMaxOutputSizePixel()

void ImplDockingWindowWrapper::SetMaxOutputSizePixel ( const Size rSize)

◆ SetMinOutputSizePixel()

void ImplDockingWindowWrapper::SetMinOutputSizePixel ( const Size rSize)

◆ SetPopupModeEndHdl()

void ImplDockingWindowWrapper::SetPopupModeEndHdl ( const Link< FloatingWindow *, void > &  rLink)
inline

Definition at line 102 of file impldockingwrapper.hxx.

References maPopupModeEndHdl.

Referenced by DockingManager::SetPopupModeEndHdl().

◆ setPosSizePixel()

void ImplDockingWindowWrapper::setPosSizePixel ( tools::Long  nX,
tools::Long  nY,
tools::Long  nWidth,
tools::Long  nHeight,
PosSizeFlags  nFlags 
)

Definition at line 997 of file dockmgr.cxx.

References GetWindow(), mpFloatWin, and vcl::Window::setPosSizePixel().

Referenced by DockingManager::SetPosSizePixel().

◆ ShowMenuTitleButton()

void ImplDockingWindowWrapper::ShowMenuTitleButton ( bool  bVisible)

◆ StartDocking()

void ImplDockingWindowWrapper::StartDocking ( const Point rPos,
tools::Rectangle const &  rRect 
)

◆ StartPopupMode() [1/2]

void ImplDockingWindowWrapper::StartPopupMode ( const tools::Rectangle rRect,
FloatWinPopupFlags  nPopupModeFlags 
)

◆ StartPopupMode() [2/2]

void ImplDockingWindowWrapper::StartPopupMode ( ToolBox pParentToolBox,
FloatWinPopupFlags  nPopupModeFlags 
)

◆ TitleButtonClick()

void ImplDockingWindowWrapper::TitleButtonClick ( TitleButton  nButton)

◆ ToggleFloatingMode()

void ImplDockingWindowWrapper::ToggleFloatingMode ( )

◆ Tracking()

void ImplDockingWindowWrapper::Tracking ( const TrackingEvent rTEvt)

◆ Unlock()

void ImplDockingWindowWrapper::Unlock ( )

Definition at line 1059 of file dockmgr.cxx.

References GetWindow(), ToolBox::Lock(), and mbLocked.

Referenced by DockingManager::Unlock().

Friends And Related Function Documentation

◆ ::vcl::Window

friend class ::vcl::Window
friend

Definition at line 35 of file impldockingwrapper.hxx.

◆ DockingManager

friend class DockingManager
friend

Definition at line 36 of file impldockingwrapper.hxx.

◆ DockingWindow

friend class DockingWindow
friend

Definition at line 37 of file impldockingwrapper.hxx.

Member Data Documentation

◆ maDockPos

Point ImplDockingWindowWrapper::maDockPos
private

Definition at line 50 of file impldockingwrapper.hxx.

Referenced by SetFloatingMode().

◆ maDragArea

tools::Rectangle ImplDockingWindowWrapper::maDragArea
private

Definition at line 54 of file impldockingwrapper.hxx.

Referenced by GetDragArea(), and SetDragArea().

◆ maFloatPos

Point ImplDockingWindowWrapper::maFloatPos
private

Definition at line 49 of file impldockingwrapper.hxx.

Referenced by SetFloatingMode().

◆ maMaxOutSize

Size ImplDockingWindowWrapper::maMaxOutSize
private

Definition at line 53 of file impldockingwrapper.hxx.

Referenced by SetFloatingMode(), and SetMaxOutputSizePixel().

◆ maMinOutSize

Size ImplDockingWindowWrapper::maMinOutSize
private

Definition at line 52 of file impldockingwrapper.hxx.

Referenced by SetFloatingMode(), and SetMinOutputSizePixel().

◆ maMouseOff

Point ImplDockingWindowWrapper::maMouseOff
private

Definition at line 51 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

◆ maPopupModeEndHdl

Link<FloatingWindow*,void> ImplDockingWindowWrapper::maPopupModeEndHdl
private

Definition at line 48 of file impldockingwrapper.hxx.

Referenced by SetPopupModeEndHdl().

◆ mbDockBtn

bool ImplDockingWindowWrapper::mbDockBtn
private

Definition at line 67 of file impldockingwrapper.hxx.

Referenced by SetFloatingMode().

◆ mbDockCanceled

bool ImplDockingWindowWrapper::mbDockCanceled
private

Definition at line 64 of file impldockingwrapper.hxx.

Referenced by EndDocking(), IsDockingCanceled(), and Tracking().

◆ mbDocking

bool ImplDockingWindowWrapper::mbDocking
private

◆ mbHideBtn

bool ImplDockingWindowWrapper::mbHideBtn
private

Definition at line 68 of file impldockingwrapper.hxx.

Referenced by SetFloatingMode().

◆ mbLastFloatMode

bool ImplDockingWindowWrapper::mbLastFloatMode
private

Definition at line 66 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

◆ mbLocked

bool ImplDockingWindowWrapper::mbLocked
private

Definition at line 70 of file impldockingwrapper.hxx.

Referenced by IsLocked(), Lock(), and Unlock().

◆ mbStartDockingEnabled

bool ImplDockingWindowWrapper::mbStartDockingEnabled
private

◆ mnDockBottom

sal_Int32 ImplDockingWindowWrapper::mnDockBottom
private

Definition at line 62 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

◆ mnDockLeft

sal_Int32 ImplDockingWindowWrapper::mnDockLeft
private

Definition at line 59 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

◆ mnDockRight

sal_Int32 ImplDockingWindowWrapper::mnDockRight
private

Definition at line 61 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

◆ mnDockTop

sal_Int32 ImplDockingWindowWrapper::mnDockTop
private

Definition at line 60 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

◆ mnFloatBits

WinBits ImplDockingWindowWrapper::mnFloatBits
private

◆ mnTrackHeight

tools::Long ImplDockingWindowWrapper::mnTrackHeight
private

Definition at line 58 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

◆ mnTrackWidth

tools::Long ImplDockingWindowWrapper::mnTrackWidth
private

Definition at line 57 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

◆ mnTrackX

tools::Long ImplDockingWindowWrapper::mnTrackX
private

Definition at line 55 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

◆ mnTrackY

tools::Long ImplDockingWindowWrapper::mnTrackY
private

Definition at line 56 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

◆ mpDockingWindow

VclPtr<vcl::Window> ImplDockingWindowWrapper::mpDockingWindow
private

◆ mpFloatWin

VclPtr<FloatingWindow> ImplDockingWindowWrapper::mpFloatWin
private

◆ mpOldBorderWin

VclPtr<vcl::Window> ImplDockingWindowWrapper::mpOldBorderWin
private

Definition at line 46 of file impldockingwrapper.hxx.

Referenced by ImplPreparePopupMode(), and SetFloatingMode().

◆ mpParent

VclPtr<vcl::Window> ImplDockingWindowWrapper::mpParent
private

Definition at line 47 of file impldockingwrapper.hxx.

Referenced by ImplPreparePopupMode(), ImplStartDocking(), and SetFloatingMode().


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