Back to index

salome-paravis  6.5.0
MyViewActiveOptions.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003    Program: ParaView
00004    Module:    $RCSfile: MyViewActiveOptions.h,v $
00005 
00006    Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
00007    All rights reserved.
00008 
00009    ParaView is a free software; you can redistribute it and/or modify it
00010    under the terms of the ParaView license version 1.2. 
00011 
00012    See License_v1.2.txt for the full ParaView license.
00013    A copy of this license can be obtained by contacting
00014    Kitware Inc.
00015    28 Corporate Drive
00016    Clifton Park, NY 12065
00017    USA
00018 
00019 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00020 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00021 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
00022 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR
00023 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00024 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00025 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
00026 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
00027 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
00028 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00029 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00030 
00031 =========================================================================*/
00032 
00033 #ifndef _MyViewActiveOptions_h
00034 #define _MyViewActiveOptions_h
00035 
00036 
00037 #include "pqActiveViewOptions.h"
00038 #include <QPointer>
00039 class pqOptionsDialog;
00040 class MyViewOptions;
00041 
00042 class MyViewActiveOptions : public pqActiveViewOptions
00043 {
00044   Q_OBJECT
00045 
00046 public:
00048   MyViewActiveOptions(QObject *parent=0);
00049   virtual ~MyViewActiveOptions();
00050 
00052 
00053   virtual void showOptions(pqView *view, const QString &page,
00054       QWidget *parent=0);
00055   virtual void changeView(pqView *view);
00056   virtual void closeOptions();
00058 
00059 protected slots:
00060   void finishDialog();
00061 
00062 protected:
00063   QPointer<pqOptionsDialog> Dialog;
00064   QPointer<MyViewOptions> Options;
00065 };
00066 
00067 #endif