SHAPER  9.12.0
SHAPERGUI_NestedButton Class Reference
Inheritance diagram for SHAPERGUI_NestedButton:
Inheritance graph

Public Member Functions

 SHAPERGUI_NestedButton (QObject *theParent, const QList< QAction * > &theNestedActions)
 Constructor. More...
 

Protected Member Functions

virtual QWidgetcreateWidget (QWidget *theParent)
 Creates the button representation. More...
 
virtual bool event (QEvent *theEvent)
 

Detailed Description

Custom (nested) button in salome mode.

Constructor & Destructor Documentation

◆ SHAPERGUI_NestedButton()

SHAPERGUI_NestedButton::SHAPERGUI_NestedButton ( QObject theParent,
const QList< QAction * > &  theNestedActions 
)

Constructor.

Parameters
theParenta parent objects
theNestedActionsa list of nested actions

Member Function Documentation

◆ createWidget()

QWidget * SHAPERGUI_NestedButton::createWidget ( QWidget theParent)
protectedvirtual

Creates the button representation.

Parameters
theParenta parent widget