LibreOffice Module vcl (master) 1
|
#include <config_options.h>
#include <vcl/dllapi.h>
#include <vcl/ctrl.hxx>
#include <vcl/svapp.hxx>
#include <vcl/window.hxx>
#include <vcl/settings.hxx>
#include <vcl/event.hxx>
#include <vcl/transfer.hxx>
#include <vcl/vclptr.hxx>
#include <vcl/IContext.hxx>
#include <vcl/commandevent.hxx>
#include <set>
Go to the source code of this file.
Classes | |
class | VclContainer |
class | VclBox |
class | VclVBox |
class | VclHBox |
class | VclButtonBox |
struct | VclButtonBox::Requisition |
class | VclVButtonBox |
class | VclHButtonBox |
class | VclGrid |
struct | VclGrid::Value |
class | VclPaned |
class | VclVPaned |
class | VclHPaned |
class | VclFrame |
class | VclExpander |
class | VclScrolledWindow |
class | VclViewport |
class | VclEventBox |
class | VclEventBox::EventBoxHelper |
class | VclSizeGroup |
class | VclDrawingArea |
Enumerations | |
enum class | VclButtonBoxStyle { Default , Spread , Edge , Start , End , Center } |
Functions | |
vcl::Window * | firstLogicalChildOfParent (const vcl::Window *pTopLevel) |
vcl::Window * | lastLogicalChildOfParent (const vcl::Window *pTopLevel) |
vcl::Window * | nextLogicalChildOfParent (const vcl::Window *pTopLevel, const vcl::Window *pChild) |
vcl::Window * | prevLogicalChildOfParent (const vcl::Window *pTopLevel, const vcl::Window *pChild) |
VCL_DLLPUBLIC bool | isLayoutEnabled (const vcl::Window *pWindow) |
bool | isContainerWindow (const vcl::Window &rWindow) |
bool | isContainerWindow (const vcl::Window *pWindow) |
Size | getLegacyBestSizeForChildren (const vcl::Window &rWindow) |
vcl::Window * | getNonLayoutParent (vcl::Window *pParent) |
void | sort_native_button_order (const VclBox &rContainer) |
|
strong |
Enumerator | |
---|---|
Default | |
Spread | |
Edge | |
Start | |
End | |
Center |
Definition at line 198 of file layout.hxx.
vcl::Window * firstLogicalChildOfParent | ( | const vcl::Window * | pTopLevel | ) |
Definition at line 189 of file dialog.cxx.
References FirstChild, vcl::Window::GetWindow(), isContainerWindow(), and nextLogicalChildOfParent().
Referenced by ImplGetSubChildWindow().
Size getLegacyBestSizeForChildren | ( | const vcl::Window & | rWindow | ) |
Definition at line 2943 of file layout.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), FirstChild, vcl::Window::GetPosPixel(), tools::Rectangle::GetSize(), vcl::Window::GetSizePixel(), vcl::Window::GetWindow(), tools::Rectangle::IsEmpty(), vcl::Window::IsVisible(), Next, tools::Rectangle::TopLeft(), tools::Rectangle::Union(), Point::X(), and Point::Y().
Referenced by TabPage::GetOptimalSize().
vcl::Window * getNonLayoutParent | ( | vcl::Window * | pParent | ) |
Definition at line 2968 of file layout.cxx.
References vcl::Window::GetParent(), and isContainerWindow().
Referenced by OKButton::Click(), CancelButton::Click(), ImplGetTopParentOfTabHierarchy(), and ImplHasIndirectTabParent().
|
inline |
Definition at line 817 of file layout.hxx.
References CONTAINER, DOCKINGWINDOW, eType, vcl::Window::GetType(), isLayoutEnabled(), and SCROLLWINDOW.
Referenced by ToolBox::EventNotify(), firstLogicalChildOfParent(), vcl::Window::GetAccessibleRelationLabeledBy(), vcl::Window::GetAccessibleRelationLabelFor(), vcl::Window::GetAccessibleRelationMemberOf(), getNonLayoutParent(), ImplFindAccelWindow(), isContainerWindow(), isEnabledInLayout(), isLayoutEnabled(), isVisibleInLayout(), ToolBox::KeyInput(), lastLogicalChildOfParent(), nextLogicalChildOfParent(), and prevLogicalChildOfParent().
|
inline |
Definition at line 824 of file layout.hxx.
References isContainerWindow().
VCL_DLLPUBLIC bool isLayoutEnabled | ( | const vcl::Window * | pWindow | ) |
Definition at line 3005 of file layout.cxx.
References FirstChild, vcl::Window::GetWindow(), isContainerWindow(), and Next.
Referenced by SystemWindow::DoInitialLayout(), NotebookBar::GetOptimalSize(), SystemWindow::GetOptimalSize(), TabPage::GetOptimalSize(), IMPL_LINK_NOARG(), isContainerWindow(), SystemWindow::isLayoutEnabled(), SystemWindow::queue_resize(), TabPage::SetPosPixel(), TabPage::SetPosSizePixel(), NotebookBar::setPosSizePixel(), and TabPage::SetSizePixel().
vcl::Window * lastLogicalChildOfParent | ( | const vcl::Window * | pTopLevel | ) |
Definition at line 197 of file dialog.cxx.
References vcl::Window::GetWindow(), isContainerWindow(), LastChild, and prevLogicalChildOfParent().
Referenced by ImplGetSubChildWindow().
vcl::Window * nextLogicalChildOfParent | ( | const vcl::Window * | pTopLevel, |
const vcl::Window * | pChild | ||
) |
Definition at line 133 of file dialog.cxx.
References FirstChild, vcl::Window::GetParent(), vcl::Window::GetType(), vcl::Window::GetWindow(), isContainerWindow(), Next, nextLogicalChildOfParent(), and SCROLLWINDOW.
Referenced by firstLogicalChildOfParent(), GenerateAutoMnemonicsOnHierarchy(), vcl::Window::ImplDlgCtrl(), ImplGetCurTabWindow(), ImplGetSubChildWindow(), and nextLogicalChildOfParent().
vcl::Window * prevLogicalChildOfParent | ( | const vcl::Window * | pTopLevel, |
const vcl::Window * | pChild | ||
) |
Definition at line 161 of file dialog.cxx.
References vcl::Window::GetParent(), vcl::Window::GetType(), vcl::Window::GetWindow(), isContainerWindow(), LastChild, Prev, prevLogicalChildOfParent(), and SCROLLWINDOW.
Referenced by vcl::Window::ImplDlgCtrl(), lastLogicalChildOfParent(), and prevLogicalChildOfParent().
void sort_native_button_order | ( | const VclBox & | rContainer | ) |
Definition at line 862 of file layout.cxx.
References FirstChild, VclBox::get_orientation(), vcl::Window::GetWindow(), Next, and BuilderUtils::reorderWithinParent().
Referenced by MessageDialog::create_message_area(), SalInstanceDialog::run(), SalInstanceDialog::runAsync(), and JSTreeView::select().