LibreOffice Module dbaccess (master) 1
JoinDesignView.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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
22#include <dbaccess/dataview.hxx>
23
24class Splitter;
25
26namespace dbaui
27{
28 class OJoinController;
29 class OScrollWindowHelper;
30 class OJoinTableView;
31 class OTableWindow;
32
34 {
35 protected:
36 VclPtr<OScrollWindowHelper> m_pScrollWindow; // contains only the scrollbars
37 VclPtr<OJoinTableView> m_pTableView; // presents the upper window
39
40 public:
42 OJoinController& _rController,
43 const css::uno::Reference< css::uno::XComponentContext >& );
44 virtual ~OJoinDesignView() override;
45 virtual void dispose() override;
46
47 // set the view readonly or not
48 virtual void setReadOnly(bool _bReadOnly);
49 // set the statement for representation
51 virtual void Construct() override;
52 virtual void initialize() override;
53 virtual void KeyInput( const KeyEvent& rEvt ) override;
54
55 void SaveTabWinUIConfig(OTableWindow const * pWin);
57 // called when fields are deleted
58
61 protected:
62 // return the Rectangle where I can paint myself
63 virtual void resizeDocumentView(tools::Rectangle& rRect) override;
64 };
65}
66
67
68/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void SaveTabWinUIConfig(OTableWindow const *pWin)
OScrollWindowHelper * getScrollHelper() const
VclPtr< OJoinTableView > m_pTableView
OJoinController & m_rController
OJoinDesignView(vcl::Window *pParent, OJoinController &_rController, const css::uno::Reference< css::uno::XComponentContext > &)
virtual void initialize() override
VclPtr< OScrollWindowHelper > m_pScrollWindow
virtual void KeyInput(const KeyEvent &rEvt) override
OJoinTableView * getTableView() const
virtual void Construct() override
late construction
virtual void dispose() override
OJoinController & getController() const
virtual ~OJoinDesignView() override
virtual void setReadOnly(bool _bReadOnly)
virtual void resizeDocumentView(tools::Rectangle &rRect) override