File - Import: Add "Import Pressure Depth Data"

* #9944 Add "Import Pressure Depth Data"  to import menu
Remove obsolete *InMenuFeatures and set all actions in menu to enabled when the signal aboutToShow() is triggered. This is useful for menus where no selection/context is available.
* Use RiaApplication::enableDevelopmentFeatures() to control visibility
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2023-03-10 13:20:39 +01:00
1 parent 07a4c13dd4
commit 74fa621332
10 files changed
+39 -219

No files matched your search

+4 -1
View File
@@ -20,8 +20,11 @@
#include "qnamespace.h"
class QMenu;
class QObject;
namespace RiuTools
{
Qt::WindowFlags defaultDialogFlags();
void applyGuiTheme();
void enableAllActionsOnShow( QObject* object, QMenu* menu );
} // end namespace RiuTools