LibreOffice Module basctl (master) 1
Classes | Public Types | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
basctl::Layout::SplittedSide Class Reference
Collaboration diagram for basctl::Layout::SplittedSide:
[legend]

Classes

struct  Item
 

Public Types

enum class  Side {
  Left ,
  Bottom
}
 

Public Member Functions

 SplittedSide (Layout *, Side)
 
void Add (DockingWindow *, Size const &)
 
void Remove (DockingWindow *)
 
bool IsEmpty () const
 
tools::Long GetSize () const
 
void ArrangeIn (tools::Rectangle const &)
 
void dispose ()
 

Private Member Functions

Point MakePoint (tools::Long, tools::Long) const
 
Size MakeSize (tools::Long, tools::Long) const
 
 DECL_LINK (SplitHdl, Splitter *, void)
 
void CheckMarginsFor (Splitter *)
 
void InitSplitter (Splitter &)
 

Static Private Member Functions

static bool IsDocking (DockingWindow const &)
 

Private Attributes

LayoutrLayout
 
bool bVertical
 
bool bLower
 
tools::Rectangle aRect
 
tools::Long nSize
 
VclPtr< SplitteraSplitter
 
std::vector< ItemvItems
 

Detailed Description

Definition at line 76 of file layout.hxx.

Member Enumeration Documentation

◆ Side

Enumerator
Left 
Bottom 

Definition at line 79 of file layout.hxx.

Constructor & Destructor Documentation

◆ SplittedSide()

basctl::Layout::SplittedSide::SplittedSide ( Layout pParent,
Side  eSide 
)

Definition at line 166 of file layout.cxx.

References aSplitter, Create(), InitSplitter(), Left, WB_HSCROLL, and WB_VSCROLL.

Member Function Documentation

◆ Add()

void basctl::Layout::SplittedSide::Add ( DockingWindow pWin,
Size const &  rSize 
)

◆ ArrangeIn()

void basctl::Layout::SplittedSide::ArrangeIn ( tools::Rectangle const &  rRect)

◆ CheckMarginsFor()

void basctl::Layout::SplittedSide::CheckMarginsFor ( Splitter pSplitter)
private

◆ DECL_LINK()

basctl::Layout::SplittedSide::DECL_LINK ( SplitHdl  ,
Splitter ,
void   
)
private

◆ dispose()

void basctl::Layout::SplittedSide::dispose ( void  )

Definition at line 176 of file layout.cxx.

Referenced by basctl::Layout::dispose().

◆ GetSize()

tools::Long basctl::Layout::SplittedSide::GetSize ( ) const

Definition at line 257 of file layout.cxx.

Referenced by basctl::Layout::ArrangeWindows().

◆ InitSplitter()

void basctl::Layout::SplittedSide::InitSplitter ( Splitter rSplitter)
private

◆ IsDocking()

bool basctl::Layout::SplittedSide::IsDocking ( DockingWindow const &  rWin)
staticprivate

Definition at line 242 of file layout.cxx.

References DockingWindow::IsFloatingMode(), and vcl::Window::IsVisible().

◆ IsEmpty()

bool basctl::Layout::SplittedSide::IsEmpty ( ) const

Definition at line 248 of file layout.cxx.

References i.

◆ MakePoint()

Point basctl::Layout::SplittedSide::MakePoint ( tools::Long  A,
tools::Long  B 
) const
inlineprivate

Definition at line 236 of file layout.cxx.

References A, and B.

◆ MakeSize()

Size basctl::Layout::SplittedSide::MakeSize ( tools::Long  A,
tools::Long  B 
) const
inlineprivate

Definition at line 232 of file layout.cxx.

References A, and B.

◆ Remove()

void basctl::Layout::SplittedSide::Remove ( DockingWindow pWin)

Definition at line 212 of file layout.cxx.

Referenced by basctl::Layout::Remove().

Member Data Documentation

◆ aRect

tools::Rectangle basctl::Layout::SplittedSide::aRect
private

Definition at line 100 of file layout.hxx.

◆ aSplitter

VclPtr<Splitter> basctl::Layout::SplittedSide::aSplitter
private

Definition at line 104 of file layout.hxx.

Referenced by SplittedSide().

◆ bLower

bool basctl::Layout::SplittedSide::bLower
private

Definition at line 98 of file layout.hxx.

◆ bVertical

bool basctl::Layout::SplittedSide::bVertical
private

Definition at line 96 of file layout.hxx.

◆ nSize

tools::Long basctl::Layout::SplittedSide::nSize
private

Definition at line 102 of file layout.hxx.

◆ rLayout

Layout& basctl::Layout::SplittedSide::rLayout
private

Definition at line 94 of file layout.hxx.

◆ vItems

std::vector<Item> basctl::Layout::SplittedSide::vItems
private

Definition at line 120 of file layout.hxx.


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