X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FNewGeom%2FNewGeom_NestedButton.h;h=69d8bc2979572d682f2961095a574012608cb397;hb=a5746a7f8fd8bcd555fb16f98e312c86ca1210da;hp=7be12d4912539e47678979a453898ff2035ddd7f;hpb=4e9ce2a95c42fc2c33c8d7de75c26f2208bf73b7;p=modules%2Fshaper.git diff --git a/src/NewGeom/NewGeom_NestedButton.h b/src/NewGeom/NewGeom_NestedButton.h index 7be12d491..69d8bc297 100644 --- a/src/NewGeom/NewGeom_NestedButton.h +++ b/src/NewGeom/NewGeom_NestedButton.h @@ -23,16 +23,22 @@ class NewGeom_NestedButton : public QWidgetAction { Q_OBJECT public: - NewGeom_NestedButton(QObject *parent, const QList& theNestedActions); + /// Constructor + /// \param theParent a parent objects + /// \param theNestedActions a list of nested actions + NewGeom_NestedButton(QObject* theParent, const QList& theNestedActions); virtual ~NewGeom_NestedButton(); - public slots: + private slots: /// Shows/hides the additional buttons widget void showAdditionalButtons(bool); + + /// Slot called on action state void actionStateChanged(); protected: /// Creates the button representation + /// \param theParent a parent widget virtual QWidget * createWidget(QWidget * theParent); private: