X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDReader%2FParaViewPlugin%2FVectBoolWidget.h;h=073018d12771af19e4777d16bc056425902d1905;hb=9219bccd6fc4782b443ca82522974c0b3327440c;hp=74b8a47c63966935ddc647aa21ab8ac7eed0cd1b;hpb=d170abf6cb7fa44827057ce004760d1ef45d9f2d;p=modules%2Fparavis.git diff --git a/src/Plugins/MEDReader/ParaViewPlugin/VectBoolWidget.h b/src/Plugins/MEDReader/ParaViewPlugin/VectBoolWidget.h index 74b8a47c..073018d1 100644 --- a/src/Plugins/MEDReader/ParaViewPlugin/VectBoolWidget.h +++ b/src/Plugins/MEDReader/ParaViewPlugin/VectBoolWidget.h @@ -1,9 +1,9 @@ -// Copyright (C) 2010-2014 CEA/DEN, EDF R&D +// Copyright (C) 2010-2016 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -23,6 +23,7 @@ #include #include +#include class QSlider; class QGroupBox; @@ -71,11 +72,11 @@ public: ~VectBoolWidget(); int getNumberOfBoolItems() const; void setItems(const QStringList& dts, const QStringList& its, const QStringList& tts); - const QVector& getItems() const { return _items; } + const QMap& getItems() const { return _items; } private: static int GetMaxTickValueOfSlider(int val); private: - QVector _items; + QMap _items; QHBoxLayout *_horizontal_layout; QFrame *_spreadsheet_container; QGridLayout *_grid_layout;