Salome HOME
Modify default icon for the module
[modules/gui.git] / src / Qtx / QtxPopupMgr.h
index 351059861cc4fc6bfb86ef4f41fab4c26f688c75..1cca970c2221794860c40e17a0f4963dad89eda1 100644 (file)
@@ -20,13 +20,20 @@ class QTX_EXPORT QtxPopupMgr : public QtxActionMenuMgr
     Q_OBJECT
 
 public:
-    class Selection
+    class QTX_EXPORT Selection
     {
     public:
         virtual int      count() const = 0;
         virtual QtxValue param( const int, const QString& ) const = 0;
+             virtual QtxValue globalParam( const QString& ) const;
+
+             virtual QChar   equality() const;
+             virtual QString selCountParam() const;
+
+             static QChar    defEquality();
+             static QString  defSelCountParam();
     };
-    
+
 protected:
     class Operations : public QtxStrings
     {
@@ -68,8 +75,6 @@ public:
     void    setRule( const int, const QString&, bool visibility );
     void    updatePopup( QPopupMenu*, Selection* );
 
-    virtual QChar   equality() const;
-    virtual QString selCountParam() const;
     //return name of parameter corresponding to selected objects count
     //it will be set automatically