PYQT_LIBS = @PYQT_LIBS@
PYQT_INCLUDES = @PYQT_INCLUDES@
PYUIC = @PYUIC@
+PYQT_SIPFLAGS = @PYQT_SIPFLAGS@
# openGL
OGL_INCLUDES=@OGL_INCLUDES@
endif
# Sip flags
-SIP_FLAGS = -t WS_X11 -t $(QT_VERS) -s ".cc" -c . -I $(PYQT_SIPS)
+SIP_FLAGS = -t WS_X11 -t $(QT_VERS) $(PYQT_SIPFLAGS) -s ".cc" -c . -I $(PYQT_SIPS)
# Sip sources
ifeq ($(SIP_VERS),v4_old)
endif
# Sip flags
-SIP_FLAGS = -t WS_X11 -t $(QT_VERS) -s ".cc" -c . -I $(PYQT_SIPS)
+SIP_FLAGS = -t WS_X11 -t $(QT_VERS) $(PYQT_SIPFLAGS) -s ".cc" -c . -I $(PYQT_SIPS)
+
# Sip common sources
SIP_SRC = sipSalomePyQtSalomePyQt.cc \
sipSalomePyQtSALOME_Selection.cc \
Help = 7
};
-class QtxAction
+class QtxAction : QAction
{
%TypeHeaderCode
#include <QtxAction.h>
%End
-public:
- void setIconSet( const QIconSet& );
- QIconSet iconSet() const;
- void setText( const QString& );
- QString text() const;
- void setMenuText( const QString& );
- QString menuText() const;
- void setToolTip( const QString& );
- QString toolTip() const;
- void setStatusTip( const QString& );
- QString statusTip() const;
- void setWhatsThis( const QString& );
- QString whatsThis() const;
- void setAccel( const QKeySequence& );
- QKeySequence accel() const;
- void setToggleAction( bool );
- bool isToggleAction() const;
- bool isOn() const;
- bool isEnabled() const;
- bool isVisible() const;
-
-public slots:
- void activate();
- void toggle();
- void setOn( bool );
- void setEnabled( bool );
- void setDisabled( bool );
- void setVisible( bool );
-
-signals:
- void activated();
- void toggled( bool );
-
private:
QtxAction(const QtxAction &);
};
Help = 7
};
-class QtxAction
+class QtxAction : QAction
{
%TypeHeaderCode
#include <QtxAction.h>
%End
-public:
- void setIconSet( const QIconSet& );
- QIconSet iconSet() const;
- void setText( const QString& );
- QString text() const;
- void setMenuText( const QString& );
- QString menuText() const;
- void setToolTip( const QString& );
- QString toolTip() const;
- void setStatusTip( const QString& );
- QString statusTip() const;
- void setWhatsThis( const QString& );
- QString whatsThis() const;
- void setAccel( const QKeySequence& );
- QKeySequence accel() const;
- void setToggleAction( bool );
- bool isToggleAction() const;
- bool isOn() const;
- bool isEnabled() const;
- bool isVisible() const;
-
-public slots:
- void activate();
- void toggle();
- void setOn( bool );
- void setEnabled( bool );
- void setDisabled( bool );
- void setVisible( bool );
-
-signals:
- void activated();
- void toggled( bool );
-
private:
QtxAction(const QtxAction &);
};