Back to index

salome-paravis  6.5.0
pqTableReaderPanel.h
Go to the documentation of this file.
00001 // Copyright (C) 2010-2012  CEA/DEN, EDF R&D
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 #ifndef _pqTableReaderPanel_h
00021 #define _pqTableReaderPanel_h
00022 
00023 #include "ui_TableReaderPanel.h"
00024 
00025 #include "pqNamedObjectPanel.h"
00026 
00027 class QSpinBox;
00028 
00029 class pqTableReaderPanel: public pqNamedObjectPanel
00030 {
00031 Q_OBJECT
00032   typedef pqNamedObjectPanel Superclass;
00033 public:
00034   // Constructor
00035   pqTableReaderPanel(pqProxy* proxy, QWidget* p = NULL);
00036 
00037   // Destructor
00038   ~pqTableReaderPanel();
00039 
00040 protected slots:
00041   void onDelimiterChanged(const QString& value);
00042   void onCurrentTableChanged(int currentTableIndex);
00043 
00044 protected:
00045   // Populate widgets with properties from the server manager
00046   virtual void linkServerManagerProperties();
00047 
00048   // Update the list with available table names
00049   void updateAvailableTables(const bool keepCurrent);
00050 
00051   class pqUI;
00052   pqUI* UI;
00053 };
00054 
00055 #endif
00056