1 // Copyright (C) 2010-2012 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.
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 #ifndef _pqMedReaderPanel_h
21 #define _pqMedReaderPanel_h
23 #include "pqNamedObjectPanel.h"
25 #include <QTreeWidget>
26 class pqTreeWidgetItemObject;
30 class pqMedReaderPanel: public pqNamedObjectPanel
33 typedef pqNamedObjectPanel Superclass;
36 pqMedReaderPanel(pqProxy* proxy, QWidget* p = NULL);
41 void animationModeChanged(int mode);
43 // void timeComboChanged(int timeStep);
48 /// populate widgets with properties from the server manager
49 virtual void linkServerManagerProperties();
60 void addSelectionsToTreeWidget(const QString& prop,
61 QTreeWidget* tree, PixmapType pix);
63 void addSelectionToTreeWidget(const QString& name,
64 const QString& realName, QTreeWidget* tree, PixmapType pix,
65 const QString& prop, int propIdx);
67 void setupAnimationModeWidget();
68 void updateAvailableTimes();