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

ImplDockingWindowWrapper. More...

#include <dockwin.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 TitleButtonClick (TitleButton nButton)
 
void Resizing (Size &rSize)
 
void Tracking (const TrackingEvent &rTEvt)
 
void ShowTitleButton (TitleButton nButton, 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
 
FloatingWindowGetFloatingWindow () const
 
void SetFloatStyle (WinBits nWinStyle)
 
WinBits GetFloatStyle () const
 
void setPosSizePixel (long nX, long nY, long nWidth, 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
 
Point maFloatPos
 
Point maDockPos
 
Point maMouseOff
 
Size maRollUpOutSize
 
Size maMinOutSize
 
Size maMaxOutSize
 
tools::Rectangle maDragArea
 
long mnTrackX
 
long mnTrackY
 
long mnTrackWidth
 
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 mbRollUp: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 70 of file dockwin.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
FloatingWindow* ImplDockingWindowWrapper::GetFloatingWindow ( ) const
inline
WinBits ImplDockingWindowWrapper::GetFloatStyle ( ) const
inline

Definition at line 158 of file dockwin.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 111 of file dockwin.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 112 of file dockwin.hxx.

References mbStartDockingEnabled.

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

bool ImplDockingWindowWrapper::IsDocking ( ) const
inline

Definition at line 150 of file dockwin.hxx.

References mbDocking.

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

bool ImplDockingWindowWrapper::IsDockingCanceled ( ) const
inline

Definition at line 151 of file dockwin.hxx.

References mbDockCanceled.

Referenced by EndDocking().

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

Definition at line 859 of file dockmgr.cxx.

References GetFloatingWindow(), and FloatingWindow::IsInPopupMode().

Referenced by DockingManager::IsInPopupMode().

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

Definition at line 1040 of file dockmgr.cxx.

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

Referenced by DockingManager::Lock().

bool ImplDockingWindowWrapper::PrepareToggleFloatingMode ( )

Definition at line 689 of file dockmgr.cxx.

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

Referenced by SetFloatingMode().

void ImplDockingWindowWrapper::Resizing ( Size rSize)

Definition at line 727 of file dockmgr.cxx.

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

Referenced by ImplDockFloatWin2::Resizing().

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

Definition at line 1034 of file dockmgr.cxx.

References maDragArea.

Referenced by ToolBox::ImplUpdateDragArea().

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

Definition at line 981 of file dockmgr.cxx.

References mnFloatBits.

Referenced by DockingWindow::SetFloatStyle().

void ImplDockingWindowWrapper::SetMaxOutputSizePixel ( const Size rSize)
void ImplDockingWindowWrapper::SetMinOutputSizePixel ( const Size rSize)
void ImplDockingWindowWrapper::setPosSizePixel ( long  nX,
long  nY,
long  nWidth,
long  nHeight,
PosSizeFlags  nFlags 
)

Definition at line 987 of file dockmgr.cxx.

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

Referenced by DockingManager::SetPosSizePixel().

void ImplDockingWindowWrapper::ShowTitleButton ( TitleButton  nButton,
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 1049 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 72 of file dockwin.hxx.

friend class DockingManager
friend

Definition at line 73 of file dockwin.hxx.

friend class DockingWindow
friend

Definition at line 74 of file dockwin.hxx.

Member Data Documentation

Point ImplDockingWindowWrapper::maDockPos
private

Definition at line 86 of file dockwin.hxx.

Referenced by SetFloatingMode().

tools::Rectangle ImplDockingWindowWrapper::maDragArea
private

Definition at line 91 of file dockwin.hxx.

Referenced by GetDragArea(), and SetDragArea().

Point ImplDockingWindowWrapper::maFloatPos
private

Definition at line 85 of file dockwin.hxx.

Referenced by SetFloatingMode().

Size ImplDockingWindowWrapper::maMaxOutSize
private

Definition at line 90 of file dockwin.hxx.

Referenced by SetFloatingMode(), and SetMaxOutputSizePixel().

Size ImplDockingWindowWrapper::maMinOutSize
private

Definition at line 89 of file dockwin.hxx.

Referenced by SetFloatingMode(), and SetMinOutputSizePixel().

Point ImplDockingWindowWrapper::maMouseOff
private

Definition at line 87 of file dockwin.hxx.

Referenced by ImplStartDocking(), and Tracking().

Size ImplDockingWindowWrapper::maRollUpOutSize
private

Definition at line 88 of file dockwin.hxx.

Referenced by SetFloatingMode().

bool ImplDockingWindowWrapper::mbDockBtn
private

Definition at line 101 of file dockwin.hxx.

Referenced by SetFloatingMode(), and ShowTitleButton().

bool ImplDockingWindowWrapper::mbDockCanceled
private

Definition at line 101 of file dockwin.hxx.

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

bool ImplDockingWindowWrapper::mbDocking
private

Definition at line 101 of file dockwin.hxx.

Referenced by EndDocking(), ImplStartDocking(), IsDocking(), StartDocking(), and Tracking().

bool ImplDockingWindowWrapper::mbHideBtn
private

Definition at line 101 of file dockwin.hxx.

Referenced by SetFloatingMode(), and ShowTitleButton().

bool ImplDockingWindowWrapper::mbLastFloatMode
private

Definition at line 101 of file dockwin.hxx.

Referenced by ImplStartDocking(), and Tracking().

bool ImplDockingWindowWrapper::mbLocked
private

Definition at line 101 of file dockwin.hxx.

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

bool ImplDockingWindowWrapper::mbRollUp
private

Definition at line 101 of file dockwin.hxx.

Referenced by SetFloatingMode().

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

Definition at line 99 of file dockwin.hxx.

Referenced by ImplStartDocking(), and Tracking().

sal_Int32 ImplDockingWindowWrapper::mnDockLeft
private

Definition at line 96 of file dockwin.hxx.

Referenced by ImplStartDocking(), and Tracking().

sal_Int32 ImplDockingWindowWrapper::mnDockRight
private

Definition at line 98 of file dockwin.hxx.

Referenced by ImplStartDocking(), and Tracking().

sal_Int32 ImplDockingWindowWrapper::mnDockTop
private

Definition at line 97 of file dockwin.hxx.

Referenced by ImplStartDocking(), and Tracking().

WinBits ImplDockingWindowWrapper::mnFloatBits
private
long ImplDockingWindowWrapper::mnTrackHeight
private

Definition at line 95 of file dockwin.hxx.

Referenced by ImplStartDocking(), and Tracking().

long ImplDockingWindowWrapper::mnTrackWidth
private

Definition at line 94 of file dockwin.hxx.

Referenced by ImplStartDocking(), and Tracking().

long ImplDockingWindowWrapper::mnTrackX
private

Definition at line 92 of file dockwin.hxx.

Referenced by ImplStartDocking(), and Tracking().

long ImplDockingWindowWrapper::mnTrackY
private

Definition at line 93 of file dockwin.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 83 of file dockwin.hxx.

Referenced by ImplPreparePopupMode(), and SetFloatingMode().

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

Definition at line 84 of file dockwin.hxx.

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


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