1 // Copyright (C) 2021 CEA/DEN, EDF R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 /*=========================================================================
25 Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
28 ParaView is a free software; you can redistribute it and/or modify it
29 under the terms of the ParaView license version 1.2.
31 See License_v1.2.txt for the full ParaView license.
32 A copy of this license can be obtained by contacting
35 Clifton Park, NY 12065
38 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
39 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
40 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
41 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR
42 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
43 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
44 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
45 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
46 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
47 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
48 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
50 =========================================================================*/
52 #ifndef _MyViewActiveOptions_h
53 #define _MyViewActiveOptions_h
56 #include "pqActiveViewOptions.h"
58 class pqOptionsDialog;
61 class MyViewActiveOptions : public pqActiveViewOptions
66 /// Creates a MyView view options instance.
67 MyViewActiveOptions(QObject *parent=0);
68 virtual ~MyViewActiveOptions();
70 /// pqActiveViewOptions Methods
72 virtual void showOptions(pqView *view, const QString &page,
74 virtual void changeView(pqView *view);
75 virtual void closeOptions();
82 QPointer<pqOptionsDialog> Dialog;
83 QPointer<MyViewOptions> Options;