-// LIGHT : sample (no-corba-engine) SALOME module
-//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// Copyright (C) 2005-2008 OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+// LIGHT : sample (no-corba-engine) SALOME module
+// File : LIGHTGUI_Selection.h
+// Author : Julia DOROVSKIKH
//
-// Author : Julia DOROVSKIKH
-// Date : 01/01/2005
-// $Header$
-
#ifndef LIGHTGUI_SELECTION_H
#define LIGHTGUI_SELECTION_H
-#include <QtxPopupMgr.h>
#include <LightApp_Selection.h>
+#include <QVariant>
class LightApp_SelectionMgr;
class LIGHTGUI_Selection : public LightApp_Selection
{
public:
- LIGHTGUI_Selection ();
- virtual ~LIGHTGUI_Selection ();
+ LIGHTGUI_Selection();
+ virtual ~LIGHTGUI_Selection();
- virtual void init( const QString&, LightApp_SelectionMgr* );
- virtual int count () const;
- virtual QtxValue param ( const int, const QString& ) const;
+ QVariant parameter( const int, const QString& ) const;
private:
- QStringList myTypes;
+ QString type( const int ) const;
+ bool isEmpty( const int ) const;
+ bool isVisible( const int ) const;
+
+ int lineNb( const QString& ) const;
};
#endif // LIGHTGUI_SELECTION_H