LibreOffice Module sfx2 (master)
1
sfx2
source
devtools
DevelopmentToolChildWindow.cxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
*/
10
11
#include <
sfx2/devtools/DevelopmentToolChildWindow.hxx
>
12
#include <
sfx2/devtools/DevelopmentToolDockingWindow.hxx
>
13
#include <sfx2/sfxsids.hrc>
14
15
SFX_IMPL_DOCKINGWINDOW_WITHID
(
DevelopmentToolChildWindow
, SID_DEVELOPMENT_TOOLS_DOCKING_WINDOW);
16
17
DevelopmentToolChildWindow::DevelopmentToolChildWindow
(
vcl::Window
* pParentWindow, sal_uInt16 nId,
18
SfxBindings
* pBindings,
19
SfxChildWinInfo
* pInfo)
20
:
SfxChildWindow
(pParentWindow,
nId
)
21
{
22
VclPtr<DevelopmentToolDockingWindow>
pWin
23
=
VclPtr<DevelopmentToolDockingWindow>::Create
(pBindings,
this
, pParentWindow);
24
SetWindow
(pWin);
25
SetAlignment
(
SfxChildAlignment::BOTTOM
);
26
pWin->SetSizePixel(
Size
(0, 290));
27
pWin->Initialize(pInfo);
28
}
29
30
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SFX_IMPL_DOCKINGWINDOW_WITHID
SFX_IMPL_DOCKINGWINDOW_WITHID(DevelopmentToolChildWindow, SID_DEVELOPMENT_TOOLS_DOCKING_WINDOW)
DevelopmentToolChildWindow.hxx
DevelopmentToolDockingWindow.hxx
SfxChildAlignment::BOTTOM
@ BOTTOM
DevelopmentToolChildWindow
Necessary child window for the development tools docking window.
Definition:
DevelopmentToolChildWindow.hxx:20
DevelopmentToolChildWindow::DevelopmentToolChildWindow
DevelopmentToolChildWindow(vcl::Window *pParentWindow, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo *pInfo)
Definition:
DevelopmentToolChildWindow.cxx:17
SfxBindings
Definition:
bindings.hxx:92
SfxChildWindow
Definition:
childwin.hxx:100
SfxChildWindow::SetAlignment
void SetAlignment(SfxChildAlignment eAlign)
Definition:
childwin.cxx:299
SfxChildWindow::SetWindow
void SetWindow(const VclPtr< vcl::Window > &p)
Definition:
childwin.hxx:111
Size
VclPtr< DevelopmentToolDockingWindow >
VclPtr::Create
static VclPtr< reference_type > Create(Arg &&... arg)
nId
sal_Int16 nId
SfxChildWinInfo
Definition:
childwin.hxx:62
vcl::Window
Generated on Sun Jul 30 2023 04:33:45 for LibreOffice Module sfx2 (master) by
1.9.3