22#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS)
23#error "don't use this in new code"
64 SAL_DLLPRIVATE
void RemoveFromDlgList();
65 SAL_DLLPRIVATE
void ImplInitDialogData();
66 SAL_DLLPRIVATE
void ImplInitSettings();
87 SAL_DLLPRIVATE
bool IsInClose()
const {
return mbInClose; }
89 SAL_DLLPRIVATE
void disposeOwnedButtons();
91 SAL_DLLPRIVATE
static vcl::Window* GetDefDialogParent();
95 explicit Dialog(
vcl::Window* pParent,
const OUString& rID,
const OUString& rUIXMLDescription);
103 void set_content_area(
VclBox* pBox);
109 virtual void dispose()
override;
118 virtual bool set_property(
const OUString &rKey,
const OUString &rValue)
override;
122 virtual bool Close()
override;
132 bool ImplStartExecute();
133 static void ImplEndExecuteModal();
134 void ImplSetModalInputMode(
bool bModal);
146 void GetDrawWindowBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
147 sal_Int32& rRightBorder, sal_Int32& rBottomBorder )
const;
149 void SetModalInputMode(
bool bModal );
152 void GrabFocusToFirstControl();
153 virtual void Resize()
override;
159 void SetLOKTunnelingState(
bool bEnabled);
161 void add_button(
PushButton* pButton,
int nResponse,
bool bTransferOwnership);
162 void set_default_response(
int nResponse);
163 int get_default_response()
const;
164 vcl::Window* get_widget_for_response(
int nResponse);
VclBox * get_content_area()
DECL_DLLPRIVATE_LINK(ResponseHdl, Button *, void)
bool IsInSyncExecute() const
SAL_DLLPRIVATE bool IsInClose() const
std::unique_ptr< DialogImpl > mpDialogImpl
DECL_DLLPRIVATE_LINK(ImplAsyncCloseHdl, void *, void)
tools::Long mnMousePositioned
VclButtonBox * get_action_area()
VclPtr< VclButtonBox > mpActionArea
SAL_DLLPRIVATE Dialog(const Dialog &)=delete
VclPtr< VclBox > mpContentArea
bool IsModalInputMode() const
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
virtual void queue_resize(StateChangedType eReason=StateChangedType::Layout) override
virtual bool EventNotify(NotifyEvent &rNEvt) override
virtual void settingOptimalLayoutSize(Window *pBox)
virtual void doDeferredInit(WinBits nBits)
virtual void dispose() override
This is intended to be used to clear any locally held references to other Window-subclass objects.
virtual void Resize() override
Creates a hierarchy of vcl::Windows (widgets) from a .ui file for dialogs, sidebar,...
VclReferenceBase & operator=(const VclReferenceBase &)=delete
virtual void PixelInvalidate(const tools::Rectangle *pRectangle)
Notification about some rectangle of the output device got invalidated.
virtual void StateChanged(StateChangedType nStateChange)
virtual void Command(const CommandEvent &rCEvt)
virtual void DumpAsPropertyTree(tools::JsonWriter &)
Dumps itself and potentially its children to a property tree, to be written easily to JSON.
virtual void Draw(::OutputDevice *pDev, const Point &rPos, SystemTextColorFlags nFlags)
virtual void DataChanged(const DataChangedEvent &rDCEvt)
virtual void ApplySettings(vcl::RenderContext &rRenderContext)
virtual bool set_property(const OUString &rKey, const OUString &rValue)
virtual FactoryFunction GetUITestFactory() const
virtual void EndDialog(sal_Int32 nResult) override
std::function< std::unique_ptr< UIObject >(vcl::Window *)> FactoryFunction
WinBits const WB_STDDIALOG