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 *, voidmaPopupModeEndHdl
 
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 ( const vcl::Window pWindow)
ImplDockingWindowWrapper::~ImplDockingWindowWrapper ( )

Member Function Documentation

ImplDockingWindowWrapper::DECL_LINK ( PopupModeEnd  ,
FloatingWindow ,
void   
)
private
bool ImplDockingWindowWrapper::Docking ( const Point rPos,
tools::Rectangle rRect 
)
void ImplDockingWindowWrapper::EndDocking ( const tools::Rectangle rRect,
bool  bFloatMode 
)
const tools::Rectangle& ImplDockingWindowWrapper::GetDragArea ( ) const
inline
SystemWindow * ImplDockingWindowWrapper::GetFloatingWindow ( ) const
WinBits ImplDockingWindowWrapper::GetFloatStyle ( ) const
inline

Definition at line 122 of file impldockingwrapper.hxx.

References mnFloatBits.

Referenced by DockingWindow::GetFloatStyle().

Point ImplDockingWindowWrapper::GetPosPixel ( ) const
Size ImplDockingWindowWrapper::GetSizePixel ( ) const
vcl::Window* ImplDockingWindowWrapper::GetWindow ( )
inline
void ImplDockingWindowWrapper::ImplEnableStartDocking ( )
inlineprivate

Definition at line 73 of file impldockingwrapper.hxx.

References mbStartDockingEnabled.

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

void ImplDockingWindowWrapper::ImplPreparePopupMode ( )
private
void ImplDockingWindowWrapper::ImplStartDocking ( const Point rPos)
bool ImplDockingWindowWrapper::ImplStartDockingEnabled ( ) const
inlineprivate

Definition at line 74 of file impldockingwrapper.hxx.

References mbStartDockingEnabled.

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

bool ImplDockingWindowWrapper::IsDocking ( ) const
inline

Definition at line 114 of file impldockingwrapper.hxx.

References mbDocking.

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

bool ImplDockingWindowWrapper::IsDockingCanceled ( ) const
inline

Definition at line 115 of file impldockingwrapper.hxx.

References mbDockCanceled.

Referenced by EndDocking().

bool ImplDockingWindowWrapper::IsFloatingMode ( ) const
bool ImplDockingWindowWrapper::IsInPopupMode ( ) const

Definition at line 879 of file dockmgr.cxx.

References GetFloatingWindow().

Referenced by DockingManager::IsInPopupMode().

bool ImplDockingWindowWrapper::IsLocked ( ) const
inline
void ImplDockingWindowWrapper::Lock ( )

Definition at line 1053 of file dockmgr.cxx.

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

Referenced by DockingManager::Lock().

bool ImplDockingWindowWrapper::PrepareToggleFloatingMode ( )

Definition at line 711 of file dockmgr.cxx.

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

Referenced by SetFloatingMode().

void ImplDockingWindowWrapper::Resizing ( Size rSize)

Definition at line 749 of file dockmgr.cxx.

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

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

Definition at line 1047 of file dockmgr.cxx.

References maDragArea.

Referenced by ToolBox::ImplUpdateDragArea().

void ImplDockingWindowWrapper::SetFloatingMode ( bool  bFloatMode)
void ImplDockingWindowWrapper::SetFloatStyle ( WinBits  nWinStyle)

Definition at line 994 of file dockmgr.cxx.

References mnFloatBits.

Referenced by DockingWindow::SetFloatStyle().

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

Definition at line 102 of file impldockingwrapper.hxx.

Referenced by DockingManager::SetPopupModeEndHdl().

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

Definition at line 1000 of file dockmgr.cxx.

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

Referenced by DockingManager::SetPosSizePixel().

void ImplDockingWindowWrapper::ShowMenuTitleButton ( bool  bVisible)
void ImplDockingWindowWrapper::StartDocking ( const Point rPos,
tools::Rectangle const &  rRect 
)
void ImplDockingWindowWrapper::StartPopupMode ( const tools::Rectangle rRect,
FloatWinPopupFlags  nPopupModeFlags 
)
void ImplDockingWindowWrapper::StartPopupMode ( ToolBox pParentToolBox,
FloatWinPopupFlags  nPopupModeFlags 
)
void ImplDockingWindowWrapper::TitleButtonClick ( TitleButton  nButton)
void ImplDockingWindowWrapper::ToggleFloatingMode ( )
void ImplDockingWindowWrapper::Tracking ( const TrackingEvent rTEvt)
void ImplDockingWindowWrapper::Unlock ( )

Definition at line 1062 of file dockmgr.cxx.

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

Referenced by DockingManager::Unlock().

Friends And Related Function Documentation

friend class ::vcl::Window
friend

Definition at line 35 of file impldockingwrapper.hxx.

friend class DockingManager
friend

Definition at line 36 of file impldockingwrapper.hxx.

friend class DockingWindow
friend

Definition at line 37 of file impldockingwrapper.hxx.

Member Data Documentation

Point ImplDockingWindowWrapper::maDockPos
private

Definition at line 50 of file impldockingwrapper.hxx.

Referenced by SetFloatingMode().

tools::Rectangle ImplDockingWindowWrapper::maDragArea
private

Definition at line 54 of file impldockingwrapper.hxx.

Referenced by GetDragArea(), and SetDragArea().

Point ImplDockingWindowWrapper::maFloatPos
private

Definition at line 49 of file impldockingwrapper.hxx.

Referenced by SetFloatingMode().

Size ImplDockingWindowWrapper::maMaxOutSize
private

Definition at line 53 of file impldockingwrapper.hxx.

Referenced by SetFloatingMode(), and SetMaxOutputSizePixel().

Size ImplDockingWindowWrapper::maMinOutSize
private

Definition at line 52 of file impldockingwrapper.hxx.

Referenced by SetFloatingMode(), and SetMinOutputSizePixel().

Point ImplDockingWindowWrapper::maMouseOff
private

Definition at line 51 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

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

Definition at line 48 of file impldockingwrapper.hxx.

bool ImplDockingWindowWrapper::mbDockBtn
private

Definition at line 64 of file impldockingwrapper.hxx.

Referenced by SetFloatingMode().

bool ImplDockingWindowWrapper::mbDockCanceled
private

Definition at line 64 of file impldockingwrapper.hxx.

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

bool ImplDockingWindowWrapper::mbDocking
private
bool ImplDockingWindowWrapper::mbHideBtn
private

Definition at line 64 of file impldockingwrapper.hxx.

Referenced by SetFloatingMode().

bool ImplDockingWindowWrapper::mbLastFloatMode
private

Definition at line 64 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

bool ImplDockingWindowWrapper::mbLocked
private

Definition at line 64 of file impldockingwrapper.hxx.

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

bool ImplDockingWindowWrapper::mbStartDockingEnabled
private
sal_Int32 ImplDockingWindowWrapper::mnDockBottom
private

Definition at line 62 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

sal_Int32 ImplDockingWindowWrapper::mnDockLeft
private

Definition at line 59 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

sal_Int32 ImplDockingWindowWrapper::mnDockRight
private

Definition at line 61 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

sal_Int32 ImplDockingWindowWrapper::mnDockTop
private

Definition at line 60 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

WinBits ImplDockingWindowWrapper::mnFloatBits
private
tools::Long ImplDockingWindowWrapper::mnTrackHeight
private

Definition at line 58 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

tools::Long ImplDockingWindowWrapper::mnTrackWidth
private

Definition at line 57 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

tools::Long ImplDockingWindowWrapper::mnTrackX
private

Definition at line 55 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

tools::Long ImplDockingWindowWrapper::mnTrackY
private

Definition at line 56 of file impldockingwrapper.hxx.

Referenced by ImplStartDocking(), and Tracking().

VclPtr<vcl::Window> ImplDockingWindowWrapper::mpDockingWindow
private
VclPtr<FloatingWindow> ImplDockingWindowWrapper::mpFloatWin
private
VclPtr<vcl::Window> ImplDockingWindowWrapper::mpOldBorderWin
private

Definition at line 46 of file impldockingwrapper.hxx.

Referenced by ImplPreparePopupMode(), and SetFloatingMode().

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: