26void TabDialog::ImplInitTabDialogData()
28 mpFixedLine =
nullptr;
32void TabDialog::ImplPosControls()
49 else if ( pTabControl )
53 if ( nTxtWidth > aCtrlSize.Width() )
54 aCtrlSize.setWidth( nTxtWidth );
56 if ( nTxtHeight > aCtrlSize.Height() )
57 aCtrlSize.setHeight( nTxtHeight );
63 if ( nHeight > nOffY )
92 bool bTabCtrl =
false;
101 if ( nCtrlBarWidth <= aTabSize.
Width() )
109 if ( pChild2 == pTabControl )
130 nTopX += aChildSize.
Width()+2;
138 SetOutputSizePixel( aDlgSize );
144 Size aDlgSize = GetOutputSizePixel();
147 mpFixedLine->SetPosSizePixel(
Point( 0, nOffY ),
152 mbPosControls =
false;
158 ImplInitTabDialogData();
159 ImplInitDialog( pParent, nStyle );
162TabDialog::~TabDialog()
167void TabDialog::dispose()
169 mpFixedLine.disposeAndClear();
virtual void dispose() override
This is intended to be used to clear any locally held references to other Window-subclass objects.
virtual void StateChanged(StateChangedType nStateChange) override
constexpr tools::Long Height() const
constexpr tools::Long Width() const
static VclPtr< reference_type > Create(Arg &&... arg)
A construction helper for VclPtr.
WindowType GetType() const
virtual void SetSizePixel(const Size &rNewSize)
Size get_preferred_size() const
vcl::Window * GetWindow(GetWindowType nType) const
virtual Size GetSizePixel() const
virtual void SetPosPixel(const Point &rNewPos)
virtual void SetPosSizePixel(const Point &rNewPos, const Size &rNewSize)
bool isLayoutEnabled(const vcl::Window *pWindow)
bool isContainerWindow(const vcl::Window &rWindow)
#define IMPL_DIALOG_BAR_OFFSET
#define IMPL_MINSIZE_BUTTON_HEIGHT
#define IMPL_MINSIZE_BUTTON_WIDTH
#define IMPL_DIALOG_OFFSET