blob: db80a6e71458b3ccb96e89810a5f1631ee5c185c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#pragma once
#include "QtInstanceContainer.hxx"
class QtInstanceWindow : public QtInstanceContainer, public virtual weld::Window
{
public:
QtInstanceWindow(QWidget* pWidget);
virtual void set_title(const OUString& rTitle) override;
virtual OUString get_title() const override;
virtual void window_move(int, int) override;
virtual void set_modal(bool) override;
virtual bool get_modal() const override;
virtual bool get_resizable() const override;
virtual Size get_size() const override;
virtual Point get_position() const override;
virtual AbsoluteScreenPixelRectangle get_monitor_workarea() const override;
virtual void set_centered_on_parent(bool) override;
virtual bool has_toplevel_focus() const override;
virtual void present() override;
virtual void change_default_widget(weld::Widget*, weld::Widget*) override;
virtual bool is_default_widget(const weld::Widget*) const override;
virtual void set_window_state(const OUString&) override;
virtual OUString get_window_state(vcl::WindowDataMask) const override;
virtual css::uno::Reference<css::awt::XWindow> GetXWindow() override;
virtual SystemEnvData get_system_data() const override;
virtual void resize_to_request() override;
virtual weld::ScreenShotCollection collect_screenshot_data() override;
virtual VclPtr<VirtualDevice> screenshot() override;
virtual const vcl::ILibreOfficeKitNotifier* GetLOKNotifier() override;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|