-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
int createMenu( QAction*, const int, const int = -1, const int = -1, const int = -1 );
int createMenu( QAction*, const QString&, const int = -1, const int = -1, const int = -1 );
+ virtual void logAction( QAction* );
+ bool isActionLoggingEnabled() const;
+ void setActionLoggingEnabled( bool );
+
static QAction* separator();
public slots:
virtual void onApplicationClosed( SUIT_Application* );
+ virtual void moduleActionActivated();
+
private slots:
void onInfoChanged( QString );
QMap<int, QAction*> myActionMap; //!< menu actions
bool myMenuShown; //!< menu shown flag
bool myToolShown; //!< tool shown flag
+ bool myActionLoggingEnabled; //!< action logging enabled
friend class CAM_Application;
};