LibreOffice Module sfx2 (master) 1
templatedefaultview.hxx
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#pragma once
11
13
15{
16public:
17 TemplateDefaultView(std::unique_ptr<weld::ScrolledWindow> xWindow,
18 std::unique_ptr<weld::Menu> xMenu);
19
20 virtual void showAllTemplates() override;
21
22 virtual bool KeyInput(const KeyEvent& rKEvt) override;
23
24 virtual bool MouseButtonDown(const MouseEvent& rMEvt) override;
25
26 void createContextMenu();
27};
28
29/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
TemplateDefaultView(std::unique_ptr< weld::ScrolledWindow > xWindow, std::unique_ptr< weld::Menu > xMenu)
virtual bool KeyInput(const KeyEvent &rKEvt) override
virtual void showAllTemplates() override
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override